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

#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
 geostationary_position_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

uint16_t orbital_position = 0
 Orbital position, unit is 0.1 degree.
int west_east_flag = 0

Detailed Description

Representation of a geostationary satellite position

See also
ETSI EN 300 648, 5.2.11.2

Constructor & Destructor Documentation

◆ geostationary_position_type() [1/2]

ts::SAT::satellite_position_v2_info_type::geostationary_position_type::geostationary_position_type ( )
default

Default constructor.

◆ geostationary_position_type() [2/2]

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.

Member Data Documentation

◆ west_east_flag

int ts::SAT::satellite_position_v2_info_type::geostationary_position_type::west_east_flag = 0

True (1) for East, false (0) for West.


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