vdr 2.7.5
cScrs Class Reference

#include <diseqc.h>

Public Member Functions

bool Load (const char *FileName, bool AllowComments=false, bool MustExist=false)
cScrGetUnused (int Device)
Public Member Functions inherited from cConfig< cScr >
 cConfig (const char *NeedsLocking=NULL)
virtual ~cConfig () override
const char * FileName (void)
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
bool Save (void) const
Public Member Functions inherited from cList< cScr >
 cList (const char *NeedsLocking=NULL)
const cScrGet (int Index) const
const cScrFirst (void) const
const cScrLast (void) const
const cScrPrev (const cScr *Object) const
const cScrNext (const cScr *Object) const
Public Member Functions inherited from cListBase
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)
bool Contains (const cListObject *Object) const
const cListObjectGet (int Index) const
cListObjectGet (int Index)
int Count (void) const
void Sort (void)

Private Attributes

cMutex mutex

Additional Inherited Members

Protected Member Functions inherited from cListBase
 cListBase (const char *NeedsLocking=NULL)
Protected Attributes inherited from cListBase
cListObjectobjects
cListObjectlastObject
int count
cStateLock stateLock
const char * needsLocking
bool useGarbageCollector

Detailed Description

Definition at line 52 of file diseqc.h.

Member Function Documentation

◆ GetUnused()

cScr * cScrs::GetUnused ( int Device)

Definition at line 190 of file diseqc.c.

References cList< cScr >::First(), IsBitSet, mutex, and cList< cScr >::Next().

◆ Load()

bool cScrs::Load ( const char * FileName,
bool AllowComments = false,
bool MustExist = false )

Member Data Documentation

◆ mutex

cMutex cScrs::mutex
private

Definition at line 54 of file diseqc.h.

Referenced by GetUnused().


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