MythTV  master
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
cLlCiHandler Class Reference

#include <libmythtv/recorders/dvbdev/dvbci.h>

Inheritance diagram for cLlCiHandler:
[legend]
Collaboration diagram for cLlCiHandler:
[legend]

Public Member Functions

 ~cLlCiHandler () override
 
 cLlCiHandler (const cLlCiHandler &)=delete
 
cLlCiHandleroperator= (const cLlCiHandler &)=delete
 
int NumSlots (void) override
 
bool Process (void) override
 
bool HasUserIO (void) override
 
bool NeedCaPmt (void) override
 
bool EnterMenu (int Slot) override
 
cCiMenuGetMenu (void) override
 
cCiEnquiryGetEnquiry (void) override
 
bool SetCaPmt (cCiCaPmt &CaPmt)
 
dvbca_vector GetCaSystemIds (int Slot) override
 
bool SetCaPmt (cCiCaPmt &CaPmt, int Slot) override
 
void SetTimeOffset (double offset_in_seconds) override
 
bool Reset (int Slot)
 
- Public Member Functions inherited from cCiHandler
virtual ~cCiHandler ()=default
 

Static Public Member Functions

static bool connected ()
 
- Static Public Member Functions inherited from cCiHandler
static cCiHandlerCreateCiHandler (const char *FileName)
 

Private Member Functions

bool Send (uint8_t Tag, int SessionId, int ResourceId=0, int Status=-1)
 
cCiSessionGetSessionBySessionId (int SessionId)
 
cCiSessionGetSessionByResourceId (int ResourceId, int Slot)
 
cCiSessionCreateSession (int ResourceId)
 
bool OpenSession (int Length, const uint8_t *Data)
 
bool CloseSession (int SessionId)
 
int CloseAllSessions (int Slot)
 
 cLlCiHandler (int Fd, int NumSlots)
 

Static Private Member Functions

static int ResourceIdToInt (const uint8_t *Data)
 

Private Attributes

cMutex m_mutex
 
int m_fdCa
 
int m_numSlots
 
bool m_newCaSupport {false}
 
bool m_hasUserIO {false}
 
bool m_needCaPmt {false}
 
cCiSessionm_sessions [MAX_CI_SESSION] {}
 
cCiTransportLayerm_tpl {nullptr}
 
cCiTransportConnectionm_tc {nullptr}
 

Friends

class cCiHandler
 

Detailed Description

Definition at line 159 of file dvbci.h.

Constructor & Destructor Documentation

◆ cLlCiHandler() [1/2]

cLlCiHandler::cLlCiHandler ( int  Fd,
int  NumSlots 
)
private

Definition at line 1591 of file dvbci.cpp.

◆ ~cLlCiHandler()

cLlCiHandler::~cLlCiHandler ( )
override

Definition at line 1598 of file dvbci.cpp.

◆ cLlCiHandler() [2/2]

cLlCiHandler::cLlCiHandler ( const cLlCiHandler )
delete

Member Function Documentation

◆ ResourceIdToInt()

int cLlCiHandler::ResourceIdToInt ( const uint8_t *  Data)
staticprivate

Definition at line 1639 of file dvbci.cpp.

Referenced by OpenSession().

◆ Send()

bool cLlCiHandler::Send ( uint8_t  Tag,
int  SessionId,
int  ResourceId = 0,
int  Status = -1 
)
private

Definition at line 1644 of file dvbci.cpp.

Referenced by CloseSession(), and OpenSession().

◆ GetSessionBySessionId()

cCiSession * cLlCiHandler::GetSessionBySessionId ( int  SessionId)
private

Definition at line 1661 of file dvbci.cpp.

Referenced by CloseSession(), and Process().

◆ GetSessionByResourceId()

cCiSession * cLlCiHandler::GetSessionByResourceId ( int  ResourceId,
int  Slot 
)
private

◆ CreateSession()

cCiSession * cLlCiHandler::CreateSession ( int  ResourceId)
private

Definition at line 1679 of file dvbci.cpp.

Referenced by OpenSession().

◆ OpenSession()

bool cLlCiHandler::OpenSession ( int  Length,
const uint8_t *  Data 
)
private

Definition at line 1699 of file dvbci.cpp.

Referenced by Process().

◆ CloseSession()

bool cLlCiHandler::CloseSession ( int  SessionId)
private

Definition at line 1729 of file dvbci.cpp.

Referenced by CloseAllSessions(), and Process().

