SASC
DVBSoftCAM

cNitFilter Class Reference

#include <nit.h>

Inheritance diagram for cNitFilter:

List of all members.

Classes

class  cNit

Public Member Functions

 cNitFilter (void)
virtual void SetStatus (bool On)

Protected Member Functions

virtual void Process (u_short Pid, u_char Tid, const u_char *Data, int Length)

Detailed Description

Definition at line 18 of file nit.h.


Constructor & Destructor Documentation

cNitFilter::cNitFilter ( void  )

Member Function Documentation

virtual void cNitFilter::Process ( u_short  Pid,
u_char  Tid,
const u_char *  Data,
int  Length 
) [protected, virtual]

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.

virtual void cNitFilter::SetStatus ( bool  On) [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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines