Structs identifying a unique satellite.
More...
Go to the source code of this file.
|
using | json |
| json namespace
|
|
|
void | NAV::from_json (const json &j, SatId &data) |
| Converts the provided json object into a link object.
|
|
void | NAV::from_json (const json &j, SatSigId &data) |
| Converts the provided json object into a link object.
|
|
std::ostream & | operator<< (std::ostream &os, const NAV::SatId &obj) |
| Stream insertion operator overload.
|
|
std::ostream & | operator<< (std::ostream &os, const NAV::SatSigId &obj) |
| Stream insertion operator overload.
|
|
bool | NAV::ShowSatelliteSelector (const char *label, SatId &satellite, SatelliteSystem filterSys=SatSys_All, bool displayOnlyNumber=false) |
| Shows a ComboBox to select a single satellite.
|
|
bool | NAV::ShowSatelliteSelector (const char *label, std::vector< SatId > &satellites, SatelliteSystem filterSys=SatSys_All, bool displayOnlyNumber=false) |
| Shows a ComboBox to select satellites.
|
|
void | NAV::to_json (json &j, const SatId &data) |
| Converts the provided link into a json object.
|
|
void | NAV::to_json (json &j, const SatSigId &data) |
| Converts the provided link into a json object.
|
|
Structs identifying a unique satellite.
- Author
- T. Topp (topp@.nosp@m.ins..nosp@m.uni-s.nosp@m.tutt.nosp@m.gart..nosp@m.de)
- Date
- 2022-04-29
◆ from_json() [1/2]
void NAV::from_json |
( |
const json & | j, |
|
|
SatId & | data ) |
Converts the provided json object into a link object.
- Parameters
-
[in] | j | Json object with the needed values |
[out] | data | Object to fill from the json |
◆ from_json() [2/2]
Converts the provided json object into a link object.
- Parameters
-
[in] | j | Json object with the needed values |
[out] | data | Object to fill from the json |
◆ operator<<() [1/2]
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const NAV::SatId & | obj ) |
Stream insertion operator overload.
- Parameters
-
[in,out] | os | Output stream object to stream the time into |
[in] | obj | Object to print |
- Returns
- Returns the output stream object in order to chain stream insertions
◆ operator<<() [2/2]
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
const NAV::SatSigId & | obj ) |
Stream insertion operator overload.
- Parameters
-
[in,out] | os | Output stream object to stream the time into |
[in] | obj | Object to print |
- Returns
- Returns the output stream object in order to chain stream insertions
◆ ShowSatelliteSelector() [1/2]
Shows a ComboBox to select a single satellite.
- Parameters
-
[in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
[in,out] | satellite | Reference to the SatId to select |
[in] | filterSys | Enable/Disable GUI elements according to this filter |
[in] | displayOnlyNumber | Display only the number, not the system |
◆ ShowSatelliteSelector() [2/2]
bool NAV::ShowSatelliteSelector |
( |
const char * | label, |
|
|
std::vector< SatId > & | satellites, |
|
|
SatelliteSystem | filterSys = SatSys_All, |
|
|
bool | displayOnlyNumber = false ) |
Shows a ComboBox to select satellites.
- Parameters
-
[in] | label | Label to show beside the combo box. This has to be a unique id for ImGui. |
[in,out] | satellites | Reference to the SatId vector to select |
[in] | filterSys | Enable/Disable GUI elements according to this filter |
[in] | displayOnlyNumber | Display only the number, not the system |
◆ to_json() [1/2]
void NAV::to_json |
( |
json & | j, |
|
|
const SatId & | data ) |
Converts the provided link into a json object.
- Parameters
-
[out] | j | Json object which gets filled with the info |
[in] | data | Data to convert into json |
◆ to_json() [2/2]
Converts the provided link into a json object.
- Parameters
-
[out] | j | Json object which gets filled with the info |
[in] | data | Object to convert into json |