vdr 2.6.1
sections.h
Go to the documentation of this file.
1/*
2 * sections.h: Section data handling
3 *
4 * See the main source file 'vdr.c' for copyright information and
5 * how to reach the author.
6 *
7 * $Id: sections.h 5.1 2021/06/08 15:10:51 kls Exp $
8 */
9
10#ifndef __SECTIONS_H
11#define __SECTIONS_H
12
13#include <time.h>
14#include "filter.h"
15#include "thread.h"
16#include "tools.h"
17
18class cDevice;
19class cChannel;
20class cFilterHandle;
22
23class cSectionHandler : public cThread {
24 friend class cFilter;
25private:
28 int statusCount;
29 bool on, waitForLock;
30 bool flush;
31 bool startFilters;
35 void Add(const cFilterData *FilterData);
36 void Del(const cFilterData *FilterData);
37 virtual void Action(void);
38public:
41 int Source(void);
42 int Transponder(void);
43 const cChannel *Channel(void);
44 void Attach(cFilter *Filter);
45 void Detach(cFilter *Filter);
47 void SetStatus(bool On);
48 };
49
50#endif //__SECTIONS_H
Definition: filter.h:80
int Transponder(void)
cList< cFilterHandle > filterHandles
void SetChannel(const cChannel *Channel)
int Source(void)
const cChannel * Channel(void)
virtual void Action(void)
A derived cThread class must implement the code it wants to execute as a separate thread in this func...
cSectionHandler(cDevice *Device)
void Del(const cFilterData *FilterData)
void Add(const cFilterData *FilterData)
void SetStatus(bool On)
cSectionHandlerPrivate * shp
void Attach(cFilter *Filter)
virtual ~cSectionHandler()
cList< cFilter > filters
void Detach(cFilter *Filter)