TSDuck v3.38-3696
MPEG Transport Stream Toolkit
Loading...
Searching...
No Matches
ts::SAT::satellite_position_v2_info_type::geostationary_position_type Class Reference

Representation of a geostationary satellite position. More...

#include <tsSAT.h>

Inheritance diagram for ts::SAT::satellite_position_v2_info_type::geostationary_position_type:
Collaboration diagram for ts::SAT::satellite_position_v2_info_type::geostationary_position_type:

Public Member Functions

 geostationary_position_type ()=default
 Default constructor.
 
 geostationary_position_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

uint16_t orbital_position = 0
 Orbital position, unit is 0.1 degree.
 
int west_east_flag = 0
 True (1) for East, false (0) for West.
 

Detailed Description

Representation of a geostationary satellite position.

See also
ETSI EN 300 648, 5.2.11.2

Constructor & Destructor Documentation

◆ geostationary_position_type()

ts::SAT::satellite_position_v2_info_type::geostationary_position_type::geostationary_position_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::satellite_position_v2_info_type::geostationary_position_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::satellite_position_v2_info_type::geostationary_position_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::satellite_position_v2_info_type::geostationary_position_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::satellite_position_v2_info_type::geostationary_position_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.


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