vdr
2.2.0
|
#include <diseqc.h>
Public Member Functions | |
bool | Load (const char *FileName, bool AllowComments=false, bool MustExist=false) |
const cDiseqc * | Get (int Device, int Source, int Frequency, char Polarization, const cScr **Scr) const |
![]() | |
cConfig (void) | |
virtual | ~cConfig () |
const char * | FileName (void) |
bool | Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false) |
bool | Save (void) |
![]() | |
cDiseqc * | Get (int Index) const |
cDiseqc * | First (void) const |
cDiseqc * | Last (void) const |
cDiseqc * | Prev (const cDiseqc *object) const |
cDiseqc * | Next (const cDiseqc *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) |
cListObject * | Get (int Index) const |
int | Count (void) const |
void | Sort (void) |
Additional Inherited Members | |
![]() | |
cListBase (void) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
const cDiseqc * cDiseqcs::Get | ( | int | Device, |
int | Source, | ||
int | Frequency, | ||
char | Polarization, | ||
const cScr ** | Scr | ||
) | const |
Selects a DiSEqC entry suitable for the given Device and tuning parameters.
If this DiSEqC entry requires SCR and the given *Scr is NULL a free one will be selected from the Scrs and a pointer to that will be returned in Scr. The caller shall memorize that pointer and reuse it in subsequent calls. Scr may be NULL for checking whether there is any DiSEqC entry for the given transponder.
Definition at line 447 of file diseqc.c.
References dsyslog, esyslog, cScrs::GetUnused(), IsBitSet, and cSource::Matches().
Referenced by cDvbTuner::GetBondingParams(), cDvbDevice::ProvidesTransponder(), and cDvbTuner::SetFrontend().
bool cDiseqcs::Load | ( | const char * | FileName, |
bool | AllowComments = false , |
||
bool | MustExist = false |
||
) |
Definition at line 441 of file diseqc.c.
References ALL_DEVICES, CurrentDevices, and cConfig< T >::Load().
Referenced by main().