vdr 2.6.3
|
#include <diseqc.h>
Public Member Functions | |
bool | Load (const char *FileName, bool AllowComments=false, bool MustExist=false) |
cScr * | GetUnused (int Device) |
![]() | |
cConfig (const char *NeedsLocking=NULL) | |
virtual | ~cConfig () |
const char * | FileName (void) |
bool | Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false) |
bool | Save (void) const |
![]() | |
cList (const char *NeedsLocking=NULL) | |
const T * | Get (int Index) const |
const T * | First (void) const |
const T * | Last (void) const |
const T * | Prev (const T *Object) const |
const T * | Next (const T *Object) const |
T * | Get (int Index) |
T * | First (void) |
T * | Last (void) |
T * | Prev (const T *Object) |
T * | Next (const T *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) |
Private Attributes | |
cMutex | mutex |
Additional Inherited Members | |
![]() | |
cListBase (const char *NeedsLocking=NULL) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cStateLock | stateLock |
const char * | needsLocking |
bool | useGarbageCollector |
cScr * cScrs::GetUnused | ( | int | Device | ) |
Definition at line 190 of file diseqc.c.
References cList< T >::First(), IsBitSet, mutex, and cList< T >::Next().
Referenced by cDiseqcs::Get().
bool cScrs::Load | ( | const char * | FileName, |
bool | AllowComments = false , |
||
bool | MustExist = false |
||
) |
Definition at line 184 of file diseqc.c.
References ALL_DEVICES, CurrentDevices, cConfig< cScr >::FileName(), and cConfig< T >::Load().
Referenced by main().
|
private |
Definition at line 54 of file diseqc.h.
Referenced by GetUnused().