19 #define dbgsdt(a...) if (DebugSdt) fprintf(stderr, a) 62 bool ChannelsModified =
false;
94 char *p = strchr(pn,
'>');
101 for (
char *p = ShortNameBuf; *p; p++) {
121 ChannelsModified =
true;
149 ChannelsModified =
true;
155 ChannelsModified =
true;
178 StateKey.
Remove(ChannelsModified);
const cChannel * GetByChannelID(tChannelID ChannelID, bool TryWithoutRid=false, bool TryWithoutPolarization=false) const
static cString ToString(int Code)
bool SetName(const char *Name, const char *ShortName, const char *Provider)
StructureLoop< Service > serviceLoop
int getServiceType() const
int getVersionNumber() const
void Add(cListObject *Object, cListObject *After=NULL)
void Remove(bool IncState=true)
Removes this key from the lock it was previously used with.
StructureLoop< Service > serviceLoop
const cChannel * Channel(void)
Returns the channel of the data delivered to this filter.
bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid=0)
cSectionSyncer sectionSyncer
int getOriginalNetworkId() const
static cChannels * GetChannelsWrite(cStateKey &StateKey, int TimeoutMs=0)
Gets the list of channels for write access.
int Transponder(void) const
Returns the transponder frequency in MHz, plus the polarization in case of sat.
bool Sync(uchar Version, int Number, int LastNumber)
cChannel * NewChannel(const cChannel *Transponder, const char *Name, const char *ShortName, const char *Provider, int Nid, int Tid, int Sid, int Rid=0)
int Source(void)
Returns the source of the data delivered to this filter.
DescriptorLoop serviceDescriptors
int getSectionNumber() const
int getTransportStreamId() const
virtual void SetStatus(bool On)
Turns this filter on or off, depending on the value of On.
int getOriginalNetworkId() const
virtual void SetStatus(bool On)
Turns this filter on or off, depending on the value of On.
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length)
Processes the data delivered to this filter.
static bool IsCable(int Code)
bool SetLinkChannels(cLinkChannels *LinkChannels)
int getTransportStream() const
bool SetSource(int Source)
DescriptorTag getDescriptorTag() const
int Transponder(void)
Returns the transponder of the data delivered to this filter.
void Set(u_short Pid, u_char Tid, u_char Mask=0xFF)
Sets the given filter data by calling Add() with Sticky = true.
bool MarkObsoleteChannels(int Source, int Nid, int Tid)
cSdtFilter(cPatFilter *PatFilter)
Descriptor * getNext(Iterator &it)
int getLastSectionNumber() const