SASC
DVBSoftCAM

SI::PMT::Stream Class Reference

#include <section.h>

Inheritance diagram for SI::PMT::Stream:

List of all members.

Public Member Functions

int getPid () const
int getStreamType () const
virtual int getLength ()

Public Attributes

DescriptorLoop streamDescriptors

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 59 of file section.h.


Member Function Documentation

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));
}

Member Data Documentation

Definition at line 63 of file section.h.

Referenced by getLength().


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