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 void Process (int Length=0, const uint8_t *Data=NULL)
virtual bool HasUserIO (void)
cCiMenuMenu (bool Clear=false)
cCiEnquiryEnquiry (bool Clear=false)
void 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 908 of file ci.c.


Constructor & Destructor Documentation

cCiMMI::cCiMMI ( uint16_t  SessionId,
cCiTransportConnection Tc 
)

Definition at line 925 of file ci.c.

References cCiTransportConnection::CamSlot(), dbgprotocol, enquiry, fetchedEnquiry, fetchedMenu, menu, and cCamSlot::SlotNumber().

Here is the call graph for this function:

cCiMMI::~cCiMMI (  )  [virtual]


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 947 of file ci.c.

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

Referenced by Process().

Here is the call graph for this function:

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

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

Reimplemented from cCiSession.

Definition at line 917 of file ci.c.

Referenced by cCiMenu::HasUpdate().

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

Definition at line 1049 of file ci.c.

References fetchedMenu, and menu.

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

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

Definition at line 1060 of file ci.c.

References enquiry, and fetchedEnquiry.

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

void cCiMMI::SendMenuAnswer ( uint8_t  Selection  ) 

Definition at line 1071 of file ci.c.

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

Referenced by cCiMenu::Select().

Here is the call graph for this function:

bool cCiMMI::SendAnswer ( const char *  Text  ) 

Definition at line 1077 of file ci.c.

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

Referenced by cCiEnquiry::Reply().

Here is the call graph for this function:

bool cCiMMI::SendCloseMMI ( void   ) 

Definition at line 1089 of file ci.c.

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

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 911 of file ci.c.

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

Definition at line 911 of file ci.c.

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

Definition at line 912 of file ci.c.

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

Definition at line 912 of file ci.c.

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


The documentation for this class was generated from the following file:

Generated on Tue Jan 13 14:27:41 2009 for VDR by  doxygen 1.5.6