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

cCiMenum_menu
 
cCiEnquirym_enquiry
 

Additional Inherited Members

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

Detailed Description

Definition at line 1203 of file dvbci.cpp.

Constructor & Destructor Documentation

◆ cCiMMI()

cCiMMI::cCiMMI ( int  SessionId,
cCiTransportConnection Tc 
)

Definition at line 1219 of file dvbci.cpp.

◆ ~cCiMMI()

cCiMMI::~cCiMMI ( )
override

Definition at line 1227 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 1233 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 1252 of file dvbci.cpp.

◆ HasUserIO()

bool cCiMMI::HasUserIO ( void  )
inlineoverridevirtual

Reimplemented from cCiSession.

Definition at line 1212 of file dvbci.cpp.

◆ Menu()

cCiMenu * cCiMMI::Menu ( void  )

Definition at line 1349 of file dvbci.cpp.

◆ Enquiry()

cCiEnquiry * cCiMMI::Enquiry ( void  )

Definition at line 1356 of file dvbci.cpp.

◆ SendMenuAnswer()

bool cCiMMI::SendMenuAnswer ( uint8_t  Selection)

Definition at line 1363 of file dvbci.cpp.

Referenced by cCiMenu::Select().

◆ SendAnswer()

bool cCiMMI::SendAnswer ( const char *  Text)

Definition at line 1371 of file dvbci.cpp.

Referenced by cCiEnquiry::Reply().

Member Data Documentation

◆ m_menu

cCiMenu* cCiMMI::m_menu
private

Definition at line 1206 of file dvbci.cpp.

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

◆ m_enquiry

cCiEnquiry* cCiMMI::m_enquiry
private

Definition at line 1207 of file dvbci.cpp.

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


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