vdr 2.7.5
SI::PMT Class Reference

#include <section.h>

Classes

class  Stream

Public Member Functions

 PMT (const unsigned char *data, bool doCopy=true)
 PMT ()
int getServiceId () const
int getPCRPid () const
Public Member Functions inherited from SI::NumberedSection
 NumberedSection (const unsigned char *data, bool doCopy=true)
 NumberedSection ()
int getTableIdExtension () const
bool getCurrentNextIndicator () const
int getVersionNumber () const
int getSectionNumber () const
int getLastSectionNumber () const
bool moreThanOneSection () const
Public Member Functions inherited from SI::CRCSection
 CRCSection (const unsigned char *data, bool doCopy=true)
 CRCSection ()
bool isCRCValid ()
bool CheckCRCAndParse ()
Public Member Functions inherited from SI::Section
 Section (const unsigned char *data, bool doCopy=true)
 Section ()
TableId getTableId () const
virtual int getLength () override
Public Member Functions inherited from SI::Object
 Object ()
 Object (CharArray &d)
void setData (const unsigned char *data, int size, bool doCopy=true)
CharArray getData ()
bool isValid ()
Public Member Functions inherited from SI::Parsable
void CheckParse ()

Public Attributes

DescriptorLoop commonDescriptors
StructureLoop< StreamstreamLoop

Protected Member Functions

virtual void Parse () override
Protected Member Functions inherited from SI::Object
void setData (CharArray &d)
bool checkSize (int offset)
Protected Member Functions inherited from SI::Parsable
 Parsable ()
virtual ~Parsable ()

Private Attributes

const pmts

Additional Inherited Members

Static Public Member Functions inherited from SI::NumberedSection
static int getTableIdExtension (const unsigned char *d)
Static Public Member Functions inherited from SI::Section
static int getLength (const unsigned char *d)
static TableId getTableId (const unsigned char *d)
Protected Attributes inherited from SI::Object
CharArray data

Detailed Description

Definition at line 55 of file section.h.

Constructor & Destructor Documentation

◆ PMT() [1/2]

SI::PMT::PMT ( const unsigned char * data,
bool doCopy = true )
inline

Definition at line 57 of file section.h.

References SI::Object::data, and SI::NumberedSection::NumberedSection().

◆ PMT() [2/2]

SI::PMT::PMT ( )
inline

Definition at line 58 of file section.h.

Member Function Documentation

◆ getPCRPid()

int SI::PMT::getPCRPid ( ) const

Definition at line 61 of file section.c.

References HILO, and s.

Referenced by cPatPmtParser::ParsePmt(), and cPatFilter::Process().

◆ getServiceId()

int SI::PMT::getServiceId ( ) const

Definition at line 57 of file section.c.

References HILO, and s.

Referenced by cPatPmtParser::ParsePmt(), and cPatFilter::Process().

◆ Parse()

void SI::PMT::Parse ( )
overrideprotectedvirtual

Implements SI::Parsable.

Definition at line 50 of file section.c.

References commonDescriptors, SI::Object::data, SI::Section::getLength(), HILO, s, and streamLoop.

Member Data Documentation

◆ commonDescriptors

DescriptorLoop SI::PMT::commonDescriptors

Definition at line 70 of file section.h.

Referenced by Parse(), and cPatFilter::Process().

◆ s

const pmt* SI::PMT::s
private

Definition at line 77 of file section.h.

Referenced by getPCRPid(), getServiceId(), and Parse().

◆ streamLoop

StructureLoop<Stream> SI::PMT::streamLoop

Definition at line 71 of file section.h.

Referenced by Parse(), cPatPmtParser::ParsePmt(), and cPatFilter::Process().


The documentation for this class was generated from the following files: