vdr  2.0.6
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 124 of file ci.c.

Constructor & Destructor Documentation

cTPDU::cTPDU ( void  )
inline

Definition at line 130 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 137 of file ci.c.

References buffer.

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

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

Definition at line 135 of file ci.c.

References GetData().

Referenced by cCiTransportConnection::HandleSessions().

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

Definition at line 190 of file ci.c.

References buffer, DumpPolls, DumpTPDUDataTransfer, MAX_DUMP, size, T_SB, and Tag().

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

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

Definition at line 207 of file ci.c.

References GetLength(), and size.

Referenced by Data().

int cTPDU::MaxSize ( void  )
inline

Definition at line 140 of file ci.c.

References buffer.

Referenced by cCiAdapter::Action().

void cTPDU::SetSize ( int  Size)
inline

Definition at line 139 of file ci.c.

References Size().

Referenced by cCiAdapter::Action().

int cTPDU::Size ( void  )
inline

Definition at line 138 of file ci.c.

References size.

Referenced by SetSize(), and cCamSlot::Write().

uint8_t cTPDU::Slot ( void  )
inline

Definition at line 132 of file ci.c.

Referenced by cCiAdapter::Action(), and cTPDU().

uint8_t cTPDU::Status ( void  )

Definition at line 219 of file ci.c.

References buffer, size, and T_SB.

Referenced by cCiTransportConnection::Process().

uint8_t cTPDU::Tag ( void  )
inline

Definition at line 134 of file ci.c.

Referenced by cTPDU(), Dump(), and cCiTransportConnection::Process().

uint8_t cTPDU::Tcid ( void  )
inline

Definition at line 133 of file ci.c.

Referenced by cTPDU(), and cCamSlot::Process().

Member Data Documentation

uint8_t cTPDU::buffer[MAX_TPDU_SIZE]
private

Definition at line 127 of file ci.c.

Referenced by Buffer(), cTPDU(), Dump(), MaxSize(), and Status().

int cTPDU::size
private

Definition at line 126 of file ci.c.

Referenced by cTPDU(), Dump(), GetData(), Size(), and Status().


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