Representation of a satellite position (version 2).
More...
#include <tsSAT.h>
|
| satellite_position_v2_info_type ()=default |
| Default constructor.
|
|
| satellite_position_v2_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.
|
|
|
std::optional< earth_orbiting_satallite_type > | earthOrbiting {} |
| attributes of an earth orbiting satellite
|
|
std::optional< geostationary_position_type > | geostationaryPosition {} |
| attributes of a geostationary satellite.
|
|
uint8_t | position_system = 0 |
| 1 bit.The positioning system that is used for this satellite.
|
|
uint32_t | satellite_id = 0 |
| 24 bits, A label to identify the satellite that is detailed here.
|
|
Representation of a satellite position (version 2).
- See also
- ETSI EN 300 648, 5.2.11.2
◆ satellite_position_v2_info_type()
ts::SAT::satellite_position_v2_info_type::satellite_position_v2_info_type |
( |
PSIBuffer & |
buf | ) |
|
|
inline |
Read-in constructor.
- Parameters
-
[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. |
◆ fromXML()
virtual bool ts::SAT::satellite_position_v2_info_type::fromXML |
( |
const xml::Element * |
element | ) |
|
|
overridevirtual |
This method populates this object from XML attributes and sub-element.
- Parameters
-
[in] | element | The 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::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] | root | The 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::serialize |
( |
PSIBuffer & |
buf | ) |
const |
|
overridevirtual |
This method serializes the attributes of a geostationary satellite.
- Parameters
-
[in,out] | buf | A PSIBuffer with the appropriate size for the section payload. |
Implements ts::SAT::SAT_base.
◆ deserialize()
virtual void ts::SAT::satellite_position_v2_info_type::deserialize |
( |
PSIBuffer & |
buf | ) |
|
|
overridevirtual |
This method deserializes (populates) the attributes of a geostationary satellite.
- Parameters
-
[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.
◆ position_system
uint8_t ts::SAT::satellite_position_v2_info_type::position_system = 0 |
1 bit.The positioning system that is used for this satellite.
The value '0' can be used for a satellite in geostationary orbit and the value '1' can be used for any earth-orbiting satellite.
The documentation for this class was generated from the following file: