vdr
1.7.27
|
Public Member Functions | |
cDvbSourceParam (char Source, const char *Description) | |
virtual void | SetData (cChannel *Channel) |
virtual void | GetData (cChannel *Channel) |
virtual cOsdItem * | GetOsdItem (void) |
Private Attributes | |
int | param |
int | srate |
cDvbTransponderParameters | dtp |
Definition at line 918 of file dvbdevice.c.
cDvbSourceParam::cDvbSourceParam | ( | char | Source, |
const char * | Description | ||
) |
Definition at line 930 of file dvbdevice.c.
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.
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().