Indicates if there is a transmission in the respective timeslot.
More...
#include <tsSAT.h>
|
| slot ()=default |
| Default constructor.
|
|
| slot (uint16_t slot_num, bool on_) |
| Constructor.
|
|
| slot (uint16_t slot_num, PSIBuffer &buf) |
| Read-in constructor.
|
|
virtual void | deserialize (PSIBuffer &buf) override |
| This method deserializes (populates) the attributes of a geostationary satellite.
|
|
void | deserialize (uint16_t slot_num, PSIBuffer &buf) |
| This method deserializes (populates) the attributes of an illumination time slot.
|
|
virtual bool | fromXML (const xml::Element *element) override |
| This method populates this object from XML attributes and sub-element.
|
|
bool | operator== (const slot &rhs) const |
| Equivelance operator.
|
|
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.
|
|
|
uint16_t | number = 0 |
| The beam number.
|
|
bool | on = false |
| Illuminatiom state of the beam.
|
|
Indicates if there is a transmission in the respective timeslot.
◆ slot() [1/2]
ts::SAT::beam_hopping_time_plan_info_type::slot::slot |
( |
uint16_t |
slot_num, |
|
|
bool |
on_ |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
[in] | slot_num | Slot number. |
[in] | on_ | slot illumination state. |
◆ slot() [2/2]
ts::SAT::beam_hopping_time_plan_info_type::slot::slot |
( |
uint16_t |
slot_num, |
|
|
PSIBuffer & |
buf |
|
) |
| |
|
inline |
Read-in constructor.
- Parameters
-
[in] | slot_num | Slot number. |
[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. |
◆ operator==()
bool ts::SAT::beam_hopping_time_plan_info_type::slot::operator== |
( |
const slot & |
rhs | ) |
const |
|
inline |
Equivelance operator.
- Parameters
-
[in] | rhs | other oblect to compare to. |
- Returns
- true if an illumination status has already been signalled for the slot number
◆ deserialize() [1/2]
void ts::SAT::beam_hopping_time_plan_info_type::slot::deserialize |
( |
uint16_t |
slot_num, |
|
|
PSIBuffer & |
buf |
|
) |
| |
This method deserializes (populates) the attributes of an illumination time slot.
- Parameters
-
[in] | slot_num | the time slot for which illimination is being specified. |
[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::beam_hopping_time_plan_info_type::slot::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::beam_hopping_time_plan_info_type::slot::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::beam_hopping_time_plan_info_type::slot::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() [2/2]
virtual void ts::SAT::beam_hopping_time_plan_info_type::slot::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: