#include <tsSAT.h>
|
|
uint64_t | base = 0 |
| | 33 bits. NCR time div 300, as specified in ETSI EN 301 790 and ISO/IEC 13818-1.
|
|
uint16_t | ext = 0 |
| | 9 bits. NCR time mod 300, as specified in ETSI EN 301 790 and ISO/IEC 13818-1.
|
◆ NCR_type()
| ts::SAT::NCR_type::NCR_type |
( |
| ) |
|
|
default |
◆ clear()
| void ts::SAT::NCR_type::clear |
( |
| ) |
|
◆ serialized_length()
| uint16_t ts::SAT::NCR_type::serialized_length |
( |
| ) |
|
|
inlinestatic |
The length (in bytes) of a network clock reference when serialized.
- Returns
- the length in bytes of a serialized network clock reference.
◆ fromXML() [1/2]
This method populates this object from XML attributes and sub-element
- Parameters
-
| [in] | parent | The element whose attributes and sub-elements are parsed to construct this object |
| [in] | element_name | The name of the new element that contaiuning the attributes associated with this clock reference. |
- Returns
- true if the requisite attributes and sub-elements are available and correct
◆ toXML() [1/2]
This method converts this object to XML by populating necessary attributes and sub-elements into the provided element
- Parameters
-
| [in,out] | parent | The element whose attributes and sub-elements are added to to represent values in this object |
| [in] | element_name | The name of the element that will contain the serialized values as attributes.. |
◆ fromXML() [2/2]
| virtual bool ts::SAT::NCR_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() [2/2]
| virtual void ts::SAT::NCR_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::NCR_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::NCR_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.
The documentation for this class was generated from the following file: