vdr  2.2.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cTPDU Class Reference

Public Member Functions

 cTPDU (void)
 
 cTPDU (uint8_t Slot, uint8_t Tcid, uint8_t Tag, int Length=0, const uint8_t *Data=NULL)
 
uint8_t Slot (void)
 
uint8_t Tcid (void)
 
uint8_t Tag (void)
 
const uint8_t * Data (int &Length)
 
uint8_t Status (void)
 
uint8_t * Buffer (void)
 
int Size (void)
 
void SetSize (int Size)
 
int MaxSize (void)
 
void Dump (int SlotNumber, bool Outgoing)
 

Private Member Functions

const uint8_t * GetData (const uint8_t *Data, int &Length)
 

Private Attributes

int size
 
uint8_t buffer [MAX_TPDU_SIZE]
 

Detailed Description

Definition at line 306 of file ci.c.

Constructor & Destructor Documentation

cTPDU::cTPDU ( void  )
inline

Definition at line 312 of file ci.c.

cTPDU::cTPDU ( uint8_t  Slot,
uint8_t  Tcid,
uint8_t  Tag,
int  Length = 0,
const uint8_t *  Data = NULL 
)

Member Function Documentation

uint8_t* cTPDU::Buffer ( void  )
inline

Definition at line 319 of file ci.c.

Referenced by cCiAdapter::Action(), and cCamSlot::Write().

const uint8_t* cTPDU::Data ( int &  Length)
inline

Definition at line 317 of file ci.c.

Referenced by cCiTransportConnection::HandleSessions().

void cTPDU::Dump ( int  SlotNumber,
bool  Outgoing 
)

Definition at line 372 of file ci.c.

References DumpPolls, DumpTPDUDataTransfer, MAX_DUMP, and T_SB.

Referenced by cCiAdapter::Action(), and cCamSlot::Write().

const uint8_t * cTPDU::GetData ( const uint8_t *  Data,
int &  Length 
)
private

Definition at line 389 of file ci.c.

References GetLength().

int cTPDU::MaxSize ( void  )
inline

Definition at line 322 of file ci.c.

Referenced by cCiAdapter::Action().

void cTPDU::SetSize ( int  Size)
inline

Definition at line 321 of file ci.c.

Referenced by cCiAdapter::Action().

int cTPDU::Size ( void  )
inline

Definition at line 320 of file ci.c.

Referenced by cCamSlot::Write().

uint8_t cTPDU::Slot ( void  )
inline

Definition at line 314 of file ci.c.

Referenced by cCiAdapter::Action().

uint8_t cTPDU::Status ( void  )

Definition at line 401 of file ci.c.

References T_SB.

Referenced by cCiTransportConnection::Process().

uint8_t cTPDU::Tag ( void  )
inline

Definition at line 316 of file ci.c.

Referenced by cCiTransportConnection::Process().

uint8_t cTPDU::Tcid ( void  )
inline

Definition at line 315 of file ci.c.

Referenced by cCamSlot::Process().

Member Data Documentation

uint8_t cTPDU::buffer[MAX_TPDU_SIZE]
private

Definition at line 309 of file ci.c.

int cTPDU::size
private

Definition at line 308 of file ci.c.


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