TSDuck v3.46-4930
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::SAT::cell_fragment_info_type Class Reference

#include <tsSAT.h>

Inheritance diagram for ts::SAT::cell_fragment_info_type:
Collaboration diagram for ts::SAT::cell_fragment_info_type:

Classes

class  new_delivery_system_id_type
class  obsolescent_delivery_system_id_type

Public Member Functions

 cell_fragment_info_type ()=default
 cell_fragment_info_type (PSIBuffer &buf)
virtual void deserialize (PSIBuffer &buf) override
virtual bool fromXML (const xml::Element *element) override
virtual void serialize (PSIBuffer &buf) const override
virtual void toXML (xml::Element *root) override

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_occurrence = 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_occurrence = 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.

Detailed Description

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

See also
ETSI EN 300 648, 5.2.11.3

Constructor & Destructor Documentation

◆ cell_fragment_info_type() [1/2]

ts::SAT::cell_fragment_info_type::cell_fragment_info_type ( )
default

Default constructor.

◆ cell_fragment_info_type() [2/2]

ts::SAT::cell_fragment_info_type::cell_fragment_info_type ( PSIBuffer & buf)
inline

Read-in constructor.

Parameters
[in,out]bufDeserialization 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.

Member Function Documentation

◆ fromXML()

virtual bool ts::SAT::cell_fragment_info_type::fromXML ( const xml::Element * element)
overridevirtual

This method populates this object from XML attributes and sub-element

Parameters
[in]elementThe element whose attributes and sub-elements are parsed to construct this object
Returns
true if the requisite attributes and sub-elements are available and correct

Implements ts::SAT::SAT_base.

◆ toXML()

virtual void ts::SAT::cell_fragment_info_type::toXML ( xml::Element * root)
overridevirtual

This method converts this object to XML by populating necessary attributes and sub-elements into the provided element

Parameters
[in,out]rootThe element whose attributes and sub-elements are added to to represent values in this object

Implements ts::SAT::SAT_base.

◆ serialize()

virtual void ts::SAT::cell_fragment_info_type::serialize ( PSIBuffer & buf) const
overridevirtual

This method serializes the attributes of a geostationary satellite.

Parameters
[in,out]bufA PSIBuffer with the appropriate size for the section payload.

Implements ts::SAT::SAT_base.

◆ deserialize()

virtual void ts::SAT::cell_fragment_info_type::deserialize ( PSIBuffer & buf)
overridevirtual

This method deserializes (populates) the attributes of a geostationary satellite.

Parameters
[in,out]bufDeserialization 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.

Member Data Documentation

◆ cell_fragment_id

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.

◆ first_occurrence

bool ts::SAT::cell_fragment_info_type::first_occurrence = 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.

◆ last_occurrence

bool ts::SAT::cell_fragment_info_type::last_occurrence = 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.

◆ center_latitude

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.

◆ center_longitude

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.

◆ max_distance

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


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