CUserInterface Class Reference

List of all members.

Public Member Functions

void Initialize (CConsoleBase *aConsole, CTimerEntry *aTimerEntry)
void RunL ()
void DoCancel ()
 ~CUserInterface ()
void ReadFunc ()
void Initialize (CConsoleBase *aConsole, CProducer *aProducer)
void RunL ()
void DoCancel ()
void ReadFunc ()

Static Public Member Functions

static CUserInterfaceNewL (CConsoleBase *aConsole, CTimerEntry *aTimerEntry)
static CUserInterfaceNewL (CConsoleBase *aConsole, CProducer *aProducer)

Detailed Description

This class processes key press events from the console. The example prints a menu and waits for the user to select an option from the menu. The CUserInterface::RunL() function handles the asynchronous key press event.

Definition at line 43 of file userinterface.h.


Constructor & Destructor Documentation

CUserInterface::~CUserInterface (  ) 

Member Function Documentation

CUserInterface * CUserInterface::NewL ( CConsoleBase *  aConsole,
CTimerEntry aTimerEntry 
) [static]

The static function to create an object of the CUserInterface class.

Parameters:
aConsole The console object.
aTimerEntry A pointer to an object of the CTimerEntry class.
Returns:
A CUserInterface object.

Definition at line 44 of file userinterface.cpp.

void CUserInterface::Initialize ( CConsoleBase *  aConsole,
CTimerEntry aTimerEntry 
)

Initialize the data members of the CUserInterface class.

Parameters:
aConsole The console object.
aTimerEntry A pointer to an object of the CTimerEntry class.

Definition at line 56 of file userinterface.cpp.

void CUserInterface::RunL (  ) 
void CUserInterface::DoCancel (  ) 
void CUserInterface::ReadFunc (  ) 
CUserInterface * CUserInterface::NewL ( CConsoleBase *  aConsole,
CProducer aProducer 
) [static]

The static function to create an object of the CUserInterface class.

Parameters:
aConsole The console object.
aProducer A pointer to an object of the CProducer class.
aConsumer A pointer to an object of the CConsumer class.
Returns:
A CUserInterface object.

Definition at line 45 of file userinterface.cpp.

void CUserInterface::Initialize ( CConsoleBase *  aConsole,
CProducer aProducer 
)

Initialize the data members of the CUserInterface class.

Parameters:
aConsole The console object.
aProducer A pointer to an object of the CProducer class.
aConsumer A pointer to an object of the CConsumer class.

Definition at line 58 of file userinterface.cpp.


Generated by  doxygen 1.6.2