vdr  2.4.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 471 of file ci.c.

Constructor & Destructor Documentation

cTPDU::cTPDU ( void  )
inline

Definition at line 477 of file ci.c.

References size.

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 484 of file ci.c.

References buffer.

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

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

Definition at line 482 of file ci.c.

References buffer, and GetData().

Referenced by cCiTransportConnection::HandleSessions().

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

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

References GetLength(), and size.

Referenced by Data().

int cTPDU::MaxSize ( void  )
inline

Definition at line 487 of file ci.c.

References buffer.

Referenced by cCiAdapter::Action().

void cTPDU::SetSize ( int  Size)
inline

Definition at line 486 of file ci.c.

References size, and Size().

Referenced by cCiAdapter::Action().

int cTPDU::Size ( void  )
inline

Definition at line 485 of file ci.c.

References size.

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

uint8_t cTPDU::Slot ( void  )
inline

Definition at line 479 of file ci.c.

References buffer.

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

uint8_t cTPDU::Status ( void  )

Definition at line 566 of file ci.c.

References buffer, size, and T_SB.

Referenced by cCiTransportConnection::Process().

uint8_t cTPDU::Tag ( void  )
inline

Definition at line 481 of file ci.c.

References buffer.

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

uint8_t cTPDU::Tcid ( void  )
inline

Definition at line 480 of file ci.c.

References buffer.

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

Member Data Documentation

uint8_t cTPDU::buffer[MAX_TPDU_SIZE]
private

Definition at line 474 of file ci.c.

Referenced by Buffer(), cTPDU(), Data(), Dump(), MaxSize(), Slot(), Status(), Tag(), and Tcid().

int cTPDU::size
private

Definition at line 473 of file ci.c.

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


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