diff -r 89d6a7a84779 -r 25a17d01db0c Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_collector.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/Examples/guid-6013a680-57f9-415b-8851-c4fa63356636/class_c_collector.html Fri Jan 22 18:26:19 2010 +0000 @@ -0,0 +1,251 @@ + + +TB10.1 Example Applications: CCollector Class Reference + + + + +

CCollector Class Reference

+

+List of all members. + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Public Types

enum  TRequestType { ECount, +EStop + }

Public Member Functions

 CCollector (TInt aPriority=EPriorityStandard)
+virtual void DoCancel ()
virtual void RunL ()
void RequestFunction ()
void Stop ()
+virtual ~CCollector ()
void ConstructL ()
void ProcessKeyPress (TChar aChar)
void StartRecieving ()
void SendMsgInQ (TBuf< 100 >)

Static Public Member Functions

+static CCollectorNewL (TInt aPriority=EPriorityStandard)
+


Detailed Description

+ +

Definition at line 28 of file CCollector.h.

+

Member Enumeration Documentation

+ +
+
+ + + + +
enum CCollector::TRequestType
+
+
+ +

+

Enumerator:
+ + + +
ECount  +
EStop  +
+
+ +

Definition at line 31 of file CCollector.h.

+ +
+

+


Constructor & Destructor Documentation

+ +
+
+ + + + + + + + + +
CCollector::CCollector (TInt  aPriority = EPriorityStandard  ) 
+
+
+ +

+Constructor +

Definition at line 35 of file CCollector.cpp.

+ +
+

+


Member Function Documentation

+ +
+
+ + + + + + + + +
void CCollector::RunL (  )  [virtual]
+
+
+ +

+Store the characters input by the user in a buffer. +

Definition at line 95 of file CCollector.cpp.

+ +
+

+ +

+
+ + + + + + + + +
void CCollector::RequestFunction (  ) 
+
+
+ +

+Request for user input. +

Definition at line 86 of file CCollector.cpp.

+ +
+

+ +

+
+ + + + + + + + +
void CCollector::Stop (  ) 
+
+
+ +

+The following function sends the stop message to the inverter via the message queue. +

Definition at line 131 of file CCollector.cpp.

+ +
+

+ +

+
+ + + + + + + + +
void CCollector::ConstructL (  ) 
+
+
+ +

+The constructor creates a console for requesting words from the user, creates two global message queues, starts the other process named Inverter.exe and create another active object to recieve words from the inverter. +

Definition at line 54 of file CCollector.cpp.

+ +
+

+ +

+
+ + + + + + + + + +
void CCollector::ProcessKeyPress (TChar  aChar  ) 
+
+
+ +

+The following function processes the key pressed by the user, stores in a buffer and sends the data to the inverter via collector. +

Definition at line 108 of file CCollector.cpp.

+ +
+

+ +

+
+ + + + + + + + +
void CCollector::StartRecieving (  ) 
+
+
+ +

+The following function calls the asynchronous request to recieve the words from the inverter. +

Definition at line 150 of file CCollector.cpp.

+ +
+

+ +

+
+ + + + + + + + + +
void CCollector::SendMsgInQ (TBuf< 100 >  buf  ) 
+
+
+ +

+The following function sends the message to InverterInQ. +

Definition at line 158 of file CCollector.cpp.

+ +
+

+


Generated on Thu Jan 21 10:33:03 2010 for TB10.1 Example Applications by  + +doxygen 1.5.3
+ +