MythTV master
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cCiMMI Class Reference
Inheritance diagram for cCiMMI:
[legend]
Collaboration diagram for cCiMMI:
[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
 
virtual bool HasUserIO (void)
 
virtual bool Process (int Length=0, const uint8_t *Data=nullptr)
 

Private Member Functions

std::string 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 1245 of file dvbci.cpp.

Constructor & Destructor Documentation

◆ cCiMMI()

cCiMMI::cCiMMI ( int  SessionId,
cCiTransportConnection Tc 
)

Definition at line 1261 of file dvbci.cpp.

◆ ~cCiMMI()

cCiMMI::~cCiMMI ( )
override

Definition at line 1269 of file dvbci.cpp.

Member Function Documentation

◆ Enquiry()

cCiEnquiry * cCiMMI::Enquiry ( void  )

Definition at line 1398 of file dvbci.cpp.

Referenced by cLlCiHandler::GetEnquiry().

◆ GetText()

std::string 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 1275 of file dvbci.cpp.

Referenced by Process().

◆ HasUserIO()

bool cCiMMI::HasUserIO ( void  )
inlineoverridevirtual

Reimplemented from cCiSession.

Definition at line 1254 of file dvbci.cpp.

◆ Menu()

cCiMenu * cCiMMI::Menu ( void  )

Definition at line 1391 of file dvbci.cpp.

Referenced by cLlCiHandler::GetMenu().

◆ Process()

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

Reimplemented from cCiSession.

Definition at line 1294 of file dvbci.cpp.

◆ SendAnswer()

bool cCiMMI::SendAnswer ( const char *  Text)

Definition at line 1418 of file dvbci.cpp.

Referenced by cCiEnquiry::Reply().

◆ SendMenuAnswer()

bool cCiMMI::SendMenuAnswer ( uint8_t  Selection)

Definition at line 1405 of file dvbci.cpp.

Referenced by cCiMenu::Select().

Member Data Documentation

◆ m_enquiry

cCiEnquiry* cCiMMI::m_enquiry
private

Definition at line 1249 of file dvbci.cpp.

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

◆ m_menu

cCiMenu* cCiMMI::m_menu
private

Definition at line 1248 of file dvbci.cpp.

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


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