◆ CloseAllSessions()

int cLlCiHandler::CloseAllSessions ( int  Slot)
private

Definition at line 1745 of file dvbci.cpp.

Referenced by Process(), and Reset().

◆ operator=()

cLlCiHandler& cLlCiHandler::operator= ( const cLlCiHandler )
delete

◆ NumSlots()

int cLlCiHandler::NumSlots ( void  )
inlineoverridevirtual

Implements cCiHandler.

Definition at line 184 of file dvbci.h.

Referenced by SetTimeOffset().

◆ Process()

bool cLlCiHandler::Process ( void  )
overridevirtual

Implements cCiHandler.

Definition at line 1757 of file dvbci.cpp.

◆ HasUserIO()

bool cLlCiHandler::HasUserIO ( void  )
inlineoverridevirtual

Implements cCiHandler.

Definition at line 187 of file dvbci.h.

◆ NeedCaPmt()

bool cLlCiHandler::NeedCaPmt ( void  )
inlineoverridevirtual

Implements cCiHandler.

Definition at line 189 of file dvbci.h.

◆ EnterMenu()

bool cLlCiHandler::EnterMenu ( int  Slot)
overridevirtual

Implements cCiHandler.

Definition at line 1847 of file dvbci.cpp.

◆ GetMenu()

cCiMenu * cLlCiHandler::GetMenu ( void  )
overridevirtual

Implements cCiHandler.

Definition at line 1854 of file dvbci.cpp.

◆ GetEnquiry()

cCiEnquiry * cLlCiHandler::GetEnquiry ( void  )
overridevirtual

Implements cCiHandler.

Definition at line 1865 of file dvbci.cpp.

◆ SetCaPmt() [1/2]

bool cLlCiHandler::SetCaPmt ( cCiCaPmt CaPmt)

◆ GetCaSystemIds()

dvbca_vector cLlCiHandler::GetCaSystemIds ( int  Slot)
overridevirtual

Implements cCiHandler.

Definition at line 1876 of file dvbci.cpp.

◆ SetCaPmt() [2/2]

bool cLlCiHandler::SetCaPmt ( cCiCaPmt CaPmt,
int  Slot 
)
overridevirtual

Implements cCiHandler.

Definition at line 1884 of file dvbci.cpp.

◆ SetTimeOffset()

void cLlCiHandler::SetTimeOffset ( double  offset_in_seconds)
overridevirtual

Reimplemented from cCiHandler.

Definition at line 1891 of file dvbci.cpp.

◆ Reset()

bool cLlCiHandler::Reset ( int  Slot)

Definition at line 1904 of file dvbci.cpp.

◆ connected()

bool cLlCiHandler::connected ( )
static

Definition at line 1911 of file dvbci.cpp.

Friends And Related Function Documentation

◆ cCiHandler

friend class cCiHandler
friend

Definition at line 160 of file dvbci.h.

Member Data Documentation

◆ m_mutex

cMutex cLlCiHandler::m_mutex
private

◆ m_fdCa

int cLlCiHandler::m_fdCa
private

Definition at line 163 of file dvbci.h.

Referenced by ~cLlCiHandler().

◆ m_numSlots

int cLlCiHandler::m_numSlots
private

Definition at line 164 of file dvbci.h.

Referenced by GetEnquiry(), GetMenu(), NumSlots(), and Process().

◆ m_newCaSupport

bool cLlCiHandler::m_newCaSupport {false}
private

Definition at line 165 of file dvbci.h.

Referenced by CreateSession(), and Process().

◆ m_hasUserIO

bool cLlCiHandler::m_hasUserIO {false}
private

Definition at line 166 of file dvbci.h.

Referenced by HasUserIO(), and Process().

◆ m_needCaPmt

bool cLlCiHandler::m_needCaPmt {false}
private

Definition at line 167 of file dvbci.h.

Referenced by NeedCaPmt(), and Process().

◆ m_sessions

cCiSession* cLlCiHandler::m_sessions[MAX_CI_SESSION] {}
private

◆ m_tpl

cCiTransportLayer* cLlCiHandler::m_tpl {nullptr}
private

Definition at line 169 of file dvbci.h.

Referenced by Process(), Reset(), and ~cLlCiHandler().

◆ m_tc

cCiTransportConnection* cLlCiHandler::m_tc {nullptr}
private

Definition at line 170 of file dvbci.h.

Referenced by CreateSession(), Process(), and Send().


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