cSdtFilter Class Reference

#include <sdt.h>

Inheritance diagram for cSdtFilter:

Inheritance graph
Collaboration diagram for cSdtFilter:

Collaboration graph

List of all members.

Public Member Functions

 cSdtFilter (cPatFilter *PatFilter)
virtual void SetStatus (bool On)

Protected Member Functions

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

Private Attributes

cSectionSyncer sectionSyncer

Detailed Description

Definition at line 16 of file sdt.h.

Constructor & Destructor Documentation

cSdtFilter::cSdtFilter ( cPatFilter PatFilter  ) 

Definition at line 18 of file sdt.c.

References patFilter, and cFilter::Set().

Here is the call graph for this function:

Member Function Documentation

void cSdtFilter::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.

Definition at line 30 of file sdt.c.

References cListBase::Add(), cFilter::Channel(), Channels, SI::CRCSection::CheckCRCAndParse(), compactspace(), cChannels::GetByChannelID(), SI::Descriptor::getDescriptorTag(), SI::NumberedSection::getLastSectionNumber(), SI::NVODReferenceDescriptor::Service::getOriginalNetworkId(), SI::SDT::getOriginalNetworkId(), SI::NumberedSection::getSectionNumber(), SI::NVODReferenceDescriptor::Service::getServiceId(), SI::SDT::Service::getServiceId(), SI::ServiceDescriptor::getServiceType(), SI::NVODReferenceDescriptor::Service::getTransportStream(), SI::SDT::getTransportStreamId(), SI::NumberedSection::getVersionNumber(), cSource::IsCable(), cRwLock::Lock(), cChannels::NewChannel(), SI::NVODReferenceDescriptorTag, patFilter, SI::ServiceDescriptor::providerName, sectionSyncer, SI::SDT::Service::serviceDescriptors, SI::ServiceDescriptorTag, SI::NVODReferenceDescriptor::serviceLoop, SI::SDT::serviceLoop, SI::ServiceDescriptor::serviceName, cChannel::SetId(), cChannel::SetLinkChannels(), cChannel::SetName(), Setup, skipspace(), cFilter::Source(), cSectionSyncer::Sync(), cFilter::Transponder(), cPatFilter::Trigger(), cRwLock::Unlock(), and cSetup::UpdateChannels.

Here is the call graph for this function:

void cSdtFilter::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.

Definition at line 24 of file sdt.c.

References cSectionSyncer::Reset(), sectionSyncer, and cFilter::SetStatus().

Here is the call graph for this function:

Member Data Documentation

cSectionSyncer cSdtFilter::sectionSyncer [private]

Definition at line 18 of file sdt.h.

Referenced by Process(), and SetStatus().

cPatFilter* cSdtFilter::patFilter [private]

Definition at line 19 of file sdt.h.

Referenced by cSdtFilter(), and Process().

The documentation for this class was generated from the following files:
Generated on Tue Nov 6 20:26:21 2007 for VDR by  doxygen 1.5.3-20071008