|
vdr
1.7.27
|
#include <channels.h>
Public Member Functions | |
| cChannel (void) | |
| cChannel (const cChannel &Channel) | |
| ~cChannel () | |
| cChannel & | operator= (const cChannel &Channel) |
| cString | ToText (void) const |
| bool | Parse (const char *s) |
| bool | Save (FILE *f) |
| const char * | Name (void) const |
| const char * | ShortName (bool OrName=false) const |
| const char * | Provider (void) const |
| const char * | PortalName (void) const |
| int | Frequency (void) const |
| int | Transponder (void) const |
| int | Source (void) const |
| int | Srate (void) const |
| int | Vpid (void) const |
| int | Ppid (void) const |
| int | Vtype (void) const |
| const int * | Apids (void) const |
| const int * | Dpids (void) const |
| const int * | Spids (void) const |
| int | Apid (int i) const |
| int | Dpid (int i) const |
| int | Spid (int i) const |
| const char * | Alang (int i) const |
| const char * | Dlang (int i) const |
| const char * | Slang (int i) const |
| int | Atype (int i) const |
| int | Dtype (int i) const |
| uchar | SubtitlingType (int i) const |
| uint16_t | CompositionPageId (int i) const |
| uint16_t | AncillaryPageId (int i) const |
| int | Tpid (void) const |
| const tTeletextSubtitlePage * | TeletextSubtitlePages () const |
| int | TotalTeletextSubtitlePages () const |
| const int * | Caids (void) const |
| int | Ca (int Index=0) const |
| int | Nid (void) const |
| int | Tid (void) const |
| int | Sid (void) const |
| int | Rid (void) const |
| int | Number (void) const |
| void | SetNumber (int Number) |
| bool | GroupSep (void) const |
| const char * | Parameters (void) const |
| const cLinkChannels * | LinkChannels (void) const |
| const cChannel * | RefChannel (void) const |
| bool | IsAtsc (void) const |
| bool | IsCable (void) const |
| bool | IsSat (void) const |
| bool | IsTerr (void) const |
| bool | IsSourceType (char Source) const |
| tChannelID | GetChannelID (void) const |
| bool | HasTimer (void) const |
| int | Modification (int Mask=CHANNELMOD_ALL) |
| void | CopyTransponderData (const cChannel *Channel) |
| bool | SetTransponderData (int Source, int Frequency, int Srate, const char *Parameters, bool Quiet=false) |
| void | SetId (int Nid, int Tid, int Sid, int Rid=0) |
| void | SetName (const char *Name, const char *ShortName, const char *Provider) |
| void | SetPortalName (const char *PortalName) |
| void | SetPids (int Vpid, int Ppid, int Vtype, int *Apids, int *Atypes, char ALangs[][MAXLANGCODE2], int *Dpids, int *Dtypes, char DLangs[][MAXLANGCODE2], int *Spids, char SLangs[][MAXLANGCODE2], int Tpid) |
| void | SetTeletextSubtitlePages (tTeletextSubtitlePage pages[], int numberOfPages) |
| void | SetCaIds (const int *CaIds) |
| void | SetCaDescriptors (int Level) |
| void | SetLinkChannels (cLinkChannels *LinkChannels) |
| void | SetRefChannel (cChannel *RefChannel) |
| void | SetSubtitlingDescriptors (uchar *SubtitlingTypes, uint16_t *CompositionPageIds, uint16_t *AncillaryPageIds) |
| cChannel (void) | |
| cChannel (const cChannel &Channel) | |
| ~cChannel () | |
| cChannel & | operator= (const cChannel &Channel) |
| cString | ToText (void) const |
| bool | Parse (const char *s) |
| bool | Save (FILE *f) |
| const char * | Name (void) const |
| const char * | ShortName (bool OrName=false) const |
| const char * | Provider (void) const |
| const char * | PortalName (void) const |
| int | Frequency (void) const |
| int | Transponder (void) const |
| int | Source (void) const |
| int | Srate (void) const |
| int | Vpid (void) const |
| int | Ppid (void) const |
| int | Vtype (void) const |
| const int * | Apids (void) const |
| const int * | Dpids (void) const |
| const int * | Spids (void) const |
| int | Apid (int i) const |
| int | Dpid (int i) const |
| int | Spid (int i) const |
| const char * | Alang (int i) const |
| const char * | Dlang (int i) const |
| const char * | Slang (int i) const |
| int | Atype (int i) const |
| int | Dtype (int i) const |
| uchar | SubtitlingType (int i) const |
| uint16_t | CompositionPageId (int i) const |
| uint16_t | AncillaryPageId (int i) const |
| int | Tpid (void) const |
| const tTeletextSubtitlePage * | TeletextSubtitlePages () const |
| int | TotalTeletextSubtitlePages () const |
| const int * | Caids (void) const |
| int | Ca (int Index=0) const |
| int | Nid (void) const |
| int | Tid (void) const |
| int | Sid (void) const |
| int | Rid (void) const |
| int | Number (void) const |
| void | SetNumber (int Number) |
| bool | GroupSep (void) const |
| const char * | Parameters (void) const |
| const cLinkChannels * | LinkChannels (void) const |
| const cChannel * | RefChannel (void) const |
| bool | IsAtsc (void) const |
| bool | IsCable (void) const |
| bool | IsSat (void) const |
| bool | IsTerr (void) const |
| bool | IsSourceType (char Source) const |
| tChannelID | GetChannelID (void) const |
| bool | HasTimer (void) const |
| int | Modification (int Mask=CHANNELMOD_ALL) |
| void | CopyTransponderData (const cChannel *Channel) |
| bool | SetTransponderData (int Source, int Frequency, int Srate, const char *Parameters, bool Quiet=false) |
| void | SetId (int Nid, int Tid, int Sid, int Rid=0) |
| void | SetName (const char *Name, const char *ShortName, const char *Provider) |
| void | SetPortalName (const char *PortalName) |
| void | SetPids (int Vpid, int Ppid, int Vtype, int *Apids, int *Atypes, char ALangs[][MAXLANGCODE2], int *Dpids, int *Dtypes, char DLangs[][MAXLANGCODE2], int *Spids, char SLangs[][MAXLANGCODE2], int Tpid) |
| void | SetTeletextSubtitlePages (tTeletextSubtitlePage pages[], int numberOfPages) |
| void | SetCaIds (const int *CaIds) |
| void | SetCaDescriptors (int Level) |
| void | SetLinkChannels (cLinkChannels *LinkChannels) |
| void | SetRefChannel (cChannel *RefChannel) |
| void | SetSubtitlingDescriptors (uchar *SubtitlingTypes, uint16_t *CompositionPageIds, uint16_t *AncillaryPageIds) |
Static Public Member Functions | |
| static int | Transponder (int Frequency, char Polarization) |
| static int | Transponder (int Frequency, char Polarization) |
Private Member Functions | |
| cString | TransponderDataToString (void) const |
| cString | TransponderDataToString (void) const |
Static Private Member Functions | |
| static cString | ToText (const cChannel *Channel) |
| static cString | ToText (const cChannel *Channel) |
Private Attributes | |
| char * | name |
| char * | shortName |
| char * | provider |
| char * | portalName |
| int | __BeginData__ |
| int | frequency |
| int | source |
| int | srate |
| int | vpid |
| int | ppid |
| int | vtype |
| int | apids [MAXAPIDS+1] |
| int | atypes [MAXAPIDS+1] |
| char | alangs [MAXAPIDS][MAXLANGCODE2] |
| int | dpids [MAXDPIDS+1] |
| int | dtypes [MAXAPIDS+1] |
| char | dlangs [MAXDPIDS][MAXLANGCODE2] |
| int | spids [MAXSPIDS+1] |
| char | slangs [MAXSPIDS][MAXLANGCODE2] |
| uchar | subtitlingTypes [MAXSPIDS] |
| uint16_t | compositionPageIds [MAXSPIDS] |
| uint16_t | ancillaryPageIds [MAXSPIDS] |
| int | tpid |
| int | fixedTtxtSubtitlePages |
| int | totalTtxtSubtitlePages |
| tTeletextSubtitlePage | teletextSubtitlePages [MAXTXTPAGES] |
| int | caids [MAXCAIDS+1] |
| int | nid |
| int | tid |
| int | sid |
| int | rid |
| int | number |
| bool | groupSep |
| int | __EndData__ |
| cString | parameters |
| int | modification |
| const cSchedule * | schedule |
| cLinkChannels * | linkChannels |
| cChannel * | refChannel |
Friends | |
| class | cSchedules |
| class | cMenuEditChannel |
| class | cDvbSourceParam |
Definition at line 100 of file channels.h.
| cChannel::cChannel | ( | void | ) |
Definition at line 58 of file channels.c.
References __BeginData__, __EndData__, CHANNELMOD_NONE, linkChannels, modification, name, parameters, portalName, provider, refChannel, schedule, and shortName.
| cChannel::cChannel | ( | const cChannel & | Channel | ) |
Definition at line 72 of file channels.c.
References linkChannels, name, portalName, provider, refChannel, schedule, and shortName.
Definition at line 84 of file channels.c.
References Channels, cListBase::Del(), cList< T >::First(), linkChannels, name, cListObject::Next(), cList< T >::Next(), portalName, provider, and shortName.
| cChannel::cChannel | ( | void | ) |
| cChannel::cChannel | ( | const cChannel & | Channel | ) |
| const char* cChannel::Alang | ( | int | i | ) | const [inline] |
Definition at line 172 of file channels.h.
References alangs, and MAXAPIDS.
Referenced by cRecordingInfo::cRecordingInfo(), cPatPmtGenerator::GeneratePmt(), and cDevice::SetChannel().
| const char* cChannel::Alang | ( | int | i | ) | const [inline] |
Definition at line 172 of file include/vdr/channels.h.
| uint16_t cChannel::AncillaryPageId | ( | int | i | ) | const [inline] |
Definition at line 179 of file channels.h.
References ancillaryPageIds, and MAXSPIDS.
Referenced by cPatPmtGenerator::GeneratePmt().
| uint16_t cChannel::AncillaryPageId | ( | int | i | ) | const [inline] |
Definition at line 179 of file include/vdr/channels.h.
References ancillaryPageIds, and MAXSPIDS.
| int cChannel::Apid | ( | int | i | ) | const [inline] |
Definition at line 169 of file include/vdr/channels.h.
| int cChannel::Apid | ( | int | i | ) | const [inline] |
Definition at line 169 of file channels.h.
References apids, and MAXAPIDS.
Referenced by cRecorder::cRecorder(), cPatPmtGenerator::GeneratePmt(), main(), cDvbDevice::ProvidesChannel(), cSkinSTTNGDisplayChannel::SetChannel(), cDevice::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), and cDvbSdFfDevice::SetChannelDevice().
| const int* cChannel::Apids | ( | void | ) | const [inline] |
Definition at line 166 of file channels.h.
References apids.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cPatPmtGenerator::GeneratePmtPid(), and cReceiver::SetPids().
| const int* cChannel::Apids | ( | void | ) | const [inline] |
Definition at line 166 of file include/vdr/channels.h.
References apids.
| int cChannel::Atype | ( | int | i | ) | const [inline] |
Definition at line 175 of file include/vdr/channels.h.
| int cChannel::Atype | ( | int | i | ) | const [inline] |
Definition at line 175 of file channels.h.
References atypes, and MAXAPIDS.
Referenced by cPatPmtGenerator::GeneratePmt().
| int cChannel::Ca | ( | int | Index = 0 | ) | const [inline] |
Definition at line 184 of file channels.h.
References caids, cListObject::Index(), and MAXCAIDS.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cDevice::GetDevice(), cEITScanner::Process(), cDvbDevice::ProvidesChannel(), cSkinSTTNGDisplayChannel::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), and cDvbSdFfDevice::SetChannelDevice().
| int cChannel::Ca | ( | int | Index = 0 | ) | const [inline] |
Definition at line 184 of file include/vdr/channels.h.
References caids, cListObject::Index(), and MAXCAIDS.
| const int* cChannel::Caids | ( | void | ) | const [inline] |
| const int* cChannel::Caids | ( | void | ) | const [inline] |
Definition at line 183 of file include/vdr/channels.h.
References caids.
| uint16_t cChannel::CompositionPageId | ( | int | i | ) | const [inline] |
Definition at line 178 of file include/vdr/channels.h.
References compositionPageIds, and MAXSPIDS.
| uint16_t cChannel::CompositionPageId | ( | int | i | ) | const [inline] |
Definition at line 178 of file channels.h.
References compositionPageIds, and MAXSPIDS.
Referenced by cPatPmtGenerator::GeneratePmt().
| void cChannel::CopyTransponderData | ( | const cChannel * | Channel | ) |
Definition at line 161 of file channels.c.
References frequency, parameters, source, and srate.
Referenced by cChannels::NewChannel().
| void cChannel::CopyTransponderData | ( | const cChannel * | Channel | ) |
| const char* cChannel::Dlang | ( | int | i | ) | const [inline] |
Definition at line 173 of file include/vdr/channels.h.
| const char* cChannel::Dlang | ( | int | i | ) | const [inline] |
Definition at line 173 of file channels.h.
References dlangs, and MAXDPIDS.
Referenced by cRecordingInfo::cRecordingInfo(), cPatPmtGenerator::GeneratePmt(), and cDevice::SetChannel().
| int cChannel::Dpid | ( | int | i | ) | const [inline] |
Definition at line 170 of file channels.h.
References dpids, and MAXDPIDS.
Referenced by cRecorder::cRecorder(), cPatPmtGenerator::GeneratePmt(), main(), cDvbDevice::ProvidesChannel(), cSkinSTTNGDisplayChannel::SetChannel(), cDevice::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), and cDvbSdFfDevice::SetChannelDevice().
| int cChannel::Dpid | ( | int | i | ) | const [inline] |
Definition at line 170 of file include/vdr/channels.h.
| const int* cChannel::Dpids | ( | void | ) | const [inline] |
Definition at line 167 of file include/vdr/channels.h.
References dpids.
| const int* cChannel::Dpids | ( | void | ) | const [inline] |
Definition at line 167 of file channels.h.
References dpids.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cPatPmtGenerator::GeneratePmtPid(), and cReceiver::SetPids().
| int cChannel::Dtype | ( | int | i | ) | const [inline] |
Definition at line 176 of file include/vdr/channels.h.
| int cChannel::Dtype | ( | int | i | ) | const [inline] |
Definition at line 176 of file channels.h.
References dtypes, and MAXDPIDS.
Referenced by cPatPmtGenerator::GeneratePmt().
| int cChannel::Frequency | ( | void | ) | const [inline] |
Returns the actual frequency, as given in 'channels.conf'.
Definition at line 158 of file include/vdr/channels.h.
References frequency.
| int cChannel::Frequency | ( | void | ) | const [inline] |
Returns the actual frequency, as given in 'channels.conf'.
Definition at line 158 of file channels.h.
References frequency.
Referenced by cDvbTuner::GetBondingParams(), cDvbSourceParam::GetData(), cNitFilter::Process(), cDvbDevice::ProvidesTransponder(), cDvbTuner::SetFrontend(), SetTransponderData(), and Transponder().
| tChannelID cChannel::GetChannelID | ( | void | ) | const [inline] |
Definition at line 200 of file channels.h.
References nid, rid, sid, source, tid, and Transponder().
Referenced by cChannelSorter::cChannelSorter(), cSVDRP::CmdCLRE(), cMenuTimers::Commands(), cRecordingInfo::cRecordingInfo(), cSchedule::Dump(), cChannels::GetByChannelID(), cDevice::GetDevice(), cSchedules::GetSchedule(), cChannels::HasUniqueChannelID(), cTimer::Matches(), Parse(), cMenuEditChanItem::ProcessKey(), cMenuEditChanItem::Set(), cMenuChannelItem::Set(), cDvbHdFfDevice::SetChannelDevice(), cDvbSdFfDevice::SetChannelDevice(), and cReceiver::SetPids().
| tChannelID cChannel::GetChannelID | ( | void | ) | const [inline] |
Definition at line 200 of file include/vdr/channels.h.
| bool cChannel::GroupSep | ( | void | ) | const [inline] |
Definition at line 191 of file channels.h.
References groupSep.
Referenced by ChannelString(), cSVDRP::CmdCHAN(), cMenuChannelItem::cMenuChannelItem(), cMenuEditTranItem::cMenuEditTranItem(), cChannels::GetNextGroup(), cChannels::GetNextNormal(), cChannels::GetPrevGroup(), cChannels::GetPrevNormal(), cDisplayChannel::NextAvailableChannel(), cNitFilter::Process(), cDisplayChannel::ProcessKey(), cMenuChannelItem::Set(), and cSkinSTTNGDisplayChannel::SetChannel().
| bool cChannel::GroupSep | ( | void | ) | const [inline] |
Definition at line 191 of file include/vdr/channels.h.
References groupSep.
| bool cChannel::HasTimer | ( | void | ) | const |
Definition at line 145 of file channels.c.
References cList< T >::First(), cList< T >::Next(), and Timers.
Referenced by cMenuChannels::Delete(), and cEvent::SetRunningStatus().
| bool cChannel::HasTimer | ( | void | ) | const |
| bool cChannel::IsAtsc | ( | void | ) | const [inline] |
Definition at line 195 of file channels.h.
References source.
Referenced by GetRequiredDeliverySystem(), and IsAtsc().
| bool cChannel::IsAtsc | ( | void | ) | const [inline] |
Definition at line 195 of file include/vdr/channels.h.
| bool cChannel::IsCable | ( | void | ) | const [inline] |
Definition at line 196 of file channels.h.
References source.
Referenced by GetRequiredDeliverySystem(), and IsCable().
| bool cChannel::IsCable | ( | void | ) | const [inline] |
Definition at line 196 of file include/vdr/channels.h.
| bool cChannel::IsSat | ( | void | ) | const [inline] |
Definition at line 197 of file channels.h.
References source.
Referenced by GetRequiredDeliverySystem(), IsSat(), and Transponder().
| bool cChannel::IsSat | ( | void | ) | const [inline] |
Definition at line 197 of file include/vdr/channels.h.
| bool cChannel::IsSourceType | ( | char | Source | ) | const [inline] |
Definition at line 199 of file channels.h.
References cSource::IsType(), and source.
| bool cChannel::IsSourceType | ( | char | Source | ) | const [inline] |
Definition at line 199 of file include/vdr/channels.h.
References cSource::IsType(), and source.
| bool cChannel::IsTerr | ( | void | ) | const [inline] |
Definition at line 198 of file channels.h.
References source.
Referenced by GetRequiredDeliverySystem(), and IsTerr().
| bool cChannel::IsTerr | ( | void | ) | const [inline] |
Definition at line 198 of file include/vdr/channels.h.
| const cLinkChannels* cChannel::LinkChannels | ( | void | ) | const [inline] |
Definition at line 193 of file channels.h.
References linkChannels.
Referenced by SetLinkChannels().
| const cLinkChannels* cChannel::LinkChannels | ( | void | ) | const [inline] |
Definition at line 193 of file include/vdr/channels.h.
References linkChannels.
| int cChannel::Modification | ( | int | Mask = CHANNELMOD_ALL | ) |
Definition at line 154 of file channels.c.
References CHANNELMOD_NONE, and modification.
| int cChannel::Modification | ( | int | Mask = CHANNELMOD_ALL | ) |
| const char* cChannel::Name | ( | void | ) | const [inline] |
Definition at line 154 of file channels.h.
References name.
Referenced by ChannelString(), cSVDRP::CmdCHAN(), cMenuEvent::cMenuEvent(), cMenuChannelItem::Compare(), cRecordControl::cRecordControl(), cRecording::cRecording(), cRecordingInfo::cRecordingInfo(), cTimer::cTimer(), cSchedule::Dump(), cChannels::GetNextGroup(), cChannels::GetPrevGroup(), cMenuSchedule::PrepareScheduleAllThis(), cMenuSchedule::PrepareScheduleThisThis(), ReportEpgBugFixStats(), cMenuEditChanItem::Set(), cMenuChannelItem::Set(), and cEvent::SetRunningStatus().
| const char* cChannel::Name | ( | void | ) | const [inline] |
Definition at line 154 of file include/vdr/channels.h.
References name.
| int cChannel::Nid | ( | void | ) | const [inline] |
Definition at line 185 of file channels.h.
References nid.
Referenced by cEIT::cEIT(), cNitFilter::Process(), and SetId().
| int cChannel::Nid | ( | void | ) | const [inline] |
Definition at line 185 of file include/vdr/channels.h.
References nid.
| int cChannel::Number | ( | void | ) | const [inline] |
Definition at line 189 of file channels.h.
References number.
Referenced by cDvbTuner::Action(), cRecordControls::ChannelDataModified(), ChannelString(), cSVDRP::CmdCHAN(), cSVDRP::CmdDELC(), cSVDRP::CmdLSTC(), cSVDRP::CmdMODC(), cSVDRP::CmdMOVC(), cSVDRP::CmdNEWC(), cMenuEditChanItem::cMenuEditChanItem(), cMenuEditTimer::cMenuEditTimer(), cMenuEditTranItem::cMenuEditTranItem(), cMenuSchedule::cMenuSchedule(), cMenuChannelItem::Compare(), cRecording::cRecording(), cMenuChannels::Delete(), cDisplayChannel::DisplayInfo(), cShutdownHandler::DoShutdown(), GetRequiredDeliverySystem(), main(), cMenuChannels::Move(), cDisplayChannel::ProcessKey(), cMenuEditChanItem::ProcessKey(), cMenuEditChannel::ProcessKey(), cMenuWhatsOn::ProcessKey(), cMenuSchedule::ProcessKey(), cMenuChannelItem::Set(), cMenuTimerItem::Set(), SetCaDescriptors(), SetCaIds(), cDevice::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), cDvbSdFfDevice::SetChannelDevice(), cDevice::SetCurrentChannel(), cDvbTuner::SetFrontend(), SetId(), SetLinkChannels(), SetName(), SetNumber(), SetPids(), SetPortalName(), cEvent::SetRunningStatus(), SetTransponderData(), cRecordControls::Start(), cDevice::SwitchChannel(), and cMenuScheduleItem::Update().
| int cChannel::Number | ( | void | ) | const [inline] |
Definition at line 189 of file include/vdr/channels.h.
References number.
Definition at line 108 of file channels.c.
References __BeginData__, __EndData__, name, parameters, portalName, provider, shortName, and strcpyrealloc().
| const char* cChannel::Parameters | ( | void | ) | const [inline] |
Definition at line 192 of file include/vdr/channels.h.
References parameters.
| const char* cChannel::Parameters | ( | void | ) | const [inline] |
Definition at line 192 of file channels.h.
References parameters.
Referenced by cDvbTuner::GetBondingParams(), cDvbTuner::IsTunedTo(), cNitFilter::Process(), cDvbDevice::ProvidesTransponder(), cDvbSourceParam::SetData(), cDvbTuner::SetFrontend(), and SetTransponderData().
| bool cChannel::Parse | ( | const char * | s | ) |
| bool cChannel::Parse | ( | const char * | s | ) |
Definition at line 558 of file channels.c.
References SI::AC3DescriptorTag, alangs, apids, atypes, CA_USER_MAX, caids, dlangs, dpids, dtypes, esyslog, fixedTtxtSubtitlePages, frequency, cSource::FromString(), GetChannelID(), groupSep, MAXAPIDS, MAXCAIDS, MAXDPIDS, MAXLANGCODE2, MAXSPIDS, MAXTXTPAGES, name, nid, number, parameters, ppid, provider, rid, shortName, sid, skipspace(), slangs, source, spids, srate, strcpyrealloc(), strn0cpy(), strreplace(), teletextSubtitlePages, tid, totalTtxtSubtitlePages, tpid, vpid, and vtype.
Referenced by cSVDRP::CmdMODC(), and cSVDRP::CmdNEWC().
| const char* cChannel::PortalName | ( | void | ) | const [inline] |
Definition at line 157 of file include/vdr/channels.h.
References portalName.
| const char* cChannel::PortalName | ( | void | ) | const [inline] |
Definition at line 157 of file channels.h.
References portalName.
| int cChannel::Ppid | ( | void | ) | const [inline] |
Definition at line 164 of file channels.h.
References ppid.
Referenced by cPatPmtGenerator::GeneratePmt(), cPatPmtGenerator::GeneratePmtPid(), cDvbHdFfDevice::SetChannelDevice(), cDvbSdFfDevice::SetChannelDevice(), cReceiver::SetPids(), and SetPids().
| int cChannel::Ppid | ( | void | ) | const [inline] |
Definition at line 164 of file include/vdr/channels.h.
References ppid.
| const char* cChannel::Provider | ( | void | ) | const [inline] |
Definition at line 156 of file channels.h.
References provider.
Referenced by cMenuChannelItem::Compare(), and cMenuChannelItem::Set().
| const char* cChannel::Provider | ( | void | ) | const [inline] |
Definition at line 156 of file include/vdr/channels.h.
References provider.
| const cChannel* cChannel::RefChannel | ( | void | ) | const [inline] |
| const cChannel* cChannel::RefChannel | ( | void | ) | const [inline] |
Definition at line 194 of file include/vdr/channels.h.
References refChannel.
| int cChannel::Rid | ( | void | ) | const [inline] |
| int cChannel::Rid | ( | void | ) | const [inline] |
Definition at line 188 of file include/vdr/channels.h.
References rid.
| bool cChannel::Save | ( | FILE * | f | ) |
| bool cChannel::Save | ( | FILE * | f | ) |
Definition at line 788 of file channels.c.
References ToText().
| void cChannel::SetCaDescriptors | ( | int | Level | ) |
Definition at line 422 of file channels.c.
References CHANNELMOD_CA, Channels, dsyslog, modification, Number(), and cChannels::SetModified().
Referenced by cPatFilter::Process().
| void cChannel::SetCaDescriptors | ( | int | Level | ) |
| void cChannel::SetCaIds | ( | const int * | CaIds | ) |
| void cChannel::SetCaIds | ( | const int * | CaIds | ) |
Definition at line 401 of file channels.c.
References CA_USER_MAX, caids, CHANNELMOD_CA, Channels, dsyslog, IntArraysDiffer(), IntArrayToString(), MAXCAIDS, modification, Number(), and cChannels::SetModified().
Referenced by cPatFilter::Process().
| void cChannel::SetId | ( | int | Nid, |
| int | Tid, | ||
| int | Sid, | ||
| int | Rid = 0 |
||
| ) |
Definition at line 205 of file channels.c.
References CHANNELMOD_ID, Channels, dsyslog, cChannels::HashChannel(), modification, nid, Nid(), Number(), rid, Rid(), schedule, cChannels::SetModified(), sid, Sid(), tid, Tid(), and cChannels::UnhashChannel().
Referenced by cSdtFilter::Process(), and cNitFilter::Process().
| void cChannel::SetId | ( | int | Nid, |
| int | Tid, | ||
| int | Sid, | ||
| int | Rid = 0 |
||
| ) |
| void cChannel::SetLinkChannels | ( | cLinkChannels * | LinkChannels | ) |
| void cChannel::SetLinkChannels | ( | cLinkChannels * | LinkChannels | ) |
Definition at line 432 of file channels.c.
References cLinkChannel::Channel(), cListBase::Count(), dsyslog, cList< T >::First(), linkChannels, LinkChannels(), cList< T >::Next(), and Number().
Referenced by cEIT::cEIT(), and cSdtFilter::Process().
| void cChannel::SetName | ( | const char * | Name, |
| const char * | ShortName, | ||
| const char * | Provider | ||
| ) |
Definition at line 224 of file channels.c.
References CHANNELMOD_NAME, Channels, dsyslog, isempty(), modification, name, Number(), provider, cChannels::SetModified(), shortName, and strcpyrealloc().
Referenced by cEIT::cEIT(), and cSdtFilter::Process().
| void cChannel::SetName | ( | const char * | Name, |
| const char * | ShortName, | ||
| const char * | Provider | ||
| ) |
| void cChannel::SetNumber | ( | int | Number | ) | [inline] |
Definition at line 190 of file channels.h.
| void cChannel::SetNumber | ( | int | Number | ) | [inline] |
Definition at line 190 of file include/vdr/channels.h.
| void cChannel::SetPids | ( | int | Vpid, |
| int | Ppid, | ||
| int | Vtype, | ||
| int * | Apids, | ||
| int * | Atypes, | ||
| char | ALangs[][MAXLANGCODE2], | ||
| int * | Dpids, | ||
| int * | Dtypes, | ||
| char | DLangs[][MAXLANGCODE2], | ||
| int * | Spids, | ||
| char | SLangs[][MAXLANGCODE2], | ||
| int | Tpid | ||
| ) |
Definition at line 300 of file channels.c.
References alangs, apids, atypes, CHANNELMOD_LANGS, CHANNELMOD_NONE, CHANNELMOD_PIDS, Channels, dlangs, dpids, dsyslog, dtypes, IntArraysDiffer(), IntArrayToString(), MAXAPIDS, MAXDPIDS, MAXLANGCODE2, MAXSPIDS, modification, Number(), ppid, Ppid(), cChannels::SetModified(), slangs, spids, STRDIFF, strn0cpy(), tpid, Tpid(), VALDIFF, vpid, Vpid(), vtype, and Vtype().
Referenced by cPatFilter::Process().
| void cChannel::SetPids | ( | int | Vpid, |
| int | Ppid, | ||
| int | Vtype, | ||
| int * | Apids, | ||
| int * | Atypes, | ||
| char | ALangs[][MAXLANGCODE2], | ||
| int * | Dpids, | ||
| int * | Dtypes, | ||
| char | DLangs[][MAXLANGCODE2], | ||
| int * | Spids, | ||
| char | SLangs[][MAXLANGCODE2], | ||
| int | Tpid | ||
| ) |
| void cChannel::SetPortalName | ( | const char * | PortalName | ) |
| void cChannel::SetPortalName | ( | const char * | PortalName | ) |
Definition at line 246 of file channels.c.
References CHANNELMOD_NAME, Channels, dsyslog, isempty(), modification, Number(), portalName, cChannels::SetModified(), and strcpyrealloc().
Referenced by cEIT::cEIT().
| void cChannel::SetRefChannel | ( | cChannel * | RefChannel | ) |
Definition at line 479 of file channels.c.
References refChannel, and RefChannel().
| void cChannel::SetRefChannel | ( | cChannel * | RefChannel | ) |
| void cChannel::SetSubtitlingDescriptors | ( | uchar * | SubtitlingTypes, |
| uint16_t * | CompositionPageIds, | ||
| uint16_t * | AncillaryPageIds | ||
| ) |
Definition at line 365 of file channels.c.
References ancillaryPageIds, compositionPageIds, MAXSPIDS, and subtitlingTypes.
Referenced by cPatFilter::Process().
| void cChannel::SetSubtitlingDescriptors | ( | uchar * | SubtitlingTypes, |
| uint16_t * | CompositionPageIds, | ||
| uint16_t * | AncillaryPageIds | ||
| ) |
| void cChannel::SetTeletextSubtitlePages | ( | tTeletextSubtitlePage | pages[], |
| int | numberOfPages | ||
| ) |
| void cChannel::SetTeletextSubtitlePages | ( | tTeletextSubtitlePage | pages[], |
| int | numberOfPages | ||
| ) |
Definition at line 381 of file channels.c.
References CHANNELMOD_NONE, CHANNELMOD_PIDS, Channels, fixedTtxtSubtitlePages, MAXTXTPAGES, modification, cChannels::SetModified(), teletextSubtitlePages, and totalTtxtSubtitlePages.
Referenced by cPatFilter::Process().
| bool cChannel::SetTransponderData | ( | int | Source, |
| int | Frequency, | ||
| int | Srate, | ||
| const char * | Parameters, | ||
| bool | Quiet = false |
||
| ) |
| bool cChannel::SetTransponderData | ( | int | Source, |
| int | Frequency, | ||
| int | Srate, | ||
| const char * | Parameters, | ||
| bool | Quiet = false |
||
| ) |
Definition at line 171 of file channels.c.
References CHANNELMOD_TRANSP, Channels, dsyslog, esyslog, frequency, Frequency(), modification, Number(), parameters, Parameters(), schedule, cChannels::SetModified(), source, Source(), srate, Srate(), and TransponderDataToString().
Referenced by cDvbSourceParam::GetData(), and cNitFilter::Process().
| const char* cChannel::ShortName | ( | bool | OrName = false | ) | const [inline] |
Definition at line 155 of file channels.h.
References isempty(), name, and shortName.
Referenced by cMenuEditTimer::ProcessKey(), and cMenuScheduleItem::Update().
| const char* cChannel::ShortName | ( | bool | OrName = false | ) | const [inline] |
Definition at line 155 of file include/vdr/channels.h.
| int cChannel::Sid | ( | void | ) | const [inline] |
Definition at line 187 of file channels.h.
References sid.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cChannels::GetByChannelID(), cChannels::GetByServiceID(), cChannels::HashChannel(), cPatFilter::Process(), SetId(), and cChannels::UnhashChannel().
| int cChannel::Sid | ( | void | ) | const [inline] |
Definition at line 187 of file include/vdr/channels.h.
References sid.
| const char* cChannel::Slang | ( | int | i | ) | const [inline] |
Definition at line 174 of file channels.h.
References MAXSPIDS, and slangs.
Referenced by cRecordingInfo::cRecordingInfo(), cPatPmtGenerator::GeneratePmt(), and cDevice::SetChannel().
| const char* cChannel::Slang | ( | int | i | ) | const [inline] |
Definition at line 174 of file include/vdr/channels.h.
| int cChannel::Source | ( | void | ) | const [inline] |
Definition at line 161 of file channels.h.
References source.
Referenced by cCamSlot::AddChannel(), cScanList::AddTransponder(), cTransponderList::AddTransponder(), cCamSlot::CanDecrypt(), cMenuEditTranItem::cMenuEditTranItem(), cDvbTuner::GetBondingParams(), cChannels::GetByServiceID(), cDvbSourceParam::GetData(), cDvbTuner::IsTunedTo(), cChannels::NewChannel(), cPatFilter::Process(), cNitFilter::Process(), cMenuEditTranItem::ProcessKey(), cDvbDevice::ProvidesTransponder(), cDvbTuner::SetFrontend(), SetTransponderData(), cScanData::Source(), and cSectionHandler::Source().
| int cChannel::Source | ( | void | ) | const [inline] |
Definition at line 161 of file include/vdr/channels.h.
References source.
| int cChannel::Spid | ( | int | i | ) | const [inline] |
Definition at line 171 of file include/vdr/channels.h.
| int cChannel::Spid | ( | int | i | ) | const [inline] |
Definition at line 171 of file channels.h.
References MAXSPIDS, and spids.
Referenced by cPatPmtGenerator::GeneratePmt(), and cDevice::SetChannel().
| const int* cChannel::Spids | ( | void | ) | const [inline] |
Definition at line 168 of file channels.h.
References spids.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cPatPmtGenerator::GeneratePmtPid(), and cReceiver::SetPids().
| const int* cChannel::Spids | ( | void | ) | const [inline] |
Definition at line 168 of file include/vdr/channels.h.
References spids.
| int cChannel::Srate | ( | void | ) | const [inline] |
Definition at line 162 of file channels.h.
References srate.
Referenced by cNitFilter::Process(), cDvbSourceParam::SetData(), cDvbTuner::SetFrontend(), and SetTransponderData().
| int cChannel::Srate | ( | void | ) | const [inline] |
Definition at line 162 of file include/vdr/channels.h.
References srate.
| uchar cChannel::SubtitlingType | ( | int | i | ) | const [inline] |
Definition at line 177 of file include/vdr/channels.h.
References MAXSPIDS, and subtitlingTypes.
| uchar cChannel::SubtitlingType | ( | int | i | ) | const [inline] |
Definition at line 177 of file channels.h.
References MAXSPIDS, and subtitlingTypes.
Referenced by cPatPmtGenerator::GeneratePmt().
| const tTeletextSubtitlePage* cChannel::TeletextSubtitlePages | ( | ) | const [inline] |
Definition at line 181 of file channels.h.
References teletextSubtitlePages.
Referenced by cPatPmtGenerator::GeneratePmt().
| const tTeletextSubtitlePage* cChannel::TeletextSubtitlePages | ( | ) | const [inline] |
Definition at line 181 of file include/vdr/channels.h.
References teletextSubtitlePages.
| int cChannel::Tid | ( | void | ) | const [inline] |
Definition at line 186 of file include/vdr/channels.h.
References tid.
| int cChannel::Tid | ( | void | ) | const [inline] |
Definition at line 186 of file channels.h.
References tid.
Referenced by cEIT::cEIT(), cNitFilter::Process(), and SetId().
| int cChannel::TotalTeletextSubtitlePages | ( | ) | const [inline] |
Definition at line 182 of file include/vdr/channels.h.
References totalTtxtSubtitlePages.
| int cChannel::TotalTeletextSubtitlePages | ( | ) | const [inline] |
Definition at line 182 of file channels.h.
References totalTtxtSubtitlePages.
Referenced by cPatPmtGenerator::GeneratePmt().
| static cString cChannel::ToText | ( | const cChannel * | Channel | ) | [static, private] |
| cString cChannel::ToText | ( | const cChannel * | Channel | ) | [static, private] |
Definition at line 491 of file channels.c.
References alangs, apids, atypes, caids, dlangs, dpids, dtypes, fixedTtxtSubtitlePages, frequency, groupSep, IntArrayToString(), isempty(), MAXAPIDS, MAXCAIDS, MAXDPIDS, MAXLANGCODE2, MAXSPIDS, MAXTXTPAGES, name, nid, number, tTeletextSubtitlePage::PageNumber(), parameters, ppid, provider, rid, shortName, sid, slangs, source, spids, cString::sprintf(), srate, strreplace(), teletextSubtitlePages, tid, cSource::ToString(), tpid, tTeletextSubtitlePage::ttxtLanguage, vpid, and vtype.
Referenced by cSVDRP::CmdLSTC(), cSVDRP::CmdMODC(), cSVDRP::CmdNEWC(), cChannels::DeleteDuplicateChannels(), and cMenuEditChannel::ProcessKey().
| cString cChannel::ToText | ( | void | ) | const |
Definition at line 553 of file channels.c.
Referenced by Save().
| cString cChannel::ToText | ( | void | ) | const |
| int cChannel::Tpid | ( | void | ) | const [inline] |
Definition at line 180 of file include/vdr/channels.h.
References tpid.
| int cChannel::Tpid | ( | void | ) | const [inline] |
Definition at line 180 of file channels.h.
References tpid.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cPatPmtGenerator::GeneratePmt(), cPatPmtGenerator::GeneratePmtPid(), cSkinSTTNGDisplayChannel::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), cDvbSdFfDevice::SetChannelDevice(), cReceiver::SetPids(), and SetPids().
| int cChannel::Transponder | ( | void | ) | const |
Returns the transponder frequency in MHz, plus the polarization in case of sat.
Definition at line 132 of file channels.c.
References frequency, IsSat(), and parameters.
Referenced by cDvbTuner::Action(), cCamSlot::AddChannel(), cScanList::AddTransponder(), cTransponderList::AddTransponder(), cCamSlot::CanDecrypt(), cMenuEditTranItem::cMenuEditTranItem(), cChannels::GetByServiceID(), GetChannelID(), cDvbTuner::IsTunedTo(), cChannels::NewChannel(), cPatFilter::Process(), cNitFilter::Process(), cMenuEditTranItem::ProcessKey(), cScanData::Transponder(), and cSectionHandler::Transponder().
| int cChannel::Transponder | ( | void | ) | const |
Returns the transponder frequency in MHz, plus the polarization in case of sat.
| static int cChannel::Transponder | ( | int | Frequency, |
| char | Polarization | ||
| ) | [static] |
builds the transponder from the given Frequency and Polarization
| int cChannel::Transponder | ( | int | Frequency, |
| char | Polarization | ||
| ) | [static] |
builds the transponder from the given Frequency and Polarization
Definition at line 119 of file channels.c.
References esyslog, and Frequency().
| cString cChannel::TransponderDataToString | ( | void | ) | const [private] |
Definition at line 484 of file channels.c.
References frequency, cSource::IsTerr(), parameters, source, cString::sprintf(), srate, and cSource::ToString().
Referenced by SetTransponderData().
| cString cChannel::TransponderDataToString | ( | void | ) | const [private] |
| int cChannel::Vpid | ( | void | ) | const [inline] |
Definition at line 163 of file include/vdr/channels.h.
References vpid.
| int cChannel::Vpid | ( | void | ) | const [inline] |
Definition at line 163 of file channels.h.
References vpid.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cRecorder::cRecorder(), cPatPmtGenerator::GeneratePmt(), cPatPmtGenerator::GeneratePmtPid(), main(), cDvbDevice::ProvidesChannel(), cSkinSTTNGDisplayChannel::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), cDvbSdFfDevice::SetChannelDevice(), cReceiver::SetPids(), and SetPids().
| int cChannel::Vtype | ( | void | ) | const [inline] |
Definition at line 165 of file channels.h.
References vtype.
Referenced by cRecorder::cRecorder(), cPatPmtGenerator::GeneratePmt(), cDvbHdFfDevice::SetChannelDevice(), and SetPids().
| int cChannel::Vtype | ( | void | ) | const [inline] |
Definition at line 165 of file include/vdr/channels.h.
References vtype.
cDvbSourceParam [friend] |
Definition at line 103 of file channels.h.
cMenuEditChannel [friend] |
Definition at line 102 of file channels.h.
cSchedules [friend] |
Definition at line 101 of file channels.h.
int cChannel::__BeginData__ [private] |
Definition at line 110 of file channels.h.
Referenced by cChannel(), and operator=().
int cChannel::__EndData__ [private] |
Definition at line 139 of file channels.h.
Referenced by cChannel(), and operator=().
char cChannel::alangs [private] |
uint16_t cChannel::ancillaryPageIds [private] |
Definition at line 127 of file channels.h.
Referenced by AncillaryPageId(), and SetSubtitlingDescriptors().
int cChannel::apids [private] |
Definition at line 117 of file channels.h.
Referenced by Apid(), Apids(), Parse(), SetPids(), cMenuEditChannel::Setup(), and ToText().
int cChannel::atypes [private] |
int cChannel::caids [private] |
Definition at line 132 of file channels.h.
Referenced by Ca(), Caids(), Parse(), SetCaIds(), cMenuEditChannel::Setup(), and ToText().
uint16_t cChannel::compositionPageIds [private] |
Definition at line 126 of file channels.h.
Referenced by CompositionPageId(), and SetSubtitlingDescriptors().
char cChannel::dlangs [private] |
int cChannel::dpids [private] |
Definition at line 120 of file channels.h.
Referenced by Dpid(), Dpids(), Parse(), SetPids(), cMenuEditChannel::Setup(), and ToText().
int cChannel::dtypes [private] |
int cChannel::fixedTtxtSubtitlePages [private] |
Definition at line 129 of file channels.h.
Referenced by Parse(), SetTeletextSubtitlePages(), and ToText().
int cChannel::frequency [private] |
Definition at line 111 of file channels.h.
Referenced by CopyTransponderData(), Frequency(), Parse(), SetTransponderData(), cMenuEditChannel::Setup(), ToText(), Transponder(), and TransponderDataToString().
bool cChannel::groupSep [private] |
Definition at line 138 of file channels.h.
Referenced by GroupSep(), Parse(), and ToText().
cLinkChannels * cChannel::linkChannels [private] |
Definition at line 143 of file channels.h.
Referenced by cChannel(), LinkChannels(), SetLinkChannels(), and ~cChannel().
int cChannel::modification [private] |
Definition at line 141 of file channels.h.
Referenced by cChannel(), Modification(), SetCaDescriptors(), SetCaIds(), SetId(), SetName(), SetPids(), SetPortalName(), SetTeletextSubtitlePages(), and SetTransponderData().
char * cChannel::name [private] |
Definition at line 106 of file channels.h.
Referenced by cChannel(), cMenuEditChannel::cMenuEditChannel(), Name(), operator=(), Parse(), cMenuEditChannel::ProcessKey(), SetName(), ShortName(), ToText(), and ~cChannel().
int cChannel::nid [private] |
Definition at line 133 of file channels.h.
Referenced by cMenuEditChannel::cMenuEditChannel(), GetChannelID(), Nid(), Parse(), SetId(), and ToText().
int cChannel::number [private] |
Definition at line 137 of file channels.h.
Referenced by Number(), Parse(), SetNumber(), and ToText().
cString cChannel::parameters [private] |
Definition at line 140 of file channels.h.
Referenced by cChannel(), CopyTransponderData(), operator=(), Parameters(), Parse(), SetTransponderData(), ToText(), Transponder(), and TransponderDataToString().
char * cChannel::portalName [private] |
Definition at line 109 of file channels.h.
Referenced by cChannel(), operator=(), PortalName(), SetPortalName(), and ~cChannel().
int cChannel::ppid [private] |
Definition at line 115 of file channels.h.
Referenced by Parse(), Ppid(), SetPids(), cMenuEditChannel::Setup(), and ToText().
char * cChannel::provider [private] |
Definition at line 108 of file channels.h.
Referenced by cChannel(), operator=(), Parse(), Provider(), SetName(), ToText(), and ~cChannel().
cChannel * cChannel::refChannel [private] |
Definition at line 144 of file channels.h.
Referenced by cChannel(), RefChannel(), and SetRefChannel().
int cChannel::rid [private] |
Definition at line 136 of file channels.h.
Referenced by cMenuEditChannel::cMenuEditChannel(), GetChannelID(), Parse(), Rid(), SetId(), and ToText().
const cSchedule * cChannel::schedule [mutable, private] |
Definition at line 142 of file channels.h.
Referenced by cSchedules::AddSchedule(), cChannel(), cSchedules::GetSchedule(), SetId(), and SetTransponderData().
char * cChannel::shortName [private] |
Definition at line 107 of file channels.h.
Referenced by cChannel(), operator=(), Parse(), SetName(), ShortName(), ToText(), and ~cChannel().
int cChannel::sid [private] |
Definition at line 135 of file channels.h.
Referenced by GetChannelID(), Parse(), SetId(), cMenuEditChannel::Setup(), Sid(), and ToText().
char cChannel::slangs [private] |
int cChannel::source [private] |
Definition at line 112 of file channels.h.
Referenced by CopyTransponderData(), GetChannelID(), IsAtsc(), IsCable(), IsSat(), IsSourceType(), IsTerr(), Parse(), cMenuEditChannel::ProcessKey(), SetTransponderData(), cMenuEditChannel::Setup(), Source(), ToText(), and TransponderDataToString().
int cChannel::spids [private] |
Definition at line 123 of file channels.h.
Referenced by Parse(), SetPids(), cMenuEditChannel::Setup(), Spid(), Spids(), and ToText().
int cChannel::srate [private] |
Definition at line 113 of file channels.h.
Referenced by CopyTransponderData(), Parse(), SetTransponderData(), Srate(), ToText(), and TransponderDataToString().
uchar cChannel::subtitlingTypes [private] |
Definition at line 125 of file channels.h.
Referenced by SetSubtitlingDescriptors(), and SubtitlingType().
Definition at line 131 of file channels.h.
Referenced by Parse(), SetTeletextSubtitlePages(), TeletextSubtitlePages(), and ToText().
int cChannel::tid [private] |
Definition at line 134 of file channels.h.
Referenced by cMenuEditChannel::cMenuEditChannel(), GetChannelID(), Parse(), SetId(), Tid(), and ToText().
int cChannel::totalTtxtSubtitlePages [private] |
Definition at line 130 of file channels.h.
Referenced by Parse(), SetTeletextSubtitlePages(), and TotalTeletextSubtitlePages().
int cChannel::tpid [private] |
Definition at line 128 of file channels.h.
Referenced by Parse(), SetPids(), cMenuEditChannel::Setup(), ToText(), and Tpid().
int cChannel::vpid [private] |
Definition at line 114 of file channels.h.
Referenced by Parse(), SetPids(), cMenuEditChannel::Setup(), ToText(), and Vpid().
int cChannel::vtype [private] |
1.8.0