|
SASC
DVBSoftCAM
|
#include <section.h>
Inheritance diagram for SI::TOT: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 () |
| SI::TOT::TOT | ( | const unsigned char * | data, |
| bool | doCopy = true |
||
| ) | [inline] |
Definition at line 207 of file section.h.
: CRCSection(data, doCopy) {}
| 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);
}