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 ()
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 43 of file CCollector.h.


Constructor & Destructor Documentation

CCollector::CCollector ( TInt  aPriority = EPriorityStandard  ) 

Constructor

Definition at line 50 of file CCollector.cpp.


Member Function Documentation

void CCollector::RunL (  )  [virtual]

Store the characters input by the user in a buffer.

Definition at line 110 of file CCollector.cpp.

void CCollector::RequestFunction (  ) 

Request for user input.

Definition at line 101 of file CCollector.cpp.

void CCollector::Stop (  ) 

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

Definition at line 146 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 69 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 123 of file CCollector.cpp.

void CCollector::StartRecieving (  ) 

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

Definition at line 165 of file CCollector.cpp.

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

The following function sends the message to InverterInQ.

Definition at line 173 of file CCollector.cpp.


Generated by  doxygen 1.6.2