TSDuck v3.40-4126
MPEG Transport Stream Toolkit
|
Representation of a cell fragment An area on earth identified by a center (center_lattitude and center_longitude) and max_distance from the center, that is associated with none, one or multiple delivery systems. More...
#include <tsSAT.h>
Classes | |
class | new_delivery_system_id_type |
Representation of a new delivery system A new delivery system that is soon serving this cell fragment. More... | |
class | obsolescent_delivery_system_id_type |
Representation of am obsolescent delivery system A delivery system that will soon stop serving this cell fragment. More... | |
Public Member Functions | |
cell_fragment_info_type ()=default | |
Default constructor. | |
cell_fragment_info_type (PSIBuffer &buf) | |
Read-in constructor. | |
virtual void | deserialize (PSIBuffer &buf) override |
This method deserializes (populates) the attributes of a geostationary satellite. | |
virtual bool | fromXML (const xml::Element *element) override |
This method populates this object from XML attributes and sub-element. | |
virtual void | serialize (PSIBuffer &buf) const override |
This method serializes the attributes of a geostationary satellite. | |
virtual void | toXML (xml::Element *root) override |
This method converts this object to XML by populating necessary attributes and sub-elements into the provided element. | |
Public Attributes | |
uint32_t | cell_fragment_id = 0 |
The identifier of this cell fragment. | |
std::optional< int32_t > | center_latitude {} |
18 bits - tcimsbf. | |
std::optional< int32_t > | center_longitude {} |
19 bits - tcimsbf. | |
std::vector< uint32_t > | delivery_system_ids {} |
Identifiers of delivery systems currently serving this cell fragment. | |
bool | first_occurence = false |
Indicates that this section is the first section in a sequence of 1 or more sections that contain the information for the cell fragment. | |
bool | last_occurence = false |
Indicates that this section is the last section in a sequence of 1 or more sections that contain the information for the cell fragment. | |
std::optional< uint32_t > | max_distance {} |
24 bits. | |
std::vector< new_delivery_system_id_type > | new_delivery_system_ids {} |
Delivery systems that are soon serving this cell fragment. | |
std::vector< obsolescent_delivery_system_id_type > | obsolescent_delivery_system_ids {} |
Delivery systems that wil soon stopm serving this cell fragment. | |
Representation of a cell fragment An area on earth identified by a center (center_lattitude and center_longitude) and max_distance from the center, that is associated with none, one or multiple delivery systems.
|
inline |
Read-in constructor.
[in,out] | buf | Deserialization buffer. Read the descriptor payload from buf. The end of read is the end of the binary payload. If any kind of error is reported in the buffer or if the payload is not completely read, the deserialization is considered as invalid. |
|
overridevirtual |
This method populates this object from XML attributes and sub-element.
[in] | element | The element whose attributes and sub-elements are parsed to construct this object |
Implements ts::SAT::SAT_base.
|
overridevirtual |
This method converts this object to XML by populating necessary attributes and sub-elements into the provided element.
[in,out] | root | The element whose attributes and sub-elements are added to to represent values in this object |
Implements ts::SAT::SAT_base.
|
overridevirtual |
This method serializes the attributes of a geostationary satellite.
[in,out] | buf | A PSIBuffer with the appropriate size for the section payload. |
Implements ts::SAT::SAT_base.
|
overridevirtual |
This method deserializes (populates) the attributes of a geostationary satellite.
[in,out] | buf | Deserialization buffer. Read the descriptor payload from buf. The end of read is the end of the binary payload. If any kind of error is reported in the buffer or if the payload is not completely read, the deserialization is considered as invalid. |
Implements ts::SAT::SAT_base.
uint32_t ts::SAT::cell_fragment_info_type::cell_fragment_id = 0 |
The identifier of this cell fragment.
It can occur multiple times in consecutive sections if the signalling is spanned over multiple sections.
bool ts::SAT::cell_fragment_info_type::first_occurence = false |
Indicates that this section is the first section in a sequence of 1 or more sections that contain the information for the cell fragment.
When this bit is set to 1, it is the first section of the sequence. When it is set to 0, it is not the first section.
bool ts::SAT::cell_fragment_info_type::last_occurence = false |
Indicates that this section is the last section in a sequence of 1 or more sections that contain the information for the cell fragment.
When this bit is set to 1, it is the last section of the sequence. When it is set to 0, it is not the last section.
std::optional<int32_t> ts::SAT::cell_fragment_info_type::center_latitude {} |
18 bits - tcimsbf.
The current center of the cell fragment on earth in the WGS84 datum in units of 0.001 degrees. Northern latitudes shall be stated as a positive number, southern latitudes as negative. The range is evidently +/- 90 degrees.
std::optional<int32_t> ts::SAT::cell_fragment_info_type::center_longitude {} |
19 bits - tcimsbf.
The current center of the cell fragment on earth in the WGS84 datum, in units of 0.001 degrees. Eastern longitudes shall be stated as a positive number, western longitudes as negative. The range is evidently +/- 180 degrees.
std::optional<uint32_t> ts::SAT::cell_fragment_info_type::max_distance {} |
24 bits.
Indicates the maximum distance on the surface of the earth from the center of the cell-fragment in units of 1 meter that is still considered to be part of the cell fragment