MythTV  master
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cCiMMI Class Reference
Inheritance diagram for cCiMMI:
Inheritance graph
[legend]
Collaboration diagram for cCiMMI:
Collaboration graph
[legend]

Public Member Functions

 cCiMMI (int SessionId, cCiTransportConnection *Tc)
 
 ~cCiMMI () override
 
bool Process (int Length=0, const uint8_t *Data=nullptr) override
 
bool HasUserIO (void) override
 
cCiMenuMenu (void)
 
cCiEnquiryEnquiry (void)
 
bool SendMenuAnswer (uint8_t Selection)
 
bool SendAnswer (const char *Text)
 
- Public Member Functions inherited from cCiSession
 cCiSession (int SessionId, int ResourceId, cCiTransportConnection *Tc)
 
virtual ~cCiSession ()=default
 
const cCiTransportConnectionTc (void)
 
int SessionId (void)
 
int ResourceId (void)
 

Private Member Functions

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

Private Attributes

cCiMenumenu
 
cCiEnquiryenquiry
 

Additional Inherited Members

- Protected Member Functions inherited from cCiSession
int GetTag (int &Length, const uint8_t **Data)
 
const uint8_t * GetData (const uint8_t *Data, int &Length)
 
int SendData (int Tag, int Length=0, const uint8_t *Data=nullptr)
 

Detailed Description

Definition at line 1207 of file dvbci.cpp.

Constructor & Destructor Documentation

◆ cCiMMI()

cCiMMI::cCiMMI ( int  SessionId,
cCiTransportConnection Tc 
)

Definition at line 1223 of file dvbci.cpp.

◆ ~cCiMMI()

cCiMMI::~cCiMMI ( )
override

Definition at line 1231 of file dvbci.cpp.

Member Function Documentation

◆ GetText()

char * cCiMMI::GetText ( int &  Length,
const uint8_t **  Data 
)
private
Parameters
DataGets the text at Data.
[in,out]LengthThe number of bytes to copy from Data. Updated for the size of the string read.
[in,out]DataA pointer to current location for reading data. Updated for the size of the string read.
Returns
Returns a pointer to a newly allocated string, or nullptr in case of error. Upon return Length and Data represent the remaining data after the text has been skipped.

Definition at line 1237 of file dvbci.cpp.

Referenced by Process().

◆ Process()

bool cCiMMI::Process ( int  Length = 0,
const uint8_t *  Data = nullptr 
)
overridevirtual

Reimplemented from cCiSession.

Definition at line 1256 of file dvbci.cpp.

◆ HasUserIO()

bool cCiMMI::HasUserIO ( void  )
inlineoverridevirtual

Reimplemented from cCiSession.

Definition at line 1216 of file dvbci.cpp.

◆ Menu()

cCiMenu * cCiMMI::Menu ( void  )

Definition at line 1353 of file dvbci.cpp.

Referenced by cLlCiHandler::GetMenu().

◆ Enquiry()

cCiEnquiry * cCiMMI::Enquiry ( void  )

Definition at line 1360 of file dvbci.cpp.

Referenced by cLlCiHandler::GetEnquiry().

◆ SendMenuAnswer()

bool cCiMMI::SendMenuAnswer ( uint8_t  Selection)

Definition at line 1367 of file dvbci.cpp.

Referenced by cCiMenu::Select().

◆ SendAnswer()

bool cCiMMI::SendAnswer ( const char *  Text)

Definition at line 1375 of file dvbci.cpp.

Referenced by cCiEnquiry::Reply().

Member Data Documentation

◆ menu

cCiMenu* cCiMMI::menu
private

Definition at line 1210 of file dvbci.cpp.

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

◆ enquiry

cCiEnquiry* cCiMMI::enquiry
private

Definition at line 1211 of file dvbci.cpp.

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


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