MythTV master
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cTPDU Class Reference
Collaboration diagram for cTPDU:
[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

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

◆ Data()

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

Definition at line 275 of file dvbci.cpp.

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

◆ Dump()

void cTPDU::Dump ( bool  Outgoing)

Definition at line 350 of file dvbci.cpp.

Referenced by Read(), and Write().

◆ GetData()

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

Definition at line 371 of file dvbci.cpp.

Referenced by Data().

◆ Read()

int cTPDU::Read ( int  fd)

Definition at line 338 of file dvbci.cpp.

Referenced by cCiTransportConnection::RecvTPDU().

◆ Slot()

uint8_t cTPDU::Slot ( void  )
inline

Definition at line 272 of file dvbci.cpp.

Referenced by cTPDU().

◆ Status()

uint8_t cTPDU::Status ( void  )

Definition at line 383 of file dvbci.cpp.

Referenced by cCiTransportConnection::RecvTPDU().

◆ Tag()

uint8_t cTPDU::Tag ( void  )
inline

Definition at line 274 of file dvbci.cpp.

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

◆ Tcid()

uint8_t cTPDU::Tcid ( void  )
inline

Definition at line 273 of file dvbci.cpp.

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

◆ Write()

int cTPDU::Write ( int  fd)

Definition at line 329 of file dvbci.cpp.

Referenced by cCiTransportConnection::SendTPDU().

Member Data Documentation

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

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


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