Go to the documentation of this file.
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);
virtual void SetStatus(bool On)
Turns this filter on or off, depending on the value of On.
int Transponder(void)
Returns the transponder of the data delivered to this filter.
bool SetName(const char *Name, const char *ShortName, const char *Provider)
void Set(u_short Pid, u_char Tid, u_char Mask=0xFF)
Sets the given filter data by calling Add() with Sticky = true.
StructureLoop< Service > serviceLoop
static cString ToString(int Code)
void Add(cListObject *Object, cListObject *After=NULL)
virtual void SetStatus(bool On)
Turns this filter on or off, depending on the value of On.
static cChannels * GetChannelsWrite(cStateKey &StateKey, int TimeoutMs=0)
Gets the list of channels for write access.
int getLastSectionNumber() const
bool SetId(cChannels *Channels, int Nid, int Tid, int Sid, int Rid=0)
int getSectionNumber() const
bool SetLinkChannels(cLinkChannels *LinkChannels)
bool MarkObsoleteChannels(int Source, int Nid, int Tid)
DescriptorTag getDescriptorTag() const
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)
int getOriginalNetworkId() const
void Remove(bool IncState=true)
Removes this key from the lock it was previously used with.
const cChannel * GetByChannelID(tChannelID ChannelID, bool TryWithoutRid=false, bool TryWithoutPolarization=false) const
const cChannel * Channel(void)
Returns the channel of the data delivered to this filter.
bool Processed(int SectionNumber, int LastSectionNumber, int SegmentLastSectionNumber=-1)
Marks the given SectionNumber as processed.
cChannel * NewChannel(const cChannel *Transponder, const char *Name, const char *ShortName, const char *Provider, int Nid, int Tid, int Sid, int Rid=0)
int getServiceType() const
#define ISTRANSPONDER(f1, f2)
bool Check(uchar Version, int SectionNumber)
Returns true if Version is not the current version, or the given SectionNumber has not been marked as...
DescriptorLoop serviceDescriptors
Descriptor * getNext(Iterator &it)
bool SetSource(int Source)
int getTransportStream() const
int Source(void)
Returns the source of the data delivered to this filter.
cSectionSyncer sectionSyncer
enum eTransponderState transponderState
int getTransportStreamId() const
cSdtFilter(cPatFilter *PatFilter)
@ NVODReferenceDescriptorTag
int getVersionNumber() const
int getOriginalNetworkId() const
StructureLoop< Service > serviceLoop