Satellite System type.
More...
|
std::vector< uint16_t > | getSatellites () const |
| Get a list of satellites in the constellation.
|
|
TimeSystem | getTimeSystem () const |
| Get the Time System of this Satellite System.
|
|
constexpr | operator bool ()=delete |
| Prevent usage: if(...)
|
|
| operator char () const |
| char conversion operator
|
|
constexpr | operator SatelliteSystem_ () const |
| Allow switch(SatelliteSystem_(type)) and comparisons.
|
|
| operator std::string () const |
| std::string conversion operator
|
|
constexpr | operator uint64_t () const |
| int conversion operator
|
|
constexpr bool | operator< (const SatelliteSystem &rhs) const |
| Less than comparison (needed for map)
|
|
constexpr SatelliteSystem & | operator= (SatelliteSystem_ v) |
| Assignment operator from Value type.
|
|
constexpr | SatelliteSystem ()=default |
| Default Constructor.
|
|
| SatelliteSystem (Enum enumeration) |
| Implicit Constructor from Enum type.
|
|
constexpr | SatelliteSystem (SatelliteSystem_ type) |
| Implicit Constructor from Value type.
|
|
char | toChar () const |
| Returns the char representation of the object.
|
|
Enum | toEnumeration () const |
| Returns a continuous enumeration of the object.
|
|
std::vector< SatelliteSystem > | toVector () const |
| Get a vector representation of the specified Satellite Systems.
|
|
◆ Enum
Satellite System enumeration with continuous range. Not usable as a mask.
Enumerator |
---|
Enum_GPS | Global Positioning System.
|
Enum_GAL | Galileo.
|
Enum_GLO | Globalnaja nawigazionnaja sputnikowaja sistema (GLONASS)
|
Enum_BDS | Beidou.
|
Enum_QZSS | Quasi-Zenith Satellite System.
|
Enum_IRNSS | Indian Regional Navigation Satellite System.
|
Enum_SBAS | Satellite Based Augmentation System.
|
Enum_COUNT | Count variable.
|
Enum_None | No Satellite system.
|
◆ SatelliteSystem() [1/2]
Implicit Constructor from Value type.
- Parameters
-
[in] | type | Value type to construct from |
◆ SatelliteSystem() [2/2]
NAV::SatelliteSystem::SatelliteSystem |
( |
Enum | enumeration | ) |
|
|
inline |
Implicit Constructor from Enum type.
- Parameters
-
[in] | enumeration | Enum type to construct from |
◆ fromChar()
Construct new object from char.
- Parameters
-
[in] | typeChar | Character representation of the satellite system |
◆ fromEnum()
Constructs a new object from continuous enumeration.
- Parameters
-
[in] | enumeration | Continuous enumeration of the satellite system |
◆ fromString()
static SatelliteSystem NAV::SatelliteSystem::fromString |
( |
const std::string & | typeString | ) |
|
|
static |
Construct new object from std::string.
- Parameters
-
[in] | typeString | String representation of the satellite system |
◆ GetSatellitesForSatelliteSystem()
static std::vector< uint16_t > NAV::SatelliteSystem::GetSatellitesForSatelliteSystem |
( |
SatelliteSystem | satSys | ) |
|
|
static |
Get a list of satellites in the constellation.
- Parameters
-
[in] | satSys | Satellite System to get the list for |
◆ GetTimeSystemForSatelliteSystem()
Get the Time System of the specified Satellite System.
- Parameters
-
[in] | satSys | Satellite System to get the time system for |
◆ operator char()
NAV::SatelliteSystem::operator char |
( |
| ) |
const |
|
explicit |
char conversion operator
- Returns
- A char representation of the type
◆ operator std::string()
NAV::SatelliteSystem::operator std::string |
( |
| ) |
const |
|
explicit |
std::string conversion operator
- Returns
- A std::string representation of the type
◆ operator uint64_t()
constexpr NAV::SatelliteSystem::operator uint64_t |
( |
| ) |
const |
|
inlineexplicitconstexpr |
int conversion operator
- Returns
- A int representation of the type
◆ operator<()
constexpr bool NAV::SatelliteSystem::operator< |
( |
const SatelliteSystem & | rhs | ) |
const |
|
inlineconstexpr |
Less than comparison (needed for map)
- Parameters
-
[in] | rhs | Right hand side of the operator |
- Returns
- True if lhs < rhs
◆ operator=()
Assignment operator from Value type.
- Parameters
-
[in] | v | Value type to construct from |
- Returns
- The Type type from the value type
◆ ToChar()
Get char representation of the specified Satellite System.
- Parameters
-
[in] | satSys | Satellite System to get the continuous enumeration for |
◆ ToEnumeration()
Get the continuous enumeration of the specified Satellite System.
- Parameters
-
[in] | satSys | Satellite System to get the continuous enumeration for |
◆ ToVector()
Get a vector representation of the specified Satellite Systems.
- Parameters
-
[in] | satSys | Satellite System to get the vector for |
The documentation for this struct was generated from the following file: