MythTV  master
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cTPDU Class Reference

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

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

Detailed Description

Definition at line 264 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 282 of file dvbci.cpp.

Member Function Documentation

◆ GetData()

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

Definition at line 369 of file dvbci.cpp.

Referenced by Data().

◆ Slot()

uint8_t cTPDU::Slot ( void  )
inline

Definition at line 272 of file dvbci.cpp.

Referenced by cTPDU().

◆ Tcid()

uint8_t cTPDU::Tcid ( void  )
inline

Definition at line 273 of file dvbci.cpp.

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

◆ Tag()

uint8_t cTPDU::Tag ( void  )
inline

Definition at line 274 of file dvbci.cpp.

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

◆ Data()

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

Definition at line 275 of file dvbci.cpp.

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

◆ Status()

uint8_t cTPDU::Status ( void  )

Definition at line 381 of file dvbci.cpp.

Referenced by cCiTransportConnection::RecvTPDU().

◆ Write()

int cTPDU::Write ( int  fd)

Definition at line 327 of file dvbci.cpp.

Referenced by cCiTransportConnection::SendTPDU().

◆ Read()

int cTPDU::Read ( int  fd)

Definition at line 336 of file dvbci.cpp.

Referenced by cCiTransportConnection::RecvTPDU().

◆ Dump()

void cTPDU::Dump ( bool  Outgoing)

Definition at line 348 of file dvbci.cpp.

Referenced by Read(), and Write().

Member Data Documentation

◆ m_size

ssize_t cTPDU::m_size {0}
private

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