EIT sections repetition profile.
More...
#include <tsEITRepetitionProfile.h>
EIT sections repetition profile.
◆ EITRepetitionProfile()
ts::EITRepetitionProfile::EITRepetitionProfile |
( |
cn::days |
days = cn::days(1) , |
|
|
std::initializer_list< cn::seconds > |
cycles = std::initializer_list< cn::seconds >() |
|
) |
| |
Constructor.
- Parameters
-
[in] | days | Number of prime days. |
[in] | cycles | Up to 6 cycles in seconds. Missing values are replaced by the last value in the list. If the list is empty, all cycles are 10 seconds long. |
◆ laterPeriod()
Time ts::EITRepetitionProfile::laterPeriod |
( |
const Time & |
now | ) |
const |
Compute the starting date of the "later" period.
- Parameters
-
- Returns
- Starting UTC time of the "later" period.
◆ laterTableId()
TID ts::EITRepetitionProfile::laterTableId |
( |
bool |
actual | ) |
const |
Compute the first EIT table id in the "later" period.
If a table id is equal this one, this is not sufficient to determine if the corresponding section is in the "prime" or "later" period. Check the section number as well.
- Parameters
-
[in] | actual | True for EIT actual, false for EIT other. |
- Returns
- First EIT table id in the "later" period.
- See also
- laterSectionNumber()
◆ laterSectionNumber()
uint8_t ts::EITRepetitionProfile::laterSectionNumber |
( |
| ) |
const |
Compute the first section number in the "later" period.
- Returns
- First section number in the "later" period.
◆ sectionToProfile()
Determine the repetition profile of an EIT section.
- Parameters
-
[in] | section | A valid EIT section. |
- Returns
- The repetition profile of section. Undefined if the section is not a valid EIT.
◆ repetitionSeconds()
cn::seconds ts::EITRepetitionProfile::repetitionSeconds |
( |
const Section & |
section | ) |
|
Determine the repetition cycle of an EIT section.
- Parameters
-
[in] | section | A valid EIT section. |
- Returns
- The repetition cycle in seconds of section. Undefined if the section is not a valid EIT.
◆ prime_days
Duration in days of the "prime" period for EIT schedule.
EIT schedule for events in the prime period (i.e. the next few days) are repeated more often than for later events.
◆ cycle_seconds
std::array<cn::seconds, PROFILE_COUNT> ts::EITRepetitionProfile::cycle_seconds {} |
Cycle time in seconds of each EIT sections repetition profile.
The array is indexed by EITProfile.
◆ SatelliteCable
Standard EIT repetition profile for satellite and cable networks.
- See also
- ETSI TS 101 211, section 4.1.4
◆ Terrestrial
Standard EIT repetition profile for terrestrial networks.
- See also
- ETSI TS 101 211, section 4.1.4
The documentation for this class was generated from the following file: