19#define dbgsdt(a...) if (DebugSdt) fprintf(stderr, a)
92 bool ChannelsModified =
false;
93 bool TriggerPat =
false;
122 sd->
serviceName.
getText(NameBuf, ShortNameBuf,
sizeof(NameBuf),
sizeof(ShortNameBuf));
128 char *p = strchr(pn,
'>');
135 for (
char *p = ShortNameBuf; *p; p++) {
155 ChannelsModified =
true;
182 ChannelsModified =
true;
189 ChannelsModified =
true;
214 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 Check(uchar Version, int SectionNumber)
Returns true if Version is not the current version, or the given SectionNumber has not been marked as...
bool Processed(int SectionNumber, int LastSectionNumber, int SegmentLastSectionNumber=-1)
Marks the given SectionNumber as processed.
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