13 #include <sys/types.h>
30 bool Sync(
uchar Version,
int Number,
int LastNumber);
87 void Add(u_short Pid,
u_char Tid,
u_char Mask = 0xFF,
bool Sticky =
false);
bool Matches(u_short Pid, u_char Tid)
cList< cFilterData > data
void Add(u_short Pid, u_char Tid, u_char Mask=0xFF, bool Sticky=false)
Adds the given filter data to this filter.
const cChannel * Channel(void)
Returns the channel of the data delivered to this filter.
cFilterData & operator=(const cFilterData &FilterData)
bool GetSectionFlag(uchar Section)
void SetSectionFlag(uchar Section, bool On)
bool Sync(uchar Version, int Number, int LastNumber)
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length)=0
Processes the data delivered to this filter.
bool Matches(u_short Pid, u_char Tid)
Indicates whether this filter wants to receive data from the given Pid/Tid.
void Del(u_short Pid, u_char Tid, u_char Mask=0xFF)
Deletes the given filter data from this filter.
int Source(void)
Returns the source of the data delivered to this filter.
cSectionHandler * sectionHandler
bool Is(u_short Pid, u_char Tid, u_char Mask)
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.
void Set(u_short Pid, u_char Tid, u_char Mask=0xFF)
Sets the given filter data by calling Add() with Sticky = true.