vdr
2.2.0
|
#include <nit.h>
Classes | |
class | cNit |
Public Member Functions | |
cNitFilter (cSdtFilter *SdtFilter) | |
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 |
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 () |
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 | |
cSectionSyncer | sectionSyncer |
cSdtFilter * | sdtFilter |
cNit | nits [MAXNITS] |
u_short | networkId |
int | numNits |
cNitFilter::cNitFilter | ( | cSdtFilter * | SdtFilter | ) |
|
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 38 of file nit.c.
References cEITScanner::AddTransponder(), BCD2INT(), SI::CableDeliverySystemDescriptorTag, cFilter::Channel(), Channels, SI::CRCSection::CheckCRCAndParse(), SI::NIT::commonDescriptors, DVB_SYSTEM_1, DVB_SYSTEM_2, EITScanner, SI::ExtensionDescriptorTag, cList< T >::First(), SI::FrequencyListDescriptor::frequencies, cChannel::Frequency(), SI::FrequencyListDescriptorTag, cSource::FromData(), SI::TerrestrialDeliverySystemDescriptor::getBandwidth(), SI::T2DeliverySystemDescriptor::getBandwidth(), SI::TerrestrialDeliverySystemDescriptor::getCodeRateHP(), SI::TerrestrialDeliverySystemDescriptor::getCodeRateLP(), SI::FrequencyListDescriptor::getCodingType(), SI::TerrestrialDeliverySystemDescriptor::getConstellation(), SI::TypeLoop< T >::getCount(), SI::Descriptor::getDescriptorTag(), SI::T2DeliverySystemDescriptor::getExtendedDataFlag(), SI::ExtensionDescriptor::getExtensionDescriptorTag(), SI::SatelliteDeliverySystemDescriptor::getFecInner(), SI::CableDeliverySystemDescriptor::getFecInner(), SI::SatelliteDeliverySystemDescriptor::getFrequency(), SI::CableDeliverySystemDescriptor::getFrequency(), SI::TerrestrialDeliverySystemDescriptor::getFrequency(), SI::TerrestrialDeliverySystemDescriptor::getGuardInterval(), SI::T2DeliverySystemDescriptor::getGuardInterval(), SI::TerrestrialDeliverySystemDescriptor::getHierarchy(), SI::S2SatelliteDeliverySystemDescriptor::getInputStreamIdentifier(), SI::NumberedSection::getLastSectionNumber(), SI::LogicalChannelDescriptor::LogicalChannel::getLogicalChannelNumber(), SI::HdSimulcastLogicalChannelDescriptor::HdSimulcastLogicalChannel::getLogicalChannelNumber(), SI::CableDeliverySystemDescriptor::getModulation(), SI::SatelliteDeliverySystemDescriptor::getModulationSystem(), SI::SatelliteDeliverySystemDescriptor::getModulationType(), SI::NIT::getNetworkId(), SI::DescriptorLoop::getNext(), SI::TypeLoop< T >::getNext(), SI::SatelliteDeliverySystemDescriptor::getOrbitalPosition(), SI::NIT::TransportStream::getOriginalNetworkId(), SI::T2DeliverySystemDescriptor::getPlpId(), SI::SatelliteDeliverySystemDescriptor::getPolarization(), SI::SatelliteDeliverySystemDescriptor::getRollOff(), SI::NumberedSection::getSectionNumber(), SI::LogicalChannelDescriptor::LogicalChannel::getServiceId(), SI::HdSimulcastLogicalChannelDescriptor::HdSimulcastLogicalChannel::getServiceId(), SI::T2DeliverySystemDescriptor::getSisoMiso(), SI::SatelliteDeliverySystemDescriptor::getSymbolRate(), SI::CableDeliverySystemDescriptor::getSymbolRate(), SI::T2DeliverySystemDescriptor::getT2SystemId(), SI::String::getText(), SI::TerrestrialDeliverySystemDescriptor::getTransmissionMode(), SI::T2DeliverySystemDescriptor::getTransmissionMode(), SI::NIT::TransportStream::getTransportStreamId(), SI::NumberedSection::getVersionNumber(), SI::LogicalChannelDescriptor::LogicalChannel::getVisibleServiceFlag(), SI::HdSimulcastLogicalChannelDescriptor::HdSimulcastLogicalChannel::getVisibleServiceFlag(), SI::SatelliteDeliverySystemDescriptor::getWestEastFlag(), cChannel::GroupSep(), GUARD_INTERVAL_19_128, GUARD_INTERVAL_19_256, GUARD_INTERVAL_1_128, SI::TypeLoop< T >::hasNext(), cNitFilter::cNit::hasTransponder, SI::HdSimulcastLogicalChannelDescriptorTag, SI::HdSimulcastLogicalChannelDescriptor::hdSimulcastLogicalChannelLoop, cSource::IsSat(), ISTRANSPONDER, cChannel::Lcn(), cRwLock::Lock(), SI::LogicalChannelDescriptorTag, SI::LogicalChannelDescriptor::logicalChannelLoop, MAXNETWORKNAME, MAXNITS, min(), cNitFilter::cNit::name, SI::NetworkNameDescriptor::name, cNitFilter::cNit::networkId, networkId, SI::NetworkNameDescriptorTag, cList< T >::Next(), cChannel::Nid(), nits, numNits, cChannel::Parameters(), cDvbTransponderParameters::Polarization(), SI::S2SatelliteDeliverySystemDescriptorTag, SI::SatelliteDeliverySystemDescriptorTag, sdtFilter, sectionSyncer, cDvbTransponderParameters::SetBandwidth(), cDvbTransponderParameters::SetCoderateH(), cDvbTransponderParameters::SetCoderateL(), cDvbTransponderParameters::SetGuard(), cDvbTransponderParameters::SetHierarchy(), cChannel::SetId(), cDvbTransponderParameters::SetLcn(), cChannel::SetLcn(), cDvbTransponderParameters::SetModulation(), cDvbTransponderParameters::SetPolarization(), cDvbTransponderParameters::SetRollOff(), cDvbTransponderParameters::SetSystem(), cDvbTransponderParameters::SetTransmission(), cChannel::SetTransponderData(), Setup, cChannel::Sid(), cFilter::Source(), cChannel::Source(), cChannel::Srate(), STANDARD_NORDIG, cSetup::StandardCompliance, cSource::stCable, cSource::stSat, cSource::stTerr, cSectionSyncer::Sync(), SI::T2DeliverySystemDescriptorTag, SI::TerrestrialDeliverySystemDescriptorTag, cChannel::Tid(), cSource::ToChar(), cDvbTransponderParameters::ToString(), TRANSMISSION_MODE_16K, TRANSMISSION_MODE_1K, TRANSMISSION_MODE_32K, TRANSMISSION_MODE_4K, cFilter::Transponder(), cChannel::Transponder(), SI::NIT::TransportStream::transportStreamDescriptors, SI::NIT::transportStreamLoop, cSdtFilter::Trigger(), cRwLock::Unlock(), and cSetup::UpdateChannels.
|
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 30 of file nit.c.
References networkId, numNits, cSectionSyncer::Reset(), sectionSyncer, and cFilter::SetStatus().
|
private |
Definition at line 32 of file nit.h.
Referenced by cNitFilter(), Process(), and SetStatus().
|
private |
Definition at line 33 of file nit.h.
Referenced by cNitFilter(), Process(), and SetStatus().
|
private |
Definition at line 30 of file nit.h.
Referenced by cNitFilter(), and Process().
|
private |
Definition at line 29 of file nit.h.
Referenced by Process(), and SetStatus().