vdr  2.2.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cChannelCamRelations Class Reference

#include <ci.h>

Collaboration diagram for cChannelCamRelations:
[legend]

Public Member Functions

 cChannelCamRelations (void)
 
void Reset (int CamSlotNumber)
 
bool CamChecked (tChannelID ChannelID, int CamSlotNumber)
 
bool CamDecrypt (tChannelID ChannelID, int CamSlotNumber)
 
void SetChecked (tChannelID ChannelID, int CamSlotNumber)
 
void SetDecrypt (tChannelID ChannelID, int CamSlotNumber)
 
void ClrChecked (tChannelID ChannelID, int CamSlotNumber)
 
void ClrDecrypt (tChannelID ChannelID, int CamSlotNumber)
 
- Public Member Functions inherited from cList< cChannelCamRelation >
cChannelCamRelationGet (int Index) const
 
cChannelCamRelationFirst (void) const
 
cChannelCamRelationLast (void) const
 
cChannelCamRelationPrev (const cChannelCamRelation *object) const
 
cChannelCamRelationNext (const cChannelCamRelation *object) const
 
- Public Member Functions inherited from cListBase
virtual ~cListBase ()
 
void Add (cListObject *Object, cListObject *After=NULL)
 
void Ins (cListObject *Object, cListObject *Before=NULL)
 
void Del (cListObject *Object, bool DeleteObject=true)
 
virtual void Move (int From, int To)
 
void Move (cListObject *From, cListObject *To)
 
virtual void Clear (void)
 
cListObjectGet (int Index) const
 
int Count (void) const
 
void Sort (void)
 

Private Member Functions

cChannelCamRelationGetEntry (tChannelID ChannelID)
 
cChannelCamRelationAddEntry (tChannelID ChannelID)
 
void Cleanup (void)
 

Private Attributes

cMutex mutex
 
time_t lastCleanup
 

Additional Inherited Members

- Protected Member Functions inherited from cListBase
 cListBase (void)
 
- Protected Attributes inherited from cListBase
cListObjectobjects
 
cListObjectlastObject
 
int count
 

Detailed Description

Definition at line 312 of file ci.h.

Constructor & Destructor Documentation

◆ cChannelCamRelations()

cChannelCamRelations::cChannelCamRelations ( void  )

Definition at line 2332 of file ci.c.

References lastCleanup.

Member Function Documentation

◆ AddEntry()

cChannelCamRelation * cChannelCamRelations::AddEntry ( tChannelID  ChannelID)
private

Definition at line 2362 of file ci.c.

References cListBase::Add(), GetEntry(), and mutex.

Referenced by SetChecked(), and SetDecrypt().

◆ CamChecked()

bool cChannelCamRelations::CamChecked ( tChannelID  ChannelID,
int  CamSlotNumber 
)

Definition at line 2380 of file ci.c.

References cChannelCamRelation::CamChecked(), GetEntry(), and mutex.

Referenced by cDevice::GetDevice().

◆ CamDecrypt()

bool cChannelCamRelations::CamDecrypt ( tChannelID  ChannelID,
int  CamSlotNumber 
)

◆ Cleanup()

void cChannelCamRelations::Cleanup ( void  )
private

◆ ClrChecked()

void cChannelCamRelations::ClrChecked ( tChannelID  ChannelID,
int  CamSlotNumber 
)

Definition at line 2410 of file ci.c.

References cChannelCamRelation::ClrChecked(), GetEntry(), and mutex.

◆ ClrDecrypt()

void cChannelCamRelations::ClrDecrypt ( tChannelID  ChannelID,
int  CamSlotNumber 
)

Definition at line 2418 of file ci.c.

References cChannelCamRelation::ClrDecrypt(), GetEntry(), and mutex.

◆ GetEntry()

cChannelCamRelation * cChannelCamRelations::GetEntry ( tChannelID  ChannelID)
private

◆ Reset()

void cChannelCamRelations::Reset ( int  CamSlotNumber)

◆ SetChecked()

void cChannelCamRelations::SetChecked ( tChannelID  ChannelID,
int  CamSlotNumber 
)

Definition at line 2394 of file ci.c.

References AddEntry(), mutex, and cChannelCamRelation::SetChecked().

Referenced by cDevice::Action().

◆ SetDecrypt()

void cChannelCamRelations::SetDecrypt ( tChannelID  ChannelID,
int  CamSlotNumber 
)

Definition at line 2402 of file ci.c.

References AddEntry(), mutex, and cChannelCamRelation::SetDecrypt().

Referenced by cDevice::Action().

Member Data Documentation

◆ lastCleanup

time_t cChannelCamRelations::lastCleanup
private

Definition at line 317 of file ci.h.

Referenced by cChannelCamRelations(), and Cleanup().

◆ mutex

cMutex cChannelCamRelations::mutex
private

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