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

#include <ci.h>

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

Constructor & Destructor Documentation

cChannelCamRelations::cChannelCamRelations ( void  )

Definition at line 2337 of file ci.c.

Member Function Documentation

cChannelCamRelation * cChannelCamRelations::AddEntry ( tChannelID  ChannelID)
private

Definition at line 2367 of file ci.c.

References cThread::mutex.

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

Definition at line 2385 of file ci.c.

References cChannelCamRelation::CamChecked(), and cThread::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 2415 of file ci.c.

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

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

Definition at line 2423 of file ci.c.

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

cChannelCamRelation * cChannelCamRelations::GetEntry ( tChannelID  ChannelID)
private

Definition at line 2356 of file ci.c.

References cThread::mutex.

void cChannelCamRelations::Reset ( int  CamSlotNumber)

Definition at line 2376 of file ci.c.

References cThread::mutex.

Referenced by cCamSlot::Reset().

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

Definition at line 2399 of file ci.c.

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

Referenced by cDevice::Action().

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

Definition at line 2407 of file ci.c.

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

Referenced by cDevice::Action().

Member Data Documentation

time_t cChannelCamRelations::lastCleanup
private

Definition at line 315 of file ci.h.

cMutex cChannelCamRelations::mutex
private

Definition at line 312 of file ci.h.


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