vdr  2.2.0
sdt.h
Go to the documentation of this file.
1 /*
2  * sdt.h: SDT section filter
3  *
4  * See the main source file 'vdr.c' for copyright information and
5  * how to reach the author.
6  *
7  * $Id: sdt.h 3.1 2014/03/10 14:40:54 kls Exp $
8  */
9 
10 #ifndef __SDT_H
11 #define __SDT_H
12 
13 #include "filter.h"
14 #include "pat.h"
15 
16 class cSdtFilter : public cFilter {
17 private:
20  int source;
22 protected:
23  virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length);
24 public:
25  cSdtFilter(cPatFilter *PatFilter);
26  virtual void SetStatus(bool On);
27  void Trigger(int Source);
28  };
29 
30 #endif //__SDT_H
Definition: sdt.h:16
cPatFilter * patFilter
Definition: sdt.h:21
cMutex mutex
Definition: sdt.h:18
cSectionSyncer sectionSyncer
Definition: sdt.h:19
Definition: filter.h:41
void Trigger(int Source)
Definition: sdt.c:34
int source
Definition: sdt.h:20
int Source(void)
Returns the source of the data delivered to this filter.
Definition: filter.c:89
Definition: thread.h:63
Definition: pat.h:19
virtual void SetStatus(bool On)
Turns this filter on or off, depending on the value of On.
Definition: sdt.c:25
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length)
Processes the data delivered to this filter.
Definition: sdt.c:40
unsigned char u_char
Definition: headers.h:24
cSdtFilter(cPatFilter *PatFilter)
Definition: sdt.c:18