Class used to uniquely identify the transmitter of a signal being broadcast, either by satellite or by ground station (sometimes referred to as a "pseudolite"). The meaning of the identifier id depends on the context of the system. The meanings are as follows:
system | id |
---|---|
GPS | PRN ID |
Galileo | ? |
Glonass | Slot Number |
Geosync | PRN ID - 100 |
LEO | ? |
Transit | ? |
BeiDou | ? |
QZSS | PRN ID |
IRNSS | ? |
For equality and ordering, any of the fields may be treated as a wildcard, which means that a wildcard value for a given field will match any other field value. The system and id fields use boolean flags (wildSys and wildId, respectively).
#include <SatID.hpp>
Public Member Functions | |
void | dump (std::ostream &s) const |
Convenience output method. More... | |
bool | isValid () const |
bool | isWild () const |
return true if any of the fields are set to match wildcards. More... | |
void | makeWild () |
bool | operator!= (const SatID &right) const |
operator != for SatID More... | |
bool | operator< (const SatID &right) const |
operator < for SatID : order by system, id More... | |
bool | operator<= (const SatID &right) const |
operator <= for SatID More... | |
bool | operator== (const SatID &right) const |
operator == for SatID More... | |
bool | operator> (const SatID &right) const |
operator > for SatID More... | |
bool | operator>= (const SatID &right) const |
operator >= for SatID More... | |
SatID () | |
Initialize with invalid data with no wildcards. More... | |
SatID (int p) | |
SatID (int p, SatelliteSystem s) | |
SatID (SatelliteSystem s) | |
Public Attributes | |
int | id |
Satellite identifier, e.g. PRN. More... | |
SatelliteSystem | system |
System for this satellite. More... | |
bool | wildId |
If true, any satellite matches. More... | |
bool | wildSys |
If true, any system matches. More... | |
gnsstk::SatID::SatID | ( | ) |
gnsstk::SatID::SatID | ( | int | p, |
SatelliteSystem | s | ||
) |
|
explicit |
|
explicit |
void gnsstk::SatID::dump | ( | std::ostream & | s | ) | const |
bool gnsstk::SatID::isValid | ( | ) | const |
bool gnsstk::SatID::isWild | ( | ) | const |
void gnsstk::SatID::makeWild | ( | ) |
SatelliteSystem gnsstk::SatID::system |
bool gnsstk::SatID::wildId |