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

Public Member Functions

 cCiSession (int SessionId, int ResourceId, cCiTransportConnection *Tc)
 
virtual ~cCiSession ()=default
 
const cCiTransportConnectionTc (void)
 
int SessionId (void)
 
int ResourceId (void)
 
virtual bool HasUserIO (void)
 
virtual bool Process (int Length=0, const uint8_t *Data=nullptr)
 

Protected Member Functions

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)
 

Private Attributes

int sessionId
 
int resourceId
 
cCiTransportConnectionm_tc
 

Detailed Description

Definition at line 746 of file dvbci.cpp.

Constructor & Destructor Documentation

◆ cCiSession()

cCiSession::cCiSession ( int  SessionId,
int  ResourceId,
cCiTransportConnection Tc 
)

Definition at line 765 of file dvbci.cpp.

◆ ~cCiSession()

virtual cCiSession::~cCiSession ( )
virtualdefault

Member Function Documentation

◆ GetTag()

int cCiSession::GetTag ( int &  Length,
const uint8_t **  Data 
)
protected
Parameters
DataGets the tag 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 the actual tag, or AOT_NONE in case of error. Upon return Length and Data represent the remaining data after the tag has been skipped.

Definition at line 772 of file dvbci.cpp.

Referenced by cCiMMI::GetText(), cCiResourceManager::Process(), cCiApplicationInformation::Process(), cCiConditionalAccessSupport::Process(), cCiDateTime::Process(), and cCiMMI::Process().

◆ GetData()

const uint8_t * cCiSession::GetData ( const uint8_t *  Data,
int &  Length 
)
protected

◆ SendData()

int cCiSession::SendData ( int  Tag,
int  Length = 0,
const uint8_t *  Data = nullptr 
)
protected

◆ Tc()

const cCiTransportConnection* cCiSession::Tc ( void  )
inline

Definition at line 758 of file dvbci.cpp.

Referenced by cCiSession().

◆ SessionId()

int cCiSession::SessionId ( void  )
inline

◆ ResourceId()

int cCiSession::ResourceId ( void  )
inline

Definition at line 760 of file dvbci.cpp.

Referenced by cCiSession(), cLlCiHandler::OpenSession(), and cLlCiHandler::Process().

◆ HasUserIO()

virtual bool cCiSession::HasUserIO ( void  )
inlinevirtual

Reimplemented in cCiMMI.

Definition at line 761 of file dvbci.cpp.

Referenced by cLlCiHandler::Process().

◆ Process()

bool cCiSession::Process ( int  Length = 0,
const uint8_t *  Data = nullptr 
)
virtual

Member Data Documentation

◆ sessionId

int cCiSession::sessionId
private

Definition at line 748 of file dvbci.cpp.

Referenced by cCiSession(), SendData(), and SessionId().

◆ resourceId

int cCiSession::resourceId
private

Definition at line 749 of file dvbci.cpp.

Referenced by cCiSession(), and ResourceId().

◆ m_tc

cCiTransportConnection* cCiSession::m_tc
private

Definition at line 750 of file dvbci.cpp.

Referenced by cCiSession(), SendData(), and Tc().


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