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)
int Write (int fd)
int Read (int fd)
void Dump (int fd, bool Outgoing)

Private Member Functions

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

Private Attributes

int size
uint8_t data [MAX_TPDU_SIZE]


Detailed Description

Definition at line 144 of file ci.c.


Constructor & Destructor Documentation

cTPDU::cTPDU ( void   )  [inline]

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

References data, 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 246 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 152 of file ci.c.

References data.

uint8_t cTPDU::Tcid ( void   )  [inline]

Definition at line 153 of file ci.c.

References data.

Referenced by cCiTransportConnection::RecvTPDU().

uint8_t cTPDU::Tag ( void   )  [inline]

Definition at line 154 of file ci.c.

References data.

Referenced by cCiTransportConnection::RecvTPDU().

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

Definition at line 155 of file ci.c.

References data, and GetData().

Referenced by cCiTransportConnection::Data().

Here is the call graph for this function:

uint8_t cTPDU::Status ( void   ) 

Definition at line 258 of file ci.c.

References data, size, and T_SB.

Referenced by cCiTransportConnection::RecvTPDU().

int cTPDU::Write ( int  fd  ) 

Definition at line 208 of file ci.c.

References data, Dump(), ERROR, esyslog, OK, safe_write(), and size.

Referenced by cCiTransportConnection::SendTPDU().

Here is the call graph for this function:

int cTPDU::Read ( int  fd  ) 

Definition at line 217 of file ci.c.

References data, Dump(), ERROR, esyslog, OK, safe_read(), and size.

Referenced by cCiTransportConnection::RecvTPDU().

Here is the call graph for this function:

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

Definition at line 229 of file ci.c.

References data, DumpTPDUDataTransfer, MAX_DUMP, and size.

Referenced by Read(), and Write().


Member Data Documentation

int cTPDU::size [private]

Definition at line 146 of file ci.c.

Referenced by cTPDU(), Dump(), GetData(), Read(), Status(), and Write().

uint8_t cTPDU::data[MAX_TPDU_SIZE] [private]

Definition at line 147 of file ci.c.

Referenced by cTPDU(), Data(), Dump(), Read(), Slot(), Status(), Tag(), Tcid(), and Write().


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:31:11 2007 for VDR by  doxygen 1.5.3-20071008