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 313 of file ci.h.

Constructor & Destructor Documentation

cChannelCamRelations::cChannelCamRelations ( void  )

Definition at line 2332 of file ci.c.

References lastCleanup.

Member Function Documentation

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

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

bool cChannelCamRelations::CamDecrypt ( tChannelID  ChannelID,
int  CamSlotNumber 
)
void cChannelCamRelations::Cleanup ( void  )
private
void cChannelCamRelations::ClrChecked ( tChannelID  ChannelID,
int  CamSlotNumber 
)

Definition at line 2410 of file ci.c.

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

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

Definition at line 2418 of file ci.c.

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

cChannelCamRelation * cChannelCamRelations::GetEntry ( tChannelID  ChannelID)
private
void cChannelCamRelations::Reset ( int  CamSlotNumber)
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().

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

time_t cChannelCamRelations::lastCleanup
private

Definition at line 318 of file ci.h.

Referenced by cChannelCamRelations(), and Cleanup().

cMutex cChannelCamRelations::mutex
private

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