cCiMMI Class Reference

Inheritance diagram for cCiMMI:

Inheritance graph
[legend]
Collaboration diagram for cCiMMI:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cCiMMI (uint16_t SessionId, cCiTransportConnection *Tc)
virtual ~cCiMMI ()
virtual bool Process (int Length=0, const uint8_t *Data=NULL)
virtual bool HasUserIO (void)
cCiMenuMenu (bool Clear=false)
cCiEnquiryEnquiry (bool Clear=false)
bool SendMenuAnswer (uint8_t Selection)
bool SendAnswer (const char *Text)
bool SendCloseMMI (void)

Private Member Functions

char * GetText (int &Length, const uint8_t **Data)

Private Attributes

cCiMenumenu
cCiMenufetchedMenu
cCiEnquiryenquiry
cCiEnquiryfetchedEnquiry


Detailed Description

Definition at line 1192 of file ci.c.


Constructor & Destructor Documentation

cCiMMI::cCiMMI ( uint16_t  SessionId,
cCiTransportConnection Tc 
)

Definition at line 1209 of file ci.c.

References dbgprotocol, enquiry, fetchedEnquiry, fetchedMenu, and menu.

cCiMMI::~cCiMMI (  )  [virtual]

Definition at line 1217 of file ci.c.

References enquiry, fetchedEnquiry, fetchedMenu, menu, cCiEnquiry::mmi, cCiMenu::mmi, cCiEnquiry::mutex, and cCiMenu::mutex.


Member Function Documentation

char * cCiMMI::GetText ( int &  Length,
const uint8_t **  Data 
) [private]

Parameters:
Data  Gets the text at Data.
Returns:
Returns a pointer to a newly allocated string, or NULL in case of error. Upon return Length and Data represent the remaining data after the text has been skipped.

Definition at line 1231 of file ci.c.

References AOT_TEXT_LAST, dbgprotocol, esyslog, GetString(), cCiSession::GetTag(), and cCiSession::SessionId().

Referenced by Process().

Here is the call graph for this function:

bool cCiMMI::Process ( int  Length = 0,
const uint8_t *  Data = NULL 
) [virtual]

Reimplemented from cCiSession.

Definition at line 1247 of file ci.c.

References cCiMenu::AddEntry(), AOT_CLOSE_MMI, AOT_DISPLAY_CONTROL, AOT_DISPLAY_REPLY, AOT_ENQ, AOT_LIST_LAST, AOT_MENU_LAST, cCiEnquiry::blind, cCiMenu::bottomText, CopyString(), dbgprotocol, DCC_SET_MMI_MODE, DRI_MMI_MODE_ACK, EF_BLIND, enquiry, esyslog, cCiEnquiry::expectedLength, cCiSession::GetData(), cCiSession::GetTag(), GetText(), menu, MM_HIGH_LEVEL, cCiSession::SendData(), cCiSession::SessionId(), cCiMenu::subTitleText, cCiEnquiry::text, and cCiMenu::titleText.

Here is the call graph for this function:

virtual bool cCiMMI::HasUserIO ( void   )  [inline, virtual]

Reimplemented from cCiSession.

Definition at line 1201 of file ci.c.

Referenced by cCiMenu::HasUpdate().

cCiMenu * cCiMMI::Menu ( bool  Clear = false  ) 

Definition at line 1336 of file ci.c.

References fetchedMenu, and menu.

Referenced by cCiHandler::GetMenu(), and cCiMenu::~cCiMenu().

cCiEnquiry * cCiMMI::Enquiry ( bool  Clear = false  ) 

Definition at line 1347 of file ci.c.

References enquiry, and fetchedEnquiry.

Referenced by cCiHandler::GetEnquiry(), and cCiEnquiry::~cCiEnquiry().

bool cCiMMI::SendMenuAnswer ( uint8_t  Selection  ) 

Definition at line 1358 of file ci.c.

References AOT_MENU_ANSW, dbgprotocol, cCiSession::SendData(), and cCiSession::SessionId().

Referenced by cCiMenu::Select().

Here is the call graph for this function:

bool cCiMMI::SendAnswer ( const char *  Text  ) 

Definition at line 1366 of file ci.c.

References AI_ANSWER, AI_CANCEL, AOT_ANSW, dbgprotocol, cCiSession::SendData(), and cCiSession::SessionId().

Referenced by cCiEnquiry::Reply().

Here is the call graph for this function:

bool cCiMMI::SendCloseMMI ( void   ) 

Definition at line 1379 of file ci.c.

References AOT_CLOSE_MMI, dbgprotocol, cCiSession::SendData(), and cCiSession::SessionId().

Referenced by cCiEnquiry::Abort(), and cCiMenu::Abort().

Here is the call graph for this function:


Member Data Documentation

cCiMenu* cCiMMI::menu [private]

Definition at line 1195 of file ci.c.

Referenced by cCiMMI(), Menu(), Process(), and ~cCiMMI().

cCiMenu * cCiMMI::fetchedMenu [private]

Definition at line 1195 of file ci.c.

Referenced by cCiMMI(), Menu(), and ~cCiMMI().

cCiEnquiry* cCiMMI::enquiry [private]

Definition at line 1196 of file ci.c.

Referenced by cCiMMI(), Enquiry(), Process(), and ~cCiMMI().

cCiEnquiry * cCiMMI::fetchedEnquiry [private]

Definition at line 1196 of file ci.c.

Referenced by cCiMMI(), Enquiry(), and ~cCiMMI().


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:06:15 2007 for VDR by  doxygen 1.5.3-20071008