TSDuck v3.40-3963
MPEG Transport Stream Toolkit
|
Description of an event. More...
#include <tsEIT.h>
Public Member Functions | |
Event (const AbstractTable *table) | |
Constructor. | |
bool | operator< (const Event &other) const |
Comparison operator for events. | |
Public Attributes | |
bool | CA_controlled = false |
Controlled by a CA_system. | |
DescriptorList | descs |
List of descriptors for this entry, publicly accessible. | |
cn::seconds | duration {0} |
Event duration in seconds. | |
uint16_t | event_id = 0 |
Event id. | |
size_t | order_hint |
Preferred insertion index when serializing the table or NPOS if unspecified. | |
uint8_t | running_status = 0 |
Running status code. | |
Time | start_time {} |
Event start_time in UTC (or JST in Japan). | |
Description of an event.
The field preferred_section
indicates in which section an event should be preferably serialized. When unspecified (-1), the corresponding event description is serialized in an arbitrary section.
Note: by inheriting from EntryWithDescriptors, there is a public field "DescriptorList descs".
ts::EIT::Event::Event | ( | const AbstractTable * | table | ) |
Constructor.
[in] | table | Parent EIT. |
bool ts::EIT::Event::operator< | ( | const Event & | other | ) | const |
Comparison operator for events.
Events are compared according to their start time.
[in] | other | Other event to compare. |
|
inherited |
Preferred insertion index when serializing the table or NPOS if unspecified.
This is an informational hint which can be used or ignored.