|
SASC-NG
DVBSoftCAM
|
#include <section.h>
Inheritance diagram for SI::PMT: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 () |
| SI::PMT::PMT | ( | const unsigned char * | data, |
| bool | doCopy = true |
||
| ) | [inline] |
Definition at line 57 of file section.h.
: NumberedSection(data, doCopy) {}
| int SI::PMT::getPCRPid | ( | ) | const |
| 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);
}
Definition at line 71 of file section.h.
Referenced by cTpsAuHook::Process().