![]() |
GNSS-SDR
0.0.19
An Open Source GNSS Software Defined Receiver
|
This class represents a GNSS satellite. More...
#include <gnss_satellite.h>
Public Member Functions | |
| Gnss_Satellite ()=default | |
| Default Constructor. More... | |
| Gnss_Satellite (const std::string &system_, uint32_t PRN_) | |
| Concrete GNSS satellite Constructor. More... | |
| ~Gnss_Satellite ()=default | |
| Default Destructor. More... | |
| Gnss_Satellite (const Gnss_Satellite &other) noexcept | |
| Copy constructor. More... | |
| Gnss_Satellite & | operator= (const Gnss_Satellite &) noexcept |
| Copy assignment operator. More... | |
| Gnss_Satellite (Gnss_Satellite &&other) noexcept | |
| Move constructor. More... | |
| Gnss_Satellite & | operator= (Gnss_Satellite &&other) noexcept |
| Move assignment operator. More... | |
| void | update_PRN (uint32_t PRN) |
| Updates the PRN Number when information is decoded, only applies to GLONASS GNAV messages. More... | |
| uint32_t | get_PRN () const |
| Gets satellite's PRN. More... | |
| int32_t | get_rf_link () const |
| Gets the satellite's rf link. More... | |
| std::string | get_system () const |
| Gets the satellite system {"GPS", "GLONASS", "SBAS", "Galileo", "Beidou"}. More... | |
| std::string | get_system_short () const |
| Gets the satellite system {"G", "R", "SBAS", "E", "C"}. More... | |
| std::string | get_block () const |
| Gets the satellite block. If GPS, returns {"IIA", "IIR", "IIR-M", "IIF"}. More... | |
| std::string | what_block (const std::string &system_, uint32_t PRN_) |
| Gets the block of a given satellite. More... | |
Friends | |
| bool | operator== (const Gnss_Satellite &, const Gnss_Satellite &) |
| operator== for comparison More... | |
| std::ostream & | operator<< (std::ostream &, const Gnss_Satellite &) |
| operator<< for pretty printing More... | |
This class represents a GNSS satellite.
It contains information about the space vehicles currently operational of GPS, Glonass, SBAS and Galileo constellations.
Definition at line 39 of file gnss_satellite.h.
|
default |
Default Constructor.
| Gnss_Satellite::Gnss_Satellite | ( | const std::string & | system_, |
| uint32_t | PRN_ | ||
| ) |
Concrete GNSS satellite Constructor.
|
default |
Default Destructor.
|
noexcept |
Copy constructor.
|
noexcept |
Move constructor.
| std::string Gnss_Satellite::get_block | ( | ) | const |
Gets the satellite block. If GPS, returns {"IIA", "IIR", "IIR-M", "IIF"}.
| uint32_t Gnss_Satellite::get_PRN | ( | ) | const |
Gets satellite's PRN.
| int32_t Gnss_Satellite::get_rf_link | ( | ) | const |
Gets the satellite's rf link.
| std::string Gnss_Satellite::get_system | ( | ) | const |
Gets the satellite system {"GPS", "GLONASS", "SBAS", "Galileo", "Beidou"}.
| std::string Gnss_Satellite::get_system_short | ( | ) | const |
Gets the satellite system {"G", "R", "SBAS", "E", "C"}.
|
noexcept |
Copy assignment operator.
|
noexcept |
Move assignment operator.
| void Gnss_Satellite::update_PRN | ( | uint32_t | PRN | ) |
Updates the PRN Number when information is decoded, only applies to GLONASS GNAV messages.
| std::string Gnss_Satellite::what_block | ( | const std::string & | system_, |
| uint32_t | PRN_ | ||
| ) |
Gets the block of a given satellite.
|
friend |
operator<< for pretty printing
|
friend |
operator== for comparison
1.8.14