vdr 2.6.9
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 505 of file ci.c.

Constructor & Destructor Documentation

◆ cTPDU() [1/2]

cTPDU::cTPDU ( void )
inline

Definition at line 511 of file ci.c.

References size.

◆ cTPDU() [2/2]

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

Member Function Documentation

◆ Buffer()

uint8_t * cTPDU::Buffer ( void )
inline

Definition at line 518 of file ci.c.

References buffer.

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

◆ Data()

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

Definition at line 516 of file ci.c.

References buffer, and GetData().

Referenced by cTPDU(), GetData(), and cCiTransportConnection::HandleSessions().

◆ Dump()

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

Definition at line 571 of file ci.c.

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

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

◆ GetData()

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

Definition at line 588 of file ci.c.

References Data(), GetLength(), and size.

Referenced by Data().

◆ MaxSize()

int cTPDU::MaxSize ( void )
inline

Definition at line 521 of file ci.c.

References buffer.

Referenced by cCiAdapter::Action().

◆ SetSize()

void cTPDU::SetSize ( int Size)
inline

Definition at line 520 of file ci.c.

References Size(), and size.

Referenced by cCiAdapter::Action().

◆ Size()

int cTPDU::Size ( void )
inline

Definition at line 519 of file ci.c.

References size.

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

◆ Slot()

uint8_t cTPDU::Slot ( void )
inline

Definition at line 513 of file ci.c.

References buffer.

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

◆ Status()

uint8_t cTPDU::Status ( void )

Definition at line 600 of file ci.c.

References buffer, size, and T_SB.

Referenced by cCiTransportConnection::Process().

◆ Tag()

uint8_t cTPDU::Tag ( void )
inline

Definition at line 515 of file ci.c.

References buffer.

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

◆ Tcid()

uint8_t cTPDU::Tcid ( void )
inline

Definition at line 514 of file ci.c.

References buffer.

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

Member Data Documentation

◆ buffer

uint8_t cTPDU::buffer[MAX_TPDU_SIZE]
private

Definition at line 508 of file ci.c.

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

◆ size

int cTPDU::size
private

Definition at line 507 of file ci.c.

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


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