cCiSession Class Reference

Inheritance diagram for cCiSession:

Inheritance graph
[legend]
Collaboration diagram for cCiSession:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 cCiSession (uint16_t SessionId, uint32_t ResourceId, cCiTransportConnection *Tc)
virtual ~cCiSession ()
uint16_t SessionId (void)
uint32_t ResourceId (void)
virtual bool HasUserIO (void)
virtual void Process (int Length=0, const uint8_t *Data=NULL)

Protected Member Functions

int GetTag (int &Length, const uint8_t **Data)
const uint8_t * GetData (const uint8_t *Data, int &Length)
void SendData (int Tag, int Length=0, const uint8_t *Data=NULL)
cCiTransportConnectionTc (void)

Private Attributes

uint16_t sessionId
uint32_t resourceId
cCiTransportConnectiontc


Detailed Description

Definition at line 342 of file ci.c.


Constructor & Destructor Documentation

cCiSession::cCiSession ( uint16_t  SessionId,
uint32_t  ResourceId,
cCiTransportConnection Tc 
)

Definition at line 361 of file ci.c.

References resourceId, sessionId, and tc.

cCiSession::~cCiSession (  )  [virtual]

Definition at line 368 of file ci.c.


Member Function Documentation

int cCiSession::GetTag ( int &  Length,
const uint8_t **  Data 
) [protected]

Parameters:
Data  Gets the tag at Data.
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 372 of file ci.c.

References AOT_NONE.

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

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

Definition at line 387 of file ci.c.

References GetLength().

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

Here is the call graph for this function:

void cCiSession::SendData ( int  Tag,
int  Length = 0,
const uint8_t *  Data = NULL 
) [protected]

cCiTransportConnection* cCiSession::Tc ( void   )  [inline, protected]

uint16_t cCiSession::SessionId ( void   )  [inline]

uint32_t cCiSession::ResourceId ( void   )  [inline]

Definition at line 356 of file ci.c.

virtual bool cCiSession::HasUserIO ( void   )  [inline, virtual]

Reimplemented in cCiMMI.

Definition at line 357 of file ci.c.

void cCiSession::Process ( int  Length = 0,
const uint8_t *  Data = NULL 
) [virtual]


Member Data Documentation

uint16_t cCiSession::sessionId [private]

Definition at line 344 of file ci.c.

Referenced by cCiSession(), and SendData().

uint32_t cCiSession::resourceId [private]

Definition at line 345 of file ci.c.

Referenced by cCiSession().

Definition at line 346 of file ci.c.

Referenced by cCiSession(), and SendData().


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

Generated on Tue Nov 4 19:57:51 2008 for VDR by  doxygen 1.5.6