vdr  2.6.9
nit.h
Go to the documentation of this file.
1 /*
2  * nit.h: NIT section filter
3  *
4  * See the main source file 'vdr.c' for copyright information and
5  * how to reach the author.
6  *
7  * $Id: nit.h 4.1 2015/03/16 12:41:38 kls Exp $
8  */
9 
10 #ifndef __NIT_H
11 #define __NIT_H
12 
13 #include "filter.h"
14 #include "sdt.h"
15 
16 class cNitFilter : public cFilter {
17 private:
20 protected:
21  virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length);
22 public:
23  cNitFilter(cSdtFilter *SdtFilter);
24  virtual void SetStatus(bool On);
25  };
26 
27 #endif //__NIT_H
Definition: filter.h:80
Definition: nit.h:16
virtual void SetStatus(bool On)
Turns this filter on or off, depending on the value of On.
Definition: nit.c:35
virtual void Process(u_short Pid, u_char Tid, const u_char *Data, int Length)
Processes the data delivered to this filter.
Definition: nit.c:41
cSectionSyncer sectionSyncer
Definition: nit.h:18
cNitFilter(cSdtFilter *SdtFilter)
Definition: nit.c:29
cSdtFilter * sdtFilter
Definition: nit.h:19
Definition: sdt.h:16
unsigned char u_char
Definition: headers.h:24