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) const
 
int ResourceId (void) const
 

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)
 
int SendData (int Tag, std::vector< uint8_t > &Data)
 
- 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 1247 of file dvbci.cpp.

Constructor & Destructor Documentation

◆ cCiMMI()

cCiMMI::cCiMMI ( int  SessionId,
cCiTransportConnection Tc 
)

Definition at line 1263 of file dvbci.cpp.

◆ ~cCiMMI()

cCiMMI::~cCiMMI ( )
override

Definition at line 1271 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 1277 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 1296 of file dvbci.cpp.

◆ HasUserIO()

bool cCiMMI::HasUserIO ( void  )
inlineoverridevirtual

Reimplemented from cCiSession.

Definition at line 1256 of file dvbci.cpp.

◆ Menu()

cCiMenu * cCiMMI::Menu ( void  )

Definition at line 1393 of file dvbci.cpp.

Referenced by cLlCiHandler::GetMenu().

◆ Enquiry()

cCiEnquiry * cCiMMI::Enquiry ( void  )

Definition at line 1400 of file dvbci.cpp.

Referenced by cLlCiHandler::GetEnquiry().

◆ SendMenuAnswer()

bool cCiMMI::SendMenuAnswer ( uint8_t  Selection)

Definition at line 1407 of file dvbci.cpp.

Referenced by cCiMenu::Select().

◆ SendAnswer()

bool cCiMMI::SendAnswer ( const char *  Text)

Definition at line 1420 of file dvbci.cpp.

Referenced by cCiEnquiry::Reply().

Member Data Documentation

◆ m_menu

cCiMenu* cCiMMI::m_menu
private

Definition at line 1250 of file dvbci.cpp.

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

◆ m_enquiry

cCiEnquiry* cCiMMI::m_enquiry
private

Definition at line 1251 of file dvbci.cpp.

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


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