CBaseMenuAsync Class Reference

Inherits MExecAsync.

Inherited by CMainMenu, CMainMenu, CMainMenu, CMainMenu, CMainMenu, and CMainMenu.

List of all members.

Public Member Functions

void Start ()
void CompleteOwnRequest (TInt aErr)
void PostOwnRequest ()
virtual void Terminate ()

Protected Member Functions

 CBaseMenuAsync (CConsoleBase &aConsole)
void GetInput ()
CTelephony * GetTelObj () const
CConsoleBase * GConsole () const
virtual void DoCancel ()=0
void ConstructL ()

Protected Attributes

TState iState
CTelephony * iTelephony
CISVAPIBaseiLastOperation
CConsoleBase * iConsole

Detailed Description

Base Class providing functionality for and control of Etel 3rd Party Instances. Also controls user input and handles displaying information to the user.

Definition at line 47 of file CBaseMenuAsync.h.


Constructor & Destructor Documentation

CBaseMenuAsync::CBaseMenuAsync ( CConsoleBase &  aConsole  )  [protected]

Constructor.

Parameters:
aConsole Reference to console object to which output will be displayed

Definition at line 81 of file CBaseMenuAsync.cpp.


Member Function Documentation

void CBaseMenuAsync::Start (  ) 

Starts (this) active object making it active so it can take input and perform required functionality.

Definition at line 51 of file CBaseMenuAsync.cpp.

void CBaseMenuAsync::CompleteOwnRequest ( TInt  aErr  ) 

Completes a request so that the RunL() code of the active object is executed.

Parameters:
aErr The error code to pass to User::RequestComplete().

Definition at line 39 of file CBaseMenuAsync.cpp.

void CBaseMenuAsync::PostOwnRequest (  ) 

Sets its own status to KRequestPending.

Definition at line 61 of file CBaseMenuAsync.cpp.

void CBaseMenuAsync::Terminate (  )  [virtual]

Ends execution of the active object.

Implements MExecController.

Definition at line 69 of file CBaseMenuAsync.cpp.

void CBaseMenuAsync::GetInput (  )  [protected]

Places a request for input to the console, reads the input character from the keypad (keyboard etc.)

Definition at line 93 of file CBaseMenuAsync.cpp.

CTelephony * CBaseMenuAsync::GetTelObj (  )  const [protected, virtual]

Returns a pointer to object pointed to by iTelephony.

Returns:
Pointer to CTelephony object used to make ETel ISV calls

Implements MExecController.

Definition at line 91 of file CBaseMenuAsync.h.

CConsoleBase * CBaseMenuAsync::GConsole (  )  const [protected, virtual]

Returns a pointer to object pointed to by iConsole.

Returns:
Pointer to CConsoleBase object used to display output

Implements MExecController.

Definition at line 101 of file CBaseMenuAsync.h.

void CBaseMenuAsync::ConstructL (  )  [protected]

Second phase constructor.

Definition at line 104 of file CBaseMenuAsync.cpp.


Member Data Documentation

TState CBaseMenuAsync::iState [protected]

The current operating state of the active object.

Definition at line 70 of file CBaseMenuAsync.h.

CTelephony* CBaseMenuAsync::iTelephony [protected]

CTelephony Instance used by all member active objects to make calls to ETel ISV.

Definition at line 75 of file CBaseMenuAsync.h.

Active object to perform next operations on.

Definition at line 79 of file CBaseMenuAsync.h.

CConsoleBase* CBaseMenuAsync::iConsole [protected]

Console instance.

Definition at line 83 of file CBaseMenuAsync.h.


Generated by  doxygen 1.6.2