vdr
2.0.4
|
#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) |
![]() | |
cChannelCamRelation * | Get (int Index) const |
cChannelCamRelation * | First (void) const |
cChannelCamRelation * | Last (void) const |
cChannelCamRelation * | Prev (const cChannelCamRelation *object) const |
cChannelCamRelation * | Next (const cChannelCamRelation *object) const |
![]() | |
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) |
cListObject * | Get (int Index) const |
int | Count (void) const |
void | Sort (void) |
Private Member Functions | |
cChannelCamRelation * | GetEntry (tChannelID ChannelID) |
cChannelCamRelation * | AddEntry (tChannelID ChannelID) |
void | Cleanup (void) |
Private Attributes | |
cMutex | mutex |
time_t | lastCleanup |
Additional Inherited Members | |
![]() | |
cListBase (void) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cChannelCamRelations::cChannelCamRelations | ( | void | ) |
Definition at line 2070 of file ci.c.
References lastCleanup.
|
private |
Definition at line 2100 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 2118 of file ci.c.
References cChannelCamRelation::CamChecked(), GetEntry(), and mutex.
Referenced by cDevice::GetDevice().
bool cChannelCamRelations::CamDecrypt | ( | tChannelID | ChannelID, |
int | CamSlotNumber | ||
) |
Definition at line 2125 of file ci.c.
References cChannelCamRelation::CamDecrypt(), GetEntry(), and mutex.
Referenced by cDevice::GetDevice(), cDvbHdFfDevice::SetChannelDevice(), and cDvbSdFfDevice::SetChannelDevice().
|
private |
Definition at line 2075 of file ci.c.
References CHANNEL_CAM_RELATIONS_CLEANUP_INTERVAL, cListBase::Del(), cList< cChannelCamRelation >::First(), lastCleanup, mutex, cList< cChannelCamRelation >::Next(), and cChannelCamRelation::TimedOut().
Referenced by GetEntry().
void cChannelCamRelations::ClrChecked | ( | tChannelID | ChannelID, |
int | CamSlotNumber | ||
) |
Definition at line 2148 of file ci.c.
References cChannelCamRelation::ClrChecked(), GetEntry(), and mutex.
void cChannelCamRelations::ClrDecrypt | ( | tChannelID | ChannelID, |
int | CamSlotNumber | ||
) |
Definition at line 2156 of file ci.c.
References cChannelCamRelation::ClrDecrypt(), GetEntry(), and mutex.
|
private |
Definition at line 2089 of file ci.c.
References Cleanup(), cList< cChannelCamRelation >::First(), mutex, and cList< cChannelCamRelation >::Next().
Referenced by AddEntry(), CamChecked(), CamDecrypt(), ClrChecked(), and ClrDecrypt().
void cChannelCamRelations::Reset | ( | int | CamSlotNumber | ) |
Definition at line 2109 of file ci.c.
References cList< cChannelCamRelation >::First(), mutex, and cList< cChannelCamRelation >::Next().
Referenced by cCamSlot::Reset().
void cChannelCamRelations::SetChecked | ( | tChannelID | ChannelID, |
int | CamSlotNumber | ||
) |
Definition at line 2132 of file ci.c.
References AddEntry(), mutex, and cChannelCamRelation::SetChecked().
Referenced by cDevice::Action().
void cChannelCamRelations::SetDecrypt | ( | tChannelID | ChannelID, |
int | CamSlotNumber | ||
) |
Definition at line 2140 of file ci.c.
References AddEntry(), mutex, and cChannelCamRelation::SetDecrypt().
Referenced by cDevice::Action().
|
private |
Definition at line 246 of file ci.h.
Referenced by cChannelCamRelations(), and Cleanup().
|
private |
Definition at line 243 of file ci.h.
Referenced by AddEntry(), CamChecked(), CamDecrypt(), Cleanup(), ClrChecked(), ClrDecrypt(), GetEntry(), Reset(), SetChecked(), and SetDecrypt().