![]() |
GNSS-SDR 0.0.21
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. | |
| Gnss_Satellite (const std::string &system_, uint32_t PRN_) | |
| Concrete GNSS satellite Constructor. | |
| ~Gnss_Satellite ()=default | |
| Default Destructor. | |
| Gnss_Satellite (const Gnss_Satellite &other) noexcept | |
| Copy constructor. | |
| Gnss_Satellite & | operator= (const Gnss_Satellite &) noexcept |
| Copy assignment operator. | |
| Gnss_Satellite (Gnss_Satellite &&other) noexcept | |
| Move constructor. | |
| Gnss_Satellite & | operator= (Gnss_Satellite &&other) noexcept |
| Move assignment operator. | |
| void | update_PRN (uint32_t PRN) |
| Updates the PRN Number when information is decoded, only applies to GLONASS GNAV messages. | |
| uint32_t | get_PRN () const |
| Gets satellite's PRN. | |
| int32_t | get_rf_link () const |
| Gets the satellite's rf link. | |
| std::string | get_system () const |
| Gets the satellite system {"GPS", "Glonass", "SBAS", "Galileo", "Beidou", "QZSS"}. | |
| std::string | get_system_short () const |
| Gets the satellite system {"G", "R", "SBAS", "E", "C", "J"}. | |
| std::string | get_block () const |
| Gets the satellite block. If GPS, returns {"IIA", "IIR", "IIR-M", "IIF"}. | |
| std::string | what_block (const std::string &system_, uint32_t PRN_) |
| Gets the block of a given satellite. | |
Friends | |
| bool | operator== (const Gnss_Satellite &, const Gnss_Satellite &) |
| operator== for comparison | |
| std::ostream & | operator<< (std::ostream &, const Gnss_Satellite &) |
| operator<< for pretty printing | |
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.
Referenced by Gnss_Satellite(), Gnss_Satellite(), operator<<, operator=(), operator=(), and operator==.
| Gnss_Satellite::Gnss_Satellite | ( | const std::string & | system_, |
| uint32_t | PRN_ ) |
Concrete GNSS satellite Constructor.
|
default |
Default Destructor.
|
noexcept |
Copy constructor.
References Gnss_Satellite().
|
noexcept |
Move constructor.
References Gnss_Satellite().
| 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", "QZSS"}.
| std::string Gnss_Satellite::get_system_short | ( | ) | const |
Gets the satellite system {"G", "R", "SBAS", "E", "C", "J"}.
|
noexcept |
Copy assignment operator.
References Gnss_Satellite().
|
noexcept |
Move assignment operator.
References Gnss_Satellite().
| 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
References Gnss_Satellite().
|
friend |
operator== for comparison
References Gnss_Satellite().