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