MythTV  master
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=nullptr)
 
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 (bool Outgoing)
 

Private Member Functions

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

Private Attributes

int m_size {0}
 
uint8_t m_data [MAX_TPDU_SIZE]
 

Detailed Description

Definition at line 240 of file dvbci.cpp.

Constructor & Destructor Documentation

◆ cTPDU() [1/2]

cTPDU::cTPDU ( void  )
inline

Definition at line 246 of file dvbci.cpp.

◆ cTPDU() [2/2]

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

Definition at line 258 of file dvbci.cpp.

Member Function Documentation

◆ GetData()

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

Definition at line 345 of file dvbci.cpp.

Referenced by Data().

◆ Slot()

uint8_t cTPDU::Slot ( void  )
inline

Definition at line 248 of file dvbci.cpp.

Referenced by cTPDU().

◆ Tcid()

uint8_t cTPDU::Tcid ( void  )
inline

Definition at line 249 of file dvbci.cpp.

Referenced by cTPDU(), and cCiTransportConnection::RecvTPDU().

◆ Tag()

uint8_t cTPDU::Tag ( void  )
inline

Definition at line 250 of file dvbci.cpp.

Referenced by cTPDU(), and cCiTransportConnection::RecvTPDU().

◆ Data()

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

Definition at line 251 of file dvbci.cpp.

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

◆ Status()

uint8_t cTPDU::Status ( void  )

Definition at line 357 of file dvbci.cpp.

Referenced by cCiTransportConnection::RecvTPDU().

◆ Write()

int cTPDU::Write ( int  fd)

Definition at line 303 of file dvbci.cpp.

Referenced by cCiTransportConnection::SendTPDU().

◆ Read()

int cTPDU::Read ( int  fd)

Definition at line 312 of file dvbci.cpp.

Referenced by cCiTransportConnection::RecvTPDU().

◆ Dump()

void cTPDU::Dump ( bool  Outgoing)

Definition at line 324 of file dvbci.cpp.

Referenced by Read(), and Write().

Member Data Documentation

◆ m_size

int cTPDU::m_size {0}
private

Definition at line 242 of file dvbci.cpp.

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

◆ m_data

uint8_t cTPDU::m_data[MAX_TPDU_SIZE]
private

Definition at line 243 of file dvbci.cpp.

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


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