vdr  1.7.27
Public Member Functions
cDiseqcs Class Reference

#include <diseqc.h>

List of all members.

Public Member Functions

const cDiseqcGet (int Device, int Source, int Frequency, char Polarization, const cScr **Scr) const
const cDiseqcGet (int Device, int Source, int Frequency, char Polarization, const cScr **Scr) const

Detailed Description

Definition at line 100 of file diseqc.h.


Member Function Documentation

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 274 of file diseqc.c.

References cDiseqc::Devices(), dsyslog, esyslog, cList< cDiseqc >::First(), cScrs::GetUnused(), and cList< cDiseqc >::Next().

Referenced by cDvbTuner::GetBondingParams(), cDvbDevice::ProvidesTransponder(), and cDvbTuner::SetFrontend().

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.


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