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

#include <tsSAT.h>

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

Public Member Functions

 earth_orbiting_satallite_type ()=default
 earth_orbiting_satallite_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

ieee_float32_t argument_of_perigree = 0
 Argument of perigee in degrees.
ieee_float32_t day_fraction = 0
 Epoch day fraction.
uint16_t day_of_the_year = 0
 16 bits. Epoch day of the year.
ieee_float32_t drag_term = 0
 Drag term (or radiation pressure coefficient or BSTAR) in 1/EarthRadii.
ieee_float32_t eccentricity = 0
 Shape of the orbit(0 = circular, Less than 1 = elliptical).
uint8_t epoch_year = 0
 8 bits. lLast 2 digits of the epoch year.
ieee_float32_t inclination = 0
 Angle between the equator and the orbit plane in degrees.
ieee_float32_t mean_anomaly = 0
 Mean anomaly in degrees.
ieee_float32_t mean_motion = 0
 Mean number of orbits per day the object completes in revolutions/day.
ieee_float32_t mean_motion_first_derivative = 0
 Mean motion derivative divided by 2 in revolutions per day-squared.
ieee_float32_t mean_motion_second_derivative = 0
 The mean motion second derivative divided by 6 in revolutions per day-cubed.
ieee_float32_t right_ascension_of_the_ascending_node = 0
 Right ascension of the ascension node in degrees.

Detailed Description

Representation of an earth orbiting satellite position

See also
ETSI EN 300 648, 5.2.11.2

Constructor & Destructor Documentation

◆ earth_orbiting_satallite_type() [1/2]

ts::SAT::satellite_position_v2_info_type::earth_orbiting_satallite_type::earth_orbiting_satallite_type ( )
default

Default constructor.

◆ earth_orbiting_satallite_type() [2/2]

ts::SAT::satellite_position_v2_info_type::earth_orbiting_satallite_type::earth_orbiting_satallite_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::earth_orbiting_satallite_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::earth_orbiting_satallite_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::earth_orbiting_satallite_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::earth_orbiting_satallite_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

◆ eccentricity

ieee_float32_t ts::SAT::satellite_position_v2_info_type::earth_orbiting_satallite_type::eccentricity = 0

Shape of the orbit(0 = circular, Less than 1 = elliptical).

The value provided is the mean eccentricity.


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