16#define DEPRECATED_SECTIONSYNCER_SYNC_REPEAT 1
44 bool Processed(
int SectionNumber,
int LastSectionNumber,
int SegmentLastSectionNumber = -1);
52#if DEPRECATED_SECTIONSYNCER_SYNC_REPEAT
54 bool Sync(
uchar Version,
int Number,
int LastNumber);
cFilterData & operator=(const cFilterData &FilterData)
bool Matches(u_short Pid, u_char Tid)
bool Is(u_short Pid, u_char Tid, u_char Mask)
cFilterData(u_short Pid, u_char Tid, u_char Mask, bool Sticky)
void Set(u_short Pid, u_char Tid, u_char Mask=0xFF)
Sets the given filter data by calling Add() with Sticky = true.
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length)=0
Processes the data delivered to this filter.
int Transponder(void)
Returns the transponder of the data delivered to this filter.
int Source(void)
Returns the source of the data delivered to this filter.
cSectionHandler * sectionHandler
const cChannel * Channel(void)
Returns the channel of the data delivered to this filter.
cFilter(u_short Pid, u_char Tid, u_char Mask=0xFF)
cList< cFilterData > data
void Del(u_short Pid, u_char Tid, u_char Mask=0xFF)
Deletes the given filter data from this filter.
void Add(u_short Pid, u_char Tid, u_char Mask=0xFF, bool Sticky=false)
Adds the given filter data to this filter.
virtual void SetStatus(bool On)
Turns this filter on or off, depending on the value of On.
bool Matches(u_short Pid, u_char Tid)
Indicates whether this filter wants to receive data from the given Pid/Tid.
cSectionSyncerRandom(void)
< Helper class for having an array of random section syncers.
void SetSectionFlag(uchar Section, bool On)
bool Check(uchar Version, int SectionNumber)
Returns true if Version is not the current version, or the given SectionNumber has not been marked as...
cSectionSyncer(bool Random=false)
Sets up a new section syncer.
bool Processed(int SectionNumber, int LastSectionNumber, int SegmentLastSectionNumber=-1)
Marks the given SectionNumber as processed.
bool Sync(uchar Version, int Number, int LastNumber)
bool Complete(void)
Returns true if all sections have been processed.
bool GetSectionFlag(uchar Section)