|
SASC
DVBSoftCAM
|
#include <section.h>
Inheritance diagram for SI::PMT::Stream:Public Member Functions | |
| int | getPid () const |
| int | getStreamType () const |
| virtual int | getLength () |
Public Attributes | |
| DescriptorLoop | streamDescriptors |
Protected Member Functions | |
| virtual void | Parse () |
| virtual int SI::PMT::Stream::getLength | ( | ) | [inline, virtual] |
Implements SI::Object.
Definition at line 64 of file section.h.
References SI::VariableLengthPart::getLength(), and streamDescriptors.
{ return sizeof(pmt_info)+streamDescriptors.getLength(); }
| int SI::PMT::Stream::getPid | ( | ) | const |
Definition at line 65 of file section.c.
References HILO.
Referenced by cTpsAuHook::Process().
{
return HILO(s->elementary_PID);
}
| int SI::PMT::Stream::getStreamType | ( | ) | const |
Definition at line 69 of file section.c.
Referenced by cTpsAuHook::Process().
{
return s->stream_type;
}
| void SI::PMT::Stream::Parse | ( | ) | [protected, virtual] |
Implements SI::Parsable.
Definition at line 73 of file section.c.
References SI::Object::data, HILO, and SI::CharArray::setPointerAndOffset().
{
int offset=0;
data.setPointerAndOffset<const pmt_info>(s, offset);
streamDescriptors.setData(data+offset, HILO(s->ES_info_length));
}
Definition at line 63 of file section.h.
Referenced by getLength().