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

Public Member Functions

 cCiTransportConnection (void)
 
 ~cCiTransportConnection ()
 
int Slot (void) const
 
int SendData (int Length, const uint8_t *Data)
 
int SendData (std::vector< uint8_t > &Data)
 
int RecvData (void)
 
const uint8_t * Data (int &Length)
 

Private Member Functions

void Init (int Fd, uint8_t Slot, uint8_t Tcid)
 
int SendTPDU (uint8_t Tag, int Length=0, const uint8_t *Data=nullptr) const
 
int RecvTPDU (void)
 
int CreateConnection (void)
 
int Poll (void)
 
eState State (void)
 
int LastResponse (void) const
 
bool DataAvailable (void) const
 

Private Attributes

int m_fd {-1}
 
uint8_t m_slot {0}
 
uint8_t m_tcid {0}
 
eState m_state {stIDLE}
 
cTPDUm_tpdu {nullptr}
 
std::chrono::milliseconds m_lastPoll {0ms}
 
int m_lastResponse {ERROR}
 
bool m_dataAvailable {false}
 

Friends

class cCiTransportLayer
 

Detailed Description

Definition at line 396 of file dvbci.cpp.

Constructor & Destructor Documentation

◆ cCiTransportConnection()

cCiTransportConnection::cCiTransportConnection ( void  )

Definition at line 427 of file dvbci.cpp.

◆ ~cCiTransportConnection()

cCiTransportConnection::~cCiTransportConnection ( )

Definition at line 432 of file dvbci.cpp.

Member Function Documentation

◆ Init()

void cCiTransportConnection::Init ( int  Fd,
uint8_t  Slot,
uint8_t  Tcid 
)
private

Definition at line 437 of file dvbci.cpp.

Referenced by cCiTransportConnection(), and RecvTPDU().

◆ SendTPDU()

int cCiTransportConnection::SendTPDU ( uint8_t  Tag,
int  Length = 0,
const uint8_t *  Data = nullptr 
) const
private

Definition at line 450 of file dvbci.cpp.

Referenced by CreateConnection(), Poll(), RecvData(), RecvTPDU(), and SendData().

◆ RecvTPDU()

int cCiTransportConnection::RecvTPDU ( void  )
private

Definition at line 458 of file dvbci.cpp.

Referenced by CreateConnection(), Poll(), RecvData(), and SendData().

◆ CreateConnection()

int cCiTransportConnection::CreateConnection ( void  )
private

Definition at line 547 of file dvbci.cpp.

◆ Poll()

int cCiTransportConnection::Poll ( void  )
private

Definition at line 575 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

◆ State()

eState cCiTransportConnection::State ( void  )
inlineprivate

Definition at line 412 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

◆ LastResponse()

int cCiTransportConnection::LastResponse ( void  ) const
inlineprivate

Definition at line 413 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

◆ DataAvailable()

bool cCiTransportConnection::DataAvailable ( void  ) const
inlineprivate

Definition at line 414 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

◆ Slot()

int cCiTransportConnection::Slot ( void  ) const
inline

Definition at line 418 of file dvbci.cpp.

Referenced by cLlCiHandler::CreateSession(), Init(), and cCiTransportLayer::Process().

◆ SendData() [1/2]

int cCiTransportConnection::SendData ( int  Length,
const uint8_t *  Data 
)

Definition at line 516 of file dvbci.cpp.

Referenced by cLlCiHandler::Send(), SendData(), and cCiSession::SendData().

◆ SendData() [2/2]

int cCiTransportConnection::SendData ( std::vector< uint8_t > &  Data)
inline

Definition at line 420 of file dvbci.cpp.

◆ RecvData()

int cCiTransportConnection::RecvData ( void  )

Definition at line 533 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

◆ Data()

const uint8_t * cCiTransportConnection::Data ( int &  Length)

Definition at line 540 of file dvbci.cpp.

Referenced by cLlCiHandler::Process(), SendData(), and SendTPDU().

Friends And Related Function Documentation

◆ cCiTransportLayer

friend class cCiTransportLayer
friend

Definition at line 397 of file dvbci.cpp.

Member Data Documentation

◆ m_fd

int cCiTransportConnection::m_fd {-1}
private

Definition at line 399 of file dvbci.cpp.

Referenced by Init(), RecvTPDU(), and SendTPDU().

◆ m_slot

uint8_t cCiTransportConnection::m_slot {0}
private

Definition at line 400 of file dvbci.cpp.

Referenced by Init(), RecvTPDU(), SendTPDU(), and Slot().

◆ m_tcid

uint8_t cCiTransportConnection::m_tcid {0}
private

Definition at line 401 of file dvbci.cpp.

Referenced by Init(), RecvTPDU(), and SendTPDU().

◆ m_state

eState cCiTransportConnection::m_state {stIDLE}
private

Definition at line 402 of file dvbci.cpp.

Referenced by CreateConnection(), Init(), Poll(), RecvTPDU(), SendData(), and State().

◆ m_tpdu

cTPDU* cCiTransportConnection::m_tpdu {nullptr}
private

Definition at line 403 of file dvbci.cpp.

Referenced by Data(), Init(), RecvTPDU(), and ~cCiTransportConnection().

◆ m_lastPoll

std::chrono::milliseconds cCiTransportConnection::m_lastPoll {0ms}
private

Definition at line 404 of file dvbci.cpp.

Referenced by Poll().

◆ m_lastResponse

int cCiTransportConnection::m_lastResponse {ERROR}
private

Definition at line 405 of file dvbci.cpp.

Referenced by Init(), LastResponse(), and RecvTPDU().

◆ m_dataAvailable

bool cCiTransportConnection::m_dataAvailable {false}
private

Definition at line 406 of file dvbci.cpp.

Referenced by DataAvailable(), Init(), and RecvTPDU().


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