vdr 2.6.3
|
#include <eit.h>
Public Member Functions | |
cEitFilter (void) | |
virtual void | SetStatus (bool On) |
![]() | |
cListObject (void) | |
virtual | ~cListObject () |
virtual int | Compare (const cListObject &ListObject) const |
void | Append (cListObject *Object) |
void | Insert (cListObject *Object) |
void | Unlink (void) |
int | Index (void) const |
cListObject * | Prev (void) const |
cListObject * | Next (void) const |
Static Public Member Functions | |
static void | SetDisableUntil (time_t Time) |
Protected Member Functions | |
virtual void | Process (u_short Pid, u_char Tid, const u_char *Data, int Length) |
![]() | |
cFilter (void) | |
cFilter (u_short Pid, u_char Tid, u_char Mask=0xFF) | |
virtual | ~cFilter () |
virtual void | SetStatus (bool On) |
virtual void | Process (u_short Pid, u_char Tid, const u_char *Data, int Length)=0 |
int | Source (void) |
int | Transponder (void) |
const cChannel * | Channel (void) |
bool | Matches (u_short Pid, u_char Tid) |
void | Set (u_short Pid, u_char Tid, u_char Mask=0xFF) |
void | Add (u_short Pid, u_char Tid, u_char Mask=0xFF, bool Sticky=false) |
void | Del (u_short Pid, u_char Tid, u_char Mask=0xFF) |
Private Attributes | |
cMutex | mutex |
cEitTablesHash | eitTablesHash |
Static Private Attributes | |
static time_t | disableUntil = 0 |
cEitFilter::cEitFilter | ( | void | ) |
Definition at line 495 of file eit.c.
References cFilter::Set().
|
protectedvirtual |
Processes the data delivered to this filter.
Pid and Tid is one of the combinations added to this filter by a previous call to Add(), Data is a pointer to Length bytes of data. This function will be called from the section handler's thread, so it has to use proper locking mechanisms in case it accesses any global data. It is guaranteed that if several cFilters are attached to the same cSectionHandler, only one of them has its Process() function called at any given time. It is allowed that more than one cFilter are set up to receive the same Pid/Tid. The Process() function must return as soon as possible.
Implements cFilter.
Definition at line 513 of file eit.c.
References disableUntil, eitTablesHash, ISTRANSPONDER, mutex, cSetup::SetSystemTime, Setup, cFilter::Source(), cSetup::TimeSource, cSetup::TimeTransponder, and cFilter::Transponder().
|
static |
Definition at line 508 of file eit.c.
References disableUntil.
Referenced by cSVDRPServer::CmdCLRE(), and cSVDRPServer::Execute().
|
virtual |
Turns this filter on or off, depending on the value of On.
If the filter is turned off, any filter data that has been added without the Sticky parameter set to 'true' will be automatically deleted. Those parameters that have been added with Sticky set to 'true' will be automatically reused when SetStatus(true) is called.
Reimplemented from cFilter.
Definition at line 501 of file eit.c.
References cHashBase::Clear(), eitTablesHash, mutex, and cFilter::SetStatus().
|
staticprivate |
Definition at line 52 of file eit.h.
Referenced by Process(), and SetDisableUntil().
|
private |
Definition at line 51 of file eit.h.
Referenced by Process(), and SetStatus().
|
private |
Definition at line 50 of file eit.h.
Referenced by Process(), and SetStatus().