SASC-NG
DVBSoftCAM

SI::EIT Class Reference

#include <section.h>

Inheritance diagram for SI::EIT:

List of all members.

Classes

class  Event

Public Member Functions

 EIT (const unsigned char *data, bool doCopy=true)
 EIT ()
int getServiceId () const
int getTransportStreamId () const
int getOriginalNetworkId () const
int getSegmentLastSectionNumber () const
int getLastTableId () const
bool isPresentFollowing () const
bool isActualTS () const

Public Attributes

StructureLoop< Event > eventLoop

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 150 of file section.h.


Constructor & Destructor Documentation

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

Definition at line 152 of file section.h.

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

Definition at line 153 of file section.h.

{}

Member Function Documentation

int SI::EIT::getLastTableId ( ) const

Definition at line 176 of file section.c.

                              {
   return s->last_table_id;
}
int SI::EIT::getOriginalNetworkId ( ) const

Definition at line 168 of file section.c.

References HILO.

                                    {
   return HILO(s->original_network_id);
}
int SI::EIT::getSegmentLastSectionNumber ( ) const

Definition at line 172 of file section.c.

                                           {
   return s->segment_last_section_number;
}
int SI::EIT::getServiceId ( ) const

Definition at line 160 of file section.c.

References HILO.

                            {
   return HILO(s->service_id);
}
int SI::EIT::getTransportStreamId ( ) const

Definition at line 164 of file section.c.

References HILO.

                                    {
   return HILO(s->transport_stream_id);
}
bool SI::EIT::isPresentFollowing ( ) const
void SI::EIT::Parse ( ) [protected, virtual]

Implements SI::Parsable.

Definition at line 190 of file section.c.

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

                {
   int offset=0;
   data.setPointerAndOffset<const eit>(s, offset);
   //printf("%d %d %d %d %d\n", getServiceId(), getTransportStreamId(), getOriginalNetworkId(), isPresentFollowing(), isActualTS());
   eventLoop.setData(data+offset, getLength()-offset-4); //4 is for CRC
}

Member Data Documentation

Definition at line 182 of file section.h.


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