cTPDU Class Reference

List of all members.

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.

References size.

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

Definition at line 144 of file ci.c.

References buffer, esyslog, MAX_TPDU_DATA, SetLength(), size, T_CREATE_TC, T_CTC_REPLY, T_DATA_LAST, T_DATA_MORE, T_DELETE_TC, T_DTC_REPLY, T_NEW_TC, T_RCV, T_REQUEST_TC, and T_TC_ERROR.

Here is the call graph for this function:


Member Function Documentation

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().

Here is the call graph for this function:

uint8_t cTPDU::Slot ( void   )  [inline]

Definition at line 132 of file ci.c.

References buffer.

Referenced by cCiAdapter::Action().

uint8_t cTPDU::Tcid ( void   )  [inline]

Definition at line 133 of file ci.c.

References buffer.

Referenced by cCamSlot::Process().

uint8_t cTPDU::Tag ( void   )  [inline]

Definition at line 134 of file ci.c.

References buffer.

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

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

Definition at line 135 of file ci.c.

References buffer, and GetData().

Referenced by cCiTransportConnection::HandleSessions().

Here is the call graph for this function:

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::Buffer ( void   )  [inline]

Definition at line 137 of file ci.c.

References buffer.

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

int cTPDU::Size ( void   )  [inline]

Definition at line 138 of file ci.c.

References size.

Referenced by cCamSlot::Write().

void cTPDU::SetSize ( int  Size  )  [inline]

Definition at line 139 of file ci.c.

References size.

Referenced by cCiAdapter::Action().

int cTPDU::MaxSize ( void   )  [inline]

Definition at line 140 of file ci.c.

References buffer.

Referenced by cCiAdapter::Action().

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().

Here is the call graph for this function:


Member Data Documentation

int cTPDU::size [private]

Definition at line 126 of file ci.c.

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

uint8_t cTPDU::buffer[MAX_TPDU_SIZE] [private]

Definition at line 127 of file ci.c.

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


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

Generated on Tue Nov 4 20:02:53 2008 for VDR by  doxygen 1.5.6