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

Classes

struct  m_last_poll
 

Public Member Functions

 cCiTransportConnection (void)
 
 ~cCiTransportConnection ()
 
int Slot (void) const
 
int SendData (int Length, const 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)
 
int RecvTPDU (void)
 
int CreateConnection (void)
 
int Poll (void)
 
eState State (void)
 
int LastResponse (void)
 
bool DataAvailable (void)
 

Private Attributes

int m_fd {-1}
 
uint8_t m_slot {0}
 
uint8_t m_tcid {0}
 
eState m_state {stIDLE}
 
cTPDUm_tpdu {nullptr}
 
int m_lastResponse {ERROR}
 
bool m_dataAvailable {false}
 

Friends

class cCiTransportLayer
 

Detailed Description

Definition at line 370 of file dvbci.cpp.

Constructor & Destructor Documentation

◆ cCiTransportConnection()

cCiTransportConnection::cCiTransportConnection ( void  )

Definition at line 399 of file dvbci.cpp.

◆ ~cCiTransportConnection()

cCiTransportConnection::~cCiTransportConnection ( )

Definition at line 404 of file dvbci.cpp.

Member Function Documentation

◆ Init()

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

Definition at line 409 of file dvbci.cpp.

Referenced by cCiTransportConnection(), cCiTransportLayer::NewConnection(), and RecvTPDU().

◆ SendTPDU()

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

Definition at line 422 of file dvbci.cpp.

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

◆ RecvTPDU()

int cCiTransportConnection::RecvTPDU ( void  )
private

Definition at line 430 of file dvbci.cpp.

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

◆ CreateConnection()

int cCiTransportConnection::CreateConnection ( void  )
private

Definition at line 518 of file dvbci.cpp.

◆ Poll()

int cCiTransportConnection::Poll ( void  )
private

Definition at line 546 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

◆ State()

eState cCiTransportConnection::State ( void  )
inlineprivate

Definition at line 386 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

◆ LastResponse()

int cCiTransportConnection::LastResponse ( void  )
inlineprivate

Definition at line 387 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

◆ DataAvailable()

bool cCiTransportConnection::DataAvailable ( void  )
inlineprivate

Definition at line 388 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

◆ Slot()

int cCiTransportConnection::Slot ( void  ) const
inline

Definition at line 392 of file dvbci.cpp.

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

◆ SendData()

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

Definition at line 487 of file dvbci.cpp.

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

◆ RecvData()

int cCiTransportConnection::RecvData ( void  )

Definition at line 504 of file dvbci.cpp.

Referenced by cCiTransportLayer::Process().

◆ Data()

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

Definition at line 511 of file dvbci.cpp.

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

Friends And Related Function Documentation

◆ cCiTransportLayer

friend class cCiTransportLayer
friend

Definition at line 371 of file dvbci.cpp.

Member Data Documentation

◆ m_fd

int cCiTransportConnection::m_fd {-1}
private

Definition at line 373 of file dvbci.cpp.

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

◆ m_slot

uint8_t cCiTransportConnection::m_slot {0}
private

Definition at line 374 of file dvbci.cpp.

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

◆ m_tcid

uint8_t cCiTransportConnection::m_tcid {0}
private

Definition at line 375 of file dvbci.cpp.

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

◆ m_state

eState cCiTransportConnection::m_state {stIDLE}
private

Definition at line 376 of file dvbci.cpp.

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

◆ m_tpdu

cTPDU* cCiTransportConnection::m_tpdu {nullptr}
private

Definition at line 377 of file dvbci.cpp.

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

◆ m_lastResponse

int cCiTransportConnection::m_lastResponse {ERROR}
private

Definition at line 379 of file dvbci.cpp.

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

◆ m_dataAvailable

bool cCiTransportConnection::m_dataAvailable {false}
private

Definition at line 380 of file dvbci.cpp.

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


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