SASC-NG
DVBSoftCAM

SI::TOT Class Reference

#include <section.h>

Inheritance diagram for SI::TOT:

List of all members.

Public Member Functions

 TOT (const unsigned char *data, bool doCopy=true)
 TOT ()
time_t getTime () const

Public Attributes

DescriptorLoop descriptorLoop

Protected Member Functions

virtual void Parse ()

Detailed Description

Definition at line 205 of file section.h.


Constructor & Destructor Documentation

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

Definition at line 207 of file section.h.

: CRCSection(data, doCopy) {}
SI::TOT::TOT ( ) [inline]

Definition at line 208 of file section.h.

{}

Member Function Documentation

time_t SI::TOT::getTime ( ) const

Definition at line 264 of file section.c.

References SI::DVBTime::getTime().

Referenced by cSatTimeHook::Process().

                          {
   return DVBTime::getTime(s->utc_mjd_hi, s->utc_mjd_lo, s->utc_time_h, s->utc_time_m, s->utc_time_s);
}
void SI::TOT::Parse ( ) [protected, virtual]

Implements SI::Parsable.

Definition at line 268 of file section.c.

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

                {
   int offset=0;
   data.setPointerAndOffset<const tot>(s, offset);
   descriptorLoop.setData(data+offset, getLength()-offset-4);
}

Member Data Documentation

Definition at line 210 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