vdr 2.7.5
cDvbSourceParam Class Reference

Public Member Functions

 cDvbSourceParam (char Source, const char *Description)
virtual void SetData (cChannel *Channel) override
virtual void GetData (cChannel *Channel) override
virtual cOsdItemGetOsdItem (void) override
Public Member Functions inherited from cSourceParam
 cSourceParam (char Source, const char *Description)
char Source (void) const
Public Member Functions inherited from cListObject
 cListObject (void)
virtual ~cListObject ()
virtual int Compare (const cListObject &ListObject) const
void Append (cListObject *Object)
void Insert (cListObject *Object)
void Unlink (void)
int Index (void) const
cListObjectPrev (void) const
cListObjectNext (void) const

Private Attributes

int param
int srate
cDvbTransponderParameters dtp

Detailed Description

Definition at line 1813 of file dvbdevice.c.

Constructor & Destructor Documentation

◆ cDvbSourceParam()

cDvbSourceParam::cDvbSourceParam ( char Source,
const char * Description )

Definition at line 1825 of file dvbdevice.c.

References cSourceParam::cSourceParam(), param, cSourceParam::Source(), and srate.

Member Function Documentation

◆ GetData()

void cDvbSourceParam::GetData ( cChannel * Channel)
overridevirtual

Copies all source specific parameters to the given Channel.

Implements cSourceParam.

Definition at line 1839 of file dvbdevice.c.

References dtp, cChannel::Frequency(), cChannel::SetTransponderData(), cChannel::Source(), cSourceParam::Source(), and srate.

◆ GetOsdItem()

cOsdItem * cDvbSourceParam::GetOsdItem ( void )
overridevirtual

Returns all the OSD items necessary for editing the source specific parameters of the channel that was given in the last call to SetData().

Each call to GetOsdItem() returns exactly one such item. After all items have been fetched, any further calls to GetOsdItem() return NULL. After another call to SetData(), the OSD items can be fetched again.

Implements cSourceParam.

Definition at line 1844 of file dvbdevice.c.

References BandwidthValues, CoderateValues, dtp, GetOsdItem(), GuardValues, HierarchyValues, InversionValues, ModulationValues, param, PilotValues, RollOffValues, cSourceParam::Source(), srate, ST, SystemValuesSat, SystemValuesTerr, tr, and TransmissionValues.

Referenced by GetOsdItem().

◆ SetData()

void cDvbSourceParam::SetData ( cChannel * Channel)
overridevirtual

Sets all source specific parameters to those of the given Channel.

Must also reset a counter to use with later calls to GetOsdItem().

Implements cSourceParam.

Definition at line 1832 of file dvbdevice.c.

References dtp, param, cChannel::Parameters(), cChannel::Srate(), and srate.

Member Data Documentation

◆ dtp

cDvbTransponderParameters cDvbSourceParam::dtp
private

Definition at line 1817 of file dvbdevice.c.

Referenced by GetData(), GetOsdItem(), and SetData().

◆ param

int cDvbSourceParam::param
private

Definition at line 1815 of file dvbdevice.c.

Referenced by cDvbSourceParam(), GetOsdItem(), and SetData().

◆ srate

int cDvbSourceParam::srate
private

Definition at line 1816 of file dvbdevice.c.

Referenced by cDvbSourceParam(), GetData(), GetOsdItem(), and SetData().


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