SASC
DVBSoftCAM

SI::PMT Class Reference

#include <section.h>

Inheritance diagram for SI::PMT:

List of all members.

Classes

class  Stream

Public Member Functions

 PMT (const unsigned char *data, bool doCopy=true)
 PMT ()
int getServiceId () const
int getPCRPid () const

Public Attributes

DescriptorLoop commonDescriptors
StructureLoop< Stream > streamLoop

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 55 of file section.h.


Constructor & Destructor Documentation

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

Definition at line 57 of file section.h.

: NumberedSection(data, doCopy) {}
SI::PMT::PMT ( ) [inline]

Definition at line 58 of file section.h.

{}

Member Function Documentation

int SI::PMT::getPCRPid ( ) const

Definition at line 61 of file section.c.

References HILO.

                         {
   return HILO(s->PCR_PID);
}
int SI::PMT::getServiceId ( ) const

Definition at line 57 of file section.c.

References HILO.

Referenced by cTpsAuHook::Process().

                            {
   return HILO(s->program_number);
}
void SI::PMT::Parse ( ) [protected, virtual]

Implements SI::Parsable.

Definition at line 50 of file section.c.

References SI::Object::data, SI::Section::getLength(), HILO, and SI::CharArray::setPointerAndOffset().

                {
   int offset=0;
   data.setPointerAndOffset<const pmt>(s, offset);
   commonDescriptors.setDataAndOffset(data+offset, HILO(s->program_info_length), offset);
   streamLoop.setData(data+offset, getLength()-offset-4);
}

Member Data Documentation

Definition at line 71 of file section.h.

Referenced by cTpsAuHook::Process().


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