vdr
1.7.31
|
#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) |
![]() | |
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 |
cListObject * | Prev (void) const |
cListObject * | Next (void) const |
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 |
cListObject * | Prev (void) const |
cListObject * | Next (void) const |
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 | nameSource |
cString | shortNameSource |
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.
cChannel::~cChannel | ( | ) |
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 | ) |
cChannel::~cChannel | ( | ) |
|
inline |
Definition at line 174 of file channels.h.
References alangs, and MAXAPIDS.
Referenced by cRecordingInfo::cRecordingInfo(), cPatPmtGenerator::GeneratePmt(), and cDevice::SetChannel().
|
inline |
Definition at line 174 of file include/vdr/channels.h.
|
inline |
Definition at line 181 of file channels.h.
References ancillaryPageIds, and MAXSPIDS.
Referenced by cPatPmtGenerator::GeneratePmt().
|
inline |
Definition at line 181 of file include/vdr/channels.h.
References ancillaryPageIds, and MAXSPIDS.
|
inline |
Definition at line 171 of file include/vdr/channels.h.
|
inline |
Definition at line 171 of file channels.h.
References apids, and MAXAPIDS.
Referenced by cRecorder::cRecorder(), cPatPmtGenerator::GeneratePmt(), main(), cDvbDevice::ProvidesChannel(), cSkinSTTNGDisplayChannel::SetChannel(), cDevice::SetChannel(), cSkinLCARSDisplayChannel::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), and cDvbSdFfDevice::SetChannelDevice().
|
inline |
Definition at line 168 of file channels.h.
References apids.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cPatPmtGenerator::GeneratePmtPid(), and cReceiver::SetPids().
|
inline |
Definition at line 168 of file include/vdr/channels.h.
References apids.
|
inline |
Definition at line 177 of file include/vdr/channels.h.
|
inline |
Definition at line 177 of file channels.h.
References atypes, and MAXAPIDS.
Referenced by cPatPmtGenerator::GeneratePmt(), and cDvbHdFfDevice::SetAudioTrackDevice().
|
inline |
Definition at line 186 of file channels.h.
References caids, cListObject::Index(), and MAXCAIDS.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cDevice::GetDevice(), cEITScanner::Process(), cDvbDevice::ProvidesChannel(), cSkinSTTNGDisplayChannel::SetChannel(), cSkinLCARSDisplayChannel::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), and cDvbSdFfDevice::SetChannelDevice().
|
inline |
Definition at line 186 of file include/vdr/channels.h.
References caids, cListObject::Index(), and MAXCAIDS.
|
inline |
|
inline |
Definition at line 185 of file include/vdr/channels.h.
References caids.
|
inline |
Definition at line 180 of file include/vdr/channels.h.
References compositionPageIds, and MAXSPIDS.
|
inline |
Definition at line 180 of file channels.h.
References compositionPageIds, and MAXSPIDS.
Referenced by cPatPmtGenerator::GeneratePmt().
void cChannel::CopyTransponderData | ( | const cChannel * | Channel | ) |
Definition at line 185 of file channels.c.
References frequency, parameters, source, and srate.
Referenced by cChannels::NewChannel().
void cChannel::CopyTransponderData | ( | const cChannel * | Channel | ) |
|
inline |
Definition at line 175 of file include/vdr/channels.h.
|
inline |
Definition at line 175 of file channels.h.
References dlangs, and MAXDPIDS.
Referenced by cRecordingInfo::cRecordingInfo(), cPatPmtGenerator::GeneratePmt(), and cDevice::SetChannel().
|
inline |
Definition at line 172 of file channels.h.
References dpids, and MAXDPIDS.
Referenced by cRecorder::cRecorder(), cPatPmtGenerator::GeneratePmt(), main(), cDvbDevice::ProvidesChannel(), cSkinSTTNGDisplayChannel::SetChannel(), cDevice::SetChannel(), cSkinLCARSDisplayChannel::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), and cDvbSdFfDevice::SetChannelDevice().
|
inline |
Definition at line 172 of file include/vdr/channels.h.
|
inline |
Definition at line 169 of file include/vdr/channels.h.
References dpids.
|
inline |
Definition at line 169 of file channels.h.
References dpids.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cPatPmtGenerator::GeneratePmtPid(), and cReceiver::SetPids().
|
inline |
Definition at line 178 of file include/vdr/channels.h.
|
inline |
Definition at line 178 of file channels.h.
References dtypes, and MAXDPIDS.
Referenced by cPatPmtGenerator::GeneratePmt(), cDvbHdFfDevice::SetAudioTrackDevice(), and cDvbHdFfDevice::SetChannelDevice().
|
inline |
Returns the actual frequency, as given in 'channels.conf'.
Definition at line 160 of file include/vdr/channels.h.
References frequency.
|
inline |
Returns the actual frequency, as given in 'channels.conf'.
Definition at line 160 of file channels.h.
References frequency.
Referenced by cDvbTuner::GetBondingParams(), cDvbSourceParam::GetData(), cNitFilter::Process(), cDvbDevice::ProvidesTransponder(), cDvbTuner::SetFrontend(), SetTransponderData(), and Transponder().
|
inline |
Definition at line 202 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().
|
inline |
Definition at line 202 of file include/vdr/channels.h.
|
inline |
Definition at line 193 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(), cSkinSTTNGDisplayChannel::SetChannel(), and cSkinLCARSDisplayChannel::SetChannel().
|
inline |
Definition at line 193 of file include/vdr/channels.h.
References groupSep.
bool cChannel::HasTimer | ( | void | ) | const |
Definition at line 169 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 |
|
inline |
Definition at line 197 of file channels.h.
References source.
Referenced by GetRequiredDeliverySystem(), and IsAtsc().
|
inline |
Definition at line 197 of file include/vdr/channels.h.
|
inline |
Definition at line 198 of file channels.h.
References source.
Referenced by GetRequiredDeliverySystem(), and IsCable().
|
inline |
Definition at line 198 of file include/vdr/channels.h.
|
inline |
Definition at line 199 of file channels.h.
References source.
Referenced by GetRequiredDeliverySystem(), IsSat(), and Transponder().
|
inline |
Definition at line 199 of file include/vdr/channels.h.
|
inline |
Definition at line 201 of file channels.h.
References cSource::IsType(), and source.
|
inline |
Definition at line 201 of file include/vdr/channels.h.
References cSource::IsType(), and source.
|
inline |
Definition at line 200 of file channels.h.
References source.
Referenced by GetRequiredDeliverySystem(), and IsTerr().
|
inline |
Definition at line 200 of file include/vdr/channels.h.
|
inline |
Definition at line 195 of file channels.h.
References linkChannels.
Referenced by SetLinkChannels().
|
inline |
Definition at line 195 of file include/vdr/channels.h.
References linkChannels.
int cChannel::Modification | ( | int | Mask = CHANNELMOD_ALL | ) |
Definition at line 178 of file channels.c.
References CHANNELMOD_NONE, and modification.
int cChannel::Modification | ( | int | Mask = CHANNELMOD_ALL | ) |
const char * cChannel::Name | ( | void | ) | const |
Definition at line 121 of file channels.c.
References groupSep, isempty(), name, nameSource, Setup, cSetup::ShowChannelNamesWithSource, source, cString::sprintf(), and cSource::ToChar().
Referenced by ChannelString(), cSVDRP::CmdCHAN(), cMenuEvent::cMenuEvent(), cMenuChannelItem::Compare(), cRecordControl::cRecordControl(), cRecording::cRecording(), cRecordingInfo::cRecordingInfo(), cTimer::cTimer(), cSkinLCARSDisplayMenu::DrawLive(), cSkinLCARSDisplayMenu::DrawTimer(), cSchedule::Dump(), cChannels::GetNextGroup(), cChannels::GetPrevGroup(), cMenuSchedule::PrepareScheduleAllThis(), cMenuSchedule::PrepareScheduleThisThis(), ReportEpgBugFixStats(), cMenuEditChanItem::Set(), cMenuChannelItem::Set(), cSkinLCARSDisplayChannel::SetChannel(), cEvent::SetRunningStatus(), and ShortName().
const char* cChannel::Name | ( | void | ) | const |
|
inline |
Definition at line 187 of file channels.h.
References nid.
Referenced by cEIT::cEIT(), cNitFilter::Process(), and SetId().
|
inline |
Definition at line 187 of file include/vdr/channels.h.
References nid.
|
inline |
Definition at line 191 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(), cSkinLCARSDisplayMenu::DrawLive(), GetRequiredDeliverySystem(), main(), cMenuChannels::Move(), cDisplayChannel::ProcessKey(), cMenuEditChanItem::ProcessKey(), cMenuEditChannel::ProcessKey(), cMenuWhatsOn::ProcessKey(), cMenuSchedule::ProcessKey(), cMenuChannelItem::Set(), cMenuTimerItem::Set(), SetCaDescriptors(), SetCaIds(), cDevice::SetChannel(), cSkinLCARSDisplayChannel::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().
|
inline |
Definition at line 191 of file include/vdr/channels.h.
References number.
Definition at line 108 of file channels.c.
References __BeginData__, __EndData__, name, nameSource, parameters, portalName, provider, shortName, shortNameSource, and strcpyrealloc().
|
inline |
Definition at line 194 of file include/vdr/channels.h.
References parameters.
|
inline |
Definition at line 194 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 588 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, nameSource, nid, number, parameters, ppid, provider, rid, shortName, shortNameSource, sid, skipspace(), slangs, source, spids, srate, strcpyrealloc(), strn0cpy(), strreplace(), teletextSubtitlePages, tid, totalTtxtSubtitlePages, tpid, vpid, and vtype.
Referenced by cSVDRP::CmdMODC(), and cSVDRP::CmdNEWC().
|
inline |
Definition at line 159 of file include/vdr/channels.h.
References portalName.
|
inline |
Definition at line 159 of file channels.h.
References portalName.
|
inline |
Definition at line 166 of file channels.h.
References ppid.
Referenced by cPatPmtGenerator::GeneratePmt(), cPatPmtGenerator::GeneratePmtPid(), cDvbHdFfDevice::SetChannelDevice(), cDvbSdFfDevice::SetChannelDevice(), cReceiver::SetPids(), and SetPids().
|
inline |
Definition at line 166 of file include/vdr/channels.h.
References ppid.
|
inline |
Definition at line 158 of file channels.h.
References provider.
Referenced by cMenuChannelItem::Compare(), and cMenuChannelItem::Set().
|
inline |
Definition at line 158 of file include/vdr/channels.h.
References provider.
|
inline |
|
inline |
Definition at line 196 of file include/vdr/channels.h.
References refChannel.
|
inline |
|
inline |
Definition at line 190 of file include/vdr/channels.h.
References rid.
bool cChannel::Save | ( | FILE * | f | ) |
bool cChannel::Save | ( | FILE * | f | ) |
Definition at line 820 of file channels.c.
References ToText().
void cChannel::SetCaDescriptors | ( | int | Level | ) |
Definition at line 452 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 431 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 231 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 462 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 250 of file channels.c.
References CHANNELMOD_NAME, Channels, dsyslog, isempty(), modification, name, nameSource, Number(), provider, cChannels::SetModified(), shortName, shortNameSource, and strcpyrealloc().
Referenced by cEIT::cEIT(), and cSdtFilter::Process().
void cChannel::SetName | ( | const char * | Name, |
const char * | ShortName, | ||
const char * | Provider | ||
) |
|
inline |
Definition at line 192 of file channels.h.
|
inline |
Definition at line 192 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 330 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 276 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 509 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 395 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 411 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 195 of file channels.c.
References CHANNELMOD_TRANSP, Channels, dsyslog, esyslog, frequency, Frequency(), modification, nameSource, Number(), parameters, Parameters(), schedule, cChannels::SetModified(), shortNameSource, source, Source(), srate, Srate(), and TransponderDataToString().
Referenced by cDvbSourceParam::GetData(), and cNitFilter::Process().
const char * cChannel::ShortName | ( | bool | OrName = false | ) | const |
Definition at line 131 of file channels.c.
References groupSep, isempty(), Name(), Setup, shortName, shortNameSource, cSetup::ShowChannelNamesWithSource, source, cString::sprintf(), and cSource::ToChar().
Referenced by cMenuEditTimer::ProcessKey(), and cMenuScheduleItem::Update().
const char* cChannel::ShortName | ( | bool | OrName = false | ) | const |
|
inline |
Definition at line 189 of file channels.h.
References sid.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cChannels::GetByChannelID(), cChannels::GetByServiceID(), cChannels::HashChannel(), cPatFilter::Process(), SetId(), and cChannels::UnhashChannel().
|
inline |
Definition at line 189 of file include/vdr/channels.h.
References sid.
|
inline |
Definition at line 176 of file channels.h.
References MAXSPIDS, and slangs.
Referenced by cRecordingInfo::cRecordingInfo(), cPatPmtGenerator::GeneratePmt(), and cDevice::SetChannel().
|
inline |
Definition at line 176 of file include/vdr/channels.h.
|
inline |
Definition at line 163 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().
|
inline |
Definition at line 163 of file include/vdr/channels.h.
References source.
|
inline |
Definition at line 173 of file include/vdr/channels.h.
|
inline |
Definition at line 173 of file channels.h.
References MAXSPIDS, and spids.
Referenced by cPatPmtGenerator::GeneratePmt(), and cDevice::SetChannel().
|
inline |
Definition at line 170 of file channels.h.
References spids.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cPatPmtGenerator::GeneratePmtPid(), and cReceiver::SetPids().
|
inline |
Definition at line 170 of file include/vdr/channels.h.
References spids.
|
inline |
Definition at line 164 of file channels.h.
References srate.
Referenced by cNitFilter::Process(), cDvbSourceParam::SetData(), cDvbTuner::SetFrontend(), and SetTransponderData().
|
inline |
Definition at line 164 of file include/vdr/channels.h.
References srate.
|
inline |
Definition at line 179 of file include/vdr/channels.h.
References MAXSPIDS, and subtitlingTypes.
|
inline |
Definition at line 179 of file channels.h.
References MAXSPIDS, and subtitlingTypes.
Referenced by cPatPmtGenerator::GeneratePmt().
|
inline |
Definition at line 183 of file channels.h.
References teletextSubtitlePages.
Referenced by cPatPmtGenerator::GeneratePmt().
|
inline |
Definition at line 183 of file include/vdr/channels.h.
References teletextSubtitlePages.
|
inline |
Definition at line 188 of file include/vdr/channels.h.
References tid.
|
inline |
Definition at line 188 of file channels.h.
References tid.
Referenced by cEIT::cEIT(), cNitFilter::Process(), and SetId().
|
inline |
Definition at line 184 of file include/vdr/channels.h.
References totalTtxtSubtitlePages.
|
inline |
Definition at line 184 of file channels.h.
References totalTtxtSubtitlePages.
Referenced by cPatPmtGenerator::GeneratePmt().
Definition at line 521 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 583 of file channels.c.
Referenced by Save().
cString cChannel::ToText | ( | void | ) | const |
|
inline |
Definition at line 182 of file include/vdr/channels.h.
References tpid.
|
inline |
Definition at line 182 of file channels.h.
References tpid.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cPatPmtGenerator::GeneratePmt(), cPatPmtGenerator::GeneratePmtPid(), cSkinSTTNGDisplayChannel::SetChannel(), cSkinLCARSDisplayChannel::SetChannel(), 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 156 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 |
builds the transponder from the given Frequency and Polarization
|
static |
builds the transponder from the given Frequency and Polarization
Definition at line 143 of file channels.c.
References esyslog, and Frequency().
|
private |
Definition at line 514 of file channels.c.
References frequency, cSource::IsTerr(), parameters, source, cString::sprintf(), srate, and cSource::ToString().
Referenced by SetTransponderData().
|
private |
|
inline |
Definition at line 165 of file include/vdr/channels.h.
References vpid.
|
inline |
Definition at line 165 of file channels.h.
References vpid.
Referenced by cCamSlot::AddChannel(), cCamSlot::CanDecrypt(), cRecorder::cRecorder(), cPatPmtGenerator::GeneratePmt(), cPatPmtGenerator::GeneratePmtPid(), main(), cDvbDevice::ProvidesChannel(), cSkinSTTNGDisplayChannel::SetChannel(), cSkinLCARSDisplayChannel::SetChannel(), cDvbHdFfDevice::SetChannelDevice(), cDvbSdFfDevice::SetChannelDevice(), cReceiver::SetPids(), and SetPids().
|
inline |
Definition at line 167 of file channels.h.
References vtype.
Referenced by cRecorder::cRecorder(), cPatPmtGenerator::GeneratePmt(), cDvbHdFfDevice::SetChannelDevice(), and SetPids().
|
inline |
Definition at line 167 of file include/vdr/channels.h.
References vtype.
|
friend |
Definition at line 103 of file channels.h.
|
friend |
Definition at line 102 of file channels.h.
|
friend |
Definition at line 101 of file channels.h.
|
private |
Definition at line 110 of file channels.h.
Referenced by cChannel(), and operator=().
|
private |
Definition at line 139 of file channels.h.
Referenced by cChannel(), and operator=().
|
private |
|
private |
Definition at line 127 of file channels.h.
Referenced by AncillaryPageId(), and SetSubtitlingDescriptors().
|
private |
Definition at line 117 of file channels.h.
Referenced by Apid(), Apids(), Parse(), SetPids(), cMenuEditChannel::Setup(), and ToText().
|
private |
|
private |
Definition at line 132 of file channels.h.
Referenced by Ca(), Caids(), Parse(), SetCaIds(), cMenuEditChannel::Setup(), and ToText().
|
private |
Definition at line 126 of file channels.h.
Referenced by CompositionPageId(), and SetSubtitlingDescriptors().
|
private |
|
private |
Definition at line 120 of file channels.h.
Referenced by Dpid(), Dpids(), Parse(), SetPids(), cMenuEditChannel::Setup(), and ToText().
|
private |
|
private |
Definition at line 129 of file channels.h.
Referenced by Parse(), SetTeletextSubtitlePages(), and ToText().
|
private |
Definition at line 111 of file channels.h.
Referenced by CopyTransponderData(), Frequency(), Parse(), SetTransponderData(), cMenuEditChannel::Setup(), ToText(), Transponder(), and TransponderDataToString().
|
private |
Definition at line 138 of file channels.h.
Referenced by GroupSep(), Name(), Parse(), ShortName(), and ToText().
|
private |
Definition at line 145 of file channels.h.
Referenced by cChannel(), LinkChannels(), SetLinkChannels(), and ~cChannel().
|
private |
Definition at line 143 of file channels.h.
Referenced by cChannel(), Modification(), SetCaDescriptors(), SetCaIds(), SetId(), SetName(), SetPids(), SetPortalName(), SetTeletextSubtitlePages(), and SetTransponderData().
|
private |
Definition at line 106 of file channels.h.
Referenced by cChannel(), cMenuEditChannel::cMenuEditChannel(), Name(), operator=(), Parse(), cMenuEditChannel::ProcessKey(), SetName(), ToText(), and ~cChannel().
|
mutableprivate |
Definition at line 140 of file channels.h.
Referenced by Name(), operator=(), Parse(), SetName(), and SetTransponderData().
|
private |
Definition at line 133 of file channels.h.
Referenced by cMenuEditChannel::cMenuEditChannel(), GetChannelID(), Nid(), Parse(), SetId(), and ToText().
|
private |
Definition at line 137 of file channels.h.
Referenced by Number(), Parse(), SetNumber(), and ToText().
|
private |
Definition at line 142 of file channels.h.
Referenced by cChannel(), CopyTransponderData(), operator=(), Parameters(), Parse(), SetTransponderData(), ToText(), Transponder(), and TransponderDataToString().
|
private |
Definition at line 109 of file channels.h.
Referenced by cChannel(), operator=(), PortalName(), SetPortalName(), and ~cChannel().
|
private |
Definition at line 115 of file channels.h.
Referenced by Parse(), Ppid(), SetPids(), cMenuEditChannel::Setup(), and ToText().
|
private |
Definition at line 108 of file channels.h.
Referenced by cChannel(), operator=(), Parse(), Provider(), SetName(), ToText(), and ~cChannel().
|
private |
Definition at line 146 of file channels.h.
Referenced by cChannel(), RefChannel(), and SetRefChannel().
|
private |
Definition at line 136 of file channels.h.
Referenced by cMenuEditChannel::cMenuEditChannel(), GetChannelID(), Parse(), Rid(), SetId(), and ToText().
|
mutableprivate |
Definition at line 144 of file channels.h.
Referenced by cSchedules::AddSchedule(), cChannel(), cSchedules::GetSchedule(), SetId(), and SetTransponderData().
|
private |
Definition at line 107 of file channels.h.
Referenced by cChannel(), operator=(), Parse(), SetName(), ShortName(), ToText(), and ~cChannel().
|
mutableprivate |
Definition at line 141 of file channels.h.
Referenced by operator=(), Parse(), SetName(), SetTransponderData(), and ShortName().
|
private |
Definition at line 135 of file channels.h.
Referenced by GetChannelID(), Parse(), SetId(), cMenuEditChannel::Setup(), Sid(), and ToText().
|
private |
|
private |
Definition at line 112 of file channels.h.
Referenced by CopyTransponderData(), GetChannelID(), IsAtsc(), IsCable(), IsSat(), IsSourceType(), IsTerr(), Name(), Parse(), cMenuEditChannel::ProcessKey(), SetTransponderData(), cMenuEditChannel::Setup(), ShortName(), Source(), ToText(), and TransponderDataToString().
|
private |
Definition at line 123 of file channels.h.
Referenced by Parse(), SetPids(), cMenuEditChannel::Setup(), Spid(), Spids(), and ToText().
|
private |
Definition at line 113 of file channels.h.
Referenced by CopyTransponderData(), Parse(), SetTransponderData(), Srate(), ToText(), and TransponderDataToString().
|
private |
Definition at line 125 of file channels.h.
Referenced by SetSubtitlingDescriptors(), and SubtitlingType().
|
private |
Definition at line 131 of file channels.h.
Referenced by Parse(), SetTeletextSubtitlePages(), TeletextSubtitlePages(), and ToText().
|
private |
Definition at line 134 of file channels.h.
Referenced by cMenuEditChannel::cMenuEditChannel(), GetChannelID(), Parse(), SetId(), Tid(), and ToText().
|
private |
Definition at line 130 of file channels.h.
Referenced by Parse(), SetTeletextSubtitlePages(), and TotalTeletextSubtitlePages().
|
private |
Definition at line 128 of file channels.h.
Referenced by Parse(), SetPids(), cMenuEditChannel::Setup(), ToText(), and Tpid().
|
private |
Definition at line 114 of file channels.h.
Referenced by Parse(), SetPids(), cMenuEditChannel::Setup(), ToText(), and Vpid().
|
private |