vdr  1.7.27
Public Member Functions | Private Attributes
cDvbSourceParam Class Reference

List of all members.

Public Member Functions

 cDvbSourceParam (char Source, const char *Description)
virtual void SetData (cChannel *Channel)
virtual void GetData (cChannel *Channel)
virtual cOsdItemGetOsdItem (void)

Private Attributes

int param
int srate
cDvbTransponderParameters dtp

Detailed Description

Definition at line 918 of file dvbdevice.c.


Constructor & Destructor Documentation

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

Definition at line 930 of file dvbdevice.c.

References param, and srate.


Member Function Documentation

void cDvbSourceParam::GetData ( cChannel Channel) [virtual]

Copies all source specific parameters to the given Channel.

Implements cSourceParam.

Definition at line 944 of file dvbdevice.c.

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

cOsdItem * cDvbSourceParam::GetOsdItem ( void  ) [virtual]

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 949 of file dvbdevice.c.

References cDvbTransponderParameters::bandwidth, cDvbTransponderParameters::coderateH, cDvbTransponderParameters::coderateL, dtp, cDvbTransponderParameters::guard, cDvbTransponderParameters::hierarchy, cDvbTransponderParameters::inversion, cDvbTransponderParameters::modulation, param, cDvbTransponderParameters::plpId, cDvbTransponderParameters::polarization, cDvbTransponderParameters::rollOff, cSourceParam::Source(), srate, ST, cDvbTransponderParameters::system, SystemValuesTerr, tr, and cDvbTransponderParameters::transmission.

void cDvbSourceParam::SetData ( cChannel Channel) [virtual]

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 937 of file dvbdevice.c.

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


Member Data Documentation

Definition at line 922 of file dvbdevice.c.

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

int cDvbSourceParam::param [private]

Definition at line 920 of file dvbdevice.c.

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

int cDvbSourceParam::srate [private]

Definition at line 921 of file dvbdevice.c.

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


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