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 1227 of file dvbci.cpp.

Constructor & Destructor Documentation

◆ cCiMMI()

cCiMMI::cCiMMI ( int  SessionId,
cCiTransportConnection Tc 
)

Definition at line 1243 of file dvbci.cpp.

◆ ~cCiMMI()

cCiMMI::~cCiMMI ( )
override

Definition at line 1251 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 1257 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 1276 of file dvbci.cpp.

◆ HasUserIO()

bool cCiMMI::HasUserIO ( void  )
inlineoverridevirtual

Reimplemented from cCiSession.

Definition at line 1236 of file dvbci.cpp.

◆ Menu()

cCiMenu * cCiMMI::Menu ( void  )

Definition at line 1373 of file dvbci.cpp.

Referenced by cLlCiHandler::GetMenu().

◆ Enquiry()

cCiEnquiry * cCiMMI::Enquiry ( void  )

Definition at line 1380 of file dvbci.cpp.

Referenced by cLlCiHandler::GetEnquiry().

◆ SendMenuAnswer()

bool cCiMMI::SendMenuAnswer ( uint8_t  Selection)

Definition at line 1387 of file dvbci.cpp.

Referenced by cCiMenu::Select().

◆ SendAnswer()

bool cCiMMI::SendAnswer ( const char *  Text)

Definition at line 1400 of file dvbci.cpp.

Referenced by cCiEnquiry::Reply().

Member Data Documentation

◆ m_menu

cCiMenu* cCiMMI::m_menu
private

Definition at line 1230 of file dvbci.cpp.

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

◆ m_enquiry

cCiEnquiry* cCiMMI::m_enquiry
private

Definition at line 1231 of file dvbci.cpp.

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


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