vdr  2.2.0
Public Member Functions | List of all members
cCamSlots Class Reference

#include <ci.h>

Public Member Functions

bool WaitForAllCamSlotsReady (int Timeout=0)
 
- Public Member Functions inherited from cList< cCamSlot >
cCamSlotGet (int Index) const
 
cCamSlotFirst (void) const
 
cCamSlotLast (void) const
 
cCamSlotPrev (const cCamSlot *object) const
 
cCamSlotNext (const cCamSlot *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)
 

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

Member Function Documentation

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 2242 of file ci.c.

References cList< T >::First(), cList< T >::Next(), and cCondWait::SleepMs().

Referenced by main().


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