TSDuck v3.40-3963
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::EIT::Event Class Reference

Description of an event. More...

#include <tsEIT.h>

Inheritance diagram for ts::EIT::Event:
Collaboration diagram for ts::EIT::Event:

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).
 

Detailed Description

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".

Constructor & Destructor Documentation

◆ Event()

ts::EIT::Event::Event ( const AbstractTable table)

Constructor.

Parameters
[in]tableParent EIT.

Member Function Documentation

◆ operator<()

bool ts::EIT::Event::operator< ( const Event other) const

Comparison operator for events.

Events are compared according to their start time.

Parameters
[in]otherOther event to compare.
Returns
True if this object is less than other.

Member Data Documentation

◆ order_hint

size_t ts::AbstractTable::EntryBase::order_hint
inherited

Preferred insertion index when serializing the table or NPOS if unspecified.

This is an informational hint which can be used or ignored.


The documentation for this class was generated from the following file: