MythTV  master
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cTPDU Class Reference
Collaboration diagram for cTPDU:
Collaboration graph
[legend]

Public Member Functions

 cTPDU (void)=default
 
 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) const
 

Private Attributes

int m_size {0}
 
std::array< uint8_t, MAX_TPDU_SIZEm_data {0}
 

Detailed Description

Definition at line 262 of file dvbci.cpp.

Constructor & Destructor Documentation

◆ cTPDU() [1/2]

cTPDU::cTPDU ( void  )
default

◆ 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 280 of file dvbci.cpp.

Member Function Documentation

◆ GetData()

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

Definition at line 367 of file dvbci.cpp.

Referenced by Data().

◆ Slot()

uint8_t cTPDU::Slot ( void  )
inline

Definition at line 270 of file dvbci.cpp.

Referenced by cTPDU().

◆ Tcid()

uint8_t cTPDU::Tcid ( void  )
inline

Definition at line 271 of file dvbci.cpp.

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

◆ Tag()

uint8_t cTPDU::Tag ( void  )
inline

Definition at line 272 of file dvbci.cpp.

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

◆ Data()

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

Definition at line 273 of file dvbci.cpp.

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

◆ Status()

uint8_t cTPDU::Status ( void  )

Definition at line 379 of file dvbci.cpp.

Referenced by cCiTransportConnection::RecvTPDU().

◆ Write()

int cTPDU::Write ( int  fd)

Definition at line 325 of file dvbci.cpp.

Referenced by cCiTransportConnection::SendTPDU().

◆ Read()

int cTPDU::Read ( int  fd)

Definition at line 334 of file dvbci.cpp.

Referenced by cCiTransportConnection::RecvTPDU().

◆ Dump()

void cTPDU::Dump ( bool  Outgoing)

Definition at line 346 of file dvbci.cpp.

Referenced by Read(), and Write().

Member Data Documentation

◆ m_size

int cTPDU::m_size {0}
private

Definition at line 264 of file dvbci.cpp.

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

◆ m_data

std::array<uint8_t,MAX_TPDU_SIZE> cTPDU::m_data {0}
private

Definition at line 265 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: