|
SASC-NG
DVBSoftCAM
|
#include <section.h>
Inheritance diagram for SI::EIT::Event:Public Member Functions | |
| int | getEventId () const |
| time_t | getStartTime () const |
| time_t | getDuration () const |
| int | getMJD () const |
| int | getStartTimeHour () const |
| int | getStartTimeMinute () const |
| int | getStartTimeSecond () const |
| int | getDurationHour () const |
| int | getDurationMinute () const |
| int | getDurationSecond () const |
| RunningStatus | getRunningStatus () const |
| int | getFreeCaMode () const |
| virtual int | getLength () |
Public Attributes | |
| DescriptorLoop | eventDescriptors |
Protected Member Functions | |
| virtual void | Parse () |
| time_t SI::EIT::Event::getDuration | ( | ) | const |
Definition at line 201 of file section.c.
References SI::DVBTime::getDuration().
{
return DVBTime::getDuration(s->duration_h, s->duration_m, s->duration_s);
}
| int SI::EIT::Event::getDurationHour | ( | ) | const |
Definition at line 225 of file section.c.
References SI::DVBTime::bcdToDec().
{
return DVBTime::bcdToDec(s->duration_h);
}
| int SI::EIT::Event::getDurationMinute | ( | ) | const |
Definition at line 229 of file section.c.
References SI::DVBTime::bcdToDec().
{
return DVBTime::bcdToDec(s->duration_m);
}
| int SI::EIT::Event::getDurationSecond | ( | ) | const |
Definition at line 233 of file section.c.
References SI::DVBTime::bcdToDec().
{
return DVBTime::bcdToDec(s->duration_s);
}
| int SI::EIT::Event::getEventId | ( | ) | const |
| int SI::EIT::Event::getFreeCaMode | ( | ) | const |
| virtual int SI::EIT::Event::getLength | ( | ) | [inline, virtual] |
Implements SI::Object.
Definition at line 171 of file section.h.
References eventDescriptors, and SI::VariableLengthPart::getLength().
{ return sizeof(eit_event)+eventDescriptors.getLength(); }
| int SI::EIT::Event::getMJD | ( | ) | const |
| RunningStatus SI::EIT::Event::getRunningStatus | ( | ) | const |
Definition at line 237 of file section.c.
{
return (RunningStatus)s->running_status;
}
| time_t SI::EIT::Event::getStartTime | ( | ) | const |
Definition at line 197 of file section.c.
References SI::DVBTime::getTime().
{
return DVBTime::getTime(s->mjd_hi, s->mjd_lo, s->start_time_h, s->start_time_m, s->start_time_s);
}
| int SI::EIT::Event::getStartTimeHour | ( | ) | const |
Definition at line 213 of file section.c.
References SI::DVBTime::bcdToDec().
{
return DVBTime::bcdToDec(s->start_time_h);
}
| int SI::EIT::Event::getStartTimeMinute | ( | ) | const |
Definition at line 217 of file section.c.
References SI::DVBTime::bcdToDec().
{
return DVBTime::bcdToDec(s->start_time_m);
}
| int SI::EIT::Event::getStartTimeSecond | ( | ) | const |
Definition at line 221 of file section.c.
References SI::DVBTime::bcdToDec().
{
return DVBTime::bcdToDec(s->start_time_s);
}
| void SI::EIT::Event::Parse | ( | ) | [protected, virtual] |
Implements SI::Parsable.
Definition at line 245 of file section.c.
References SI::Object::data, HILO, and SI::CharArray::setPointerAndOffset().
{
int offset=0;
data.setPointerAndOffset<const eit_event>(s, offset);
//printf("%d %d %d\n", getStartTime(), getDuration(), getRunningStatus());
eventDescriptors.setData(data+offset, HILO(s->descriptors_loop_length));
}
Definition at line 170 of file section.h.
Referenced by getLength().