vdr  2.0.4
Public Member Functions | Private Attributes | List of all members
cDvbSourceParam Class Reference

Public Member Functions

 cDvbSourceParam (char Source, const char *Description)
 
virtual void SetData (cChannel *Channel)
 
virtual void GetData (cChannel *Channel)
 
virtual cOsdItemGetOsdItem (void)
 
- 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 930 of file dvbdevice.c.

Constructor & Destructor Documentation

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

Definition at line 942 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 956 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 961 of file dvbdevice.c.

References cDvbTransponderParameters::bandwidth, cDvbTransponderParameters::coderateH, cDvbTransponderParameters::coderateL, dtp, cDvbTransponderParameters::guard, cDvbTransponderParameters::hierarchy, cDvbTransponderParameters::inversion, cDvbTransponderParameters::modulation, param, cDvbTransponderParameters::polarization, cDvbTransponderParameters::rollOff, cSourceParam::Source(), srate, ST, cDvbTransponderParameters::streamId, 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 949 of file dvbdevice.c.

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

Member Data Documentation

cDvbTransponderParameters cDvbSourceParam::dtp
private

Definition at line 934 of file dvbdevice.c.

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

int cDvbSourceParam::param
private

Definition at line 932 of file dvbdevice.c.

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

int cDvbSourceParam::srate
private

Definition at line 933 of file dvbdevice.c.

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


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