vdr 2.7.3
|
#include <ci.h>
Public Member Functions | |
int | NumReadyMasterSlots (void) |
bool | WaitForAllCamSlotsReady (int Timeout=0) |
![]() | |
cList (const char *NeedsLocking=NULL) | |
const cCamSlot * | Get (int Index) const |
cCamSlot * | Get (int Index) |
const cCamSlot * | First (void) const |
cCamSlot * | First (void) |
const cCamSlot * | Last (void) const |
cCamSlot * | Last (void) |
const cCamSlot * | Prev (const cCamSlot *Object) const |
cCamSlot * | Prev (const cCamSlot *Object) |
const cCamSlot * | Next (const cCamSlot *Object) const |
cCamSlot * | Next (const cCamSlot *Object) |
![]() | |
virtual | ~cListBase () |
bool | Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const |
void | SetSyncStateKey (cStateKey &StateKey) |
void | SetUseGarbageCollector (void) |
void | SetExplicitModify (void) |
void | SetModified (void) |
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) |
bool | Contains (const cListObject *Object) const |
const cListObject * | Get (int Index) const |
cListObject * | Get (int Index) |
int | Count (void) const |
void | Sort (void) |
Additional Inherited Members | |
![]() | |
cListBase (const char *NeedsLocking=NULL) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cStateLock | stateLock |
const char * | needsLocking |
bool | useGarbageCollector |
int cCamSlots::NumReadyMasterSlots | ( | void | ) |
bool cCamSlots::WaitForAllCamSlotsReady | ( | int | Timeout = 0 | ) |
Waits until all CAM slots have become ready, or the given Timeout (seconds) has expired.
While waiting, the Ready() function of each CAM slot is called in turn, until they all return true. Returns true if all CAM slots have become ready within the given timeout.
Definition at line 2850 of file ci.c.
References CamSlots, dsyslog, cCondWait::SleepMs(), and cString::sprintf().