#include <ObsID.hpp>
Inheritance diagram for ObsID:


Public Types | |
| enum | ObservationType { otUnknown, otAny, otRange, otPhase, otDoppler, otSNR, otChannel, otIono, otSSI, otLLI, otTrackLen, otNavMsg, otUndefined, otLast } |
| The type of observation. More... | |
| enum | CarrierBand { cbUnknown, cbAny, cbZero, cbL1, cbL2, cbL5, cbG1, cbG2, cbE5b, cbE5ab, cbE1, cbE2, cbE6, cbC6, cbL1L2, cbUndefined, cbLast } |
| The frequency band this obs was collected from. More... | |
| enum | TrackingCode { tcUnknown, tcAny, tcCA, tcP, tcY, tcW, tcN, tcD, tcM, tcC2M, tcC2L, tcC2LM, tcI5, tcQ5, tcIQ5, tcGCA, tcGP, tcA, tcB, tcC, tcBC, tcABC, tcIE5, tcQE5, tcIQE5, tcSCA, tcSI5, tcSQ5, tcSIQ5, tcCI2, tcCQ2, tcCIQ2, tcCI5, tcCQ5, tcCIQ5, tcCI6, tcCQ6, tcCIQ6, tcUndefined, tcLast } |
| The code used to collect the observation. More... | |
Public Member Functions | |
| ObsID () | |
| empty constructor, creates a wildcard object. | |
| ObsID (ObservationType ot, CarrierBand cb, TrackingCode tc) | |
| Explicit constructor. | |
| ObsID (const std::string &id) throw (InvalidParameter) | |
| Constructor from a string (Rinex 3 style descriptor). | |
| ObsID (const char *id) throw (InvalidParameter) | |
| Constructor from c-style string; see c'tor from a string. | |
| virtual bool | operator== (const ObsID &right) const |
| Equality requires all fields to be the same. | |
| virtual bool | operator< (const ObsID &right) const |
| This ordering is somewhat arbitrary but is required to be able to use an ObsID as an index to a std::map. | |
| bool | operator!= (const ObsID &right) const |
| bool | operator> (const ObsID &right) const |
| bool | operator<= (const ObsID &right) const |
| bool | operator>= (const ObsID &right) const |
| virtual std::ostream & | dump (std::ostream &s) const |
| Convenience output method. | |
| virtual | ~ObsID () |
| Destructor. | |
Static Public Member Functions | |
| ObservationType | newObservationType (const std::string &s) |
| The next three methods are deprecated. | |
| CarrierBand | newCarrierBand (const std::string &s) |
| TrackingCode | newTrackingCode (const std::string &s) |
| ObsID | newID (const std::string &id, const std::string &desc="") throw (InvalidParameter) |
Public Attributes | |
| ObservationType | type |
| CarrierBand | band |
| TrackingCode | code |
Static Public Attributes | |
| std::string | validRinexSystems |
| This string contains the system characters for all valid RINEX systems. | |
| std::map< char, std::map< char, std::string > > | validRinexTrackingCodes |
| This map[sys][freq] = valid codes gives valid tracking codes for RINEX observations given the system and frequency; e.g. | |
| std::map< TrackingCode, std::string > | tcDesc |
| These strings are for forming a somewhat verbose description. | |
| std::map< CarrierBand, std::string > | cbDesc |
| std::map< ObservationType, std::string > | otDesc |
| std::map< char, ObservationType > | char2ot |
| These strings are used to translate this object to and from a string id. | |
| std::map< char, CarrierBand > | char2cb |
| std::map< char, TrackingCode > | char2tc |
| std::map< ObservationType, char > | ot2char |
| std::map< CarrierBand, char > | cb2char |
| std::map< TrackingCode, char > | tc2char |
| Initializer | singleton |
|
|
|
The type of observation.
|
|
|
The code used to collect the observation. Each of these should uniquely identify a code that was correlated against to track the signal. While the notation generally follows section 5.1 of RINEX 3, due to ambiguities in that specification some extensions are made. Note that as concrete specifications for the codes are released, this list may need to be adjusted. Specifically, this lists assumes that the same I & Q codes will be used on all three of the Galileo carriers. If that is not true, more identifiers need to be allocated
|
|
|
empty constructor, creates a wildcard object.
|
|
||||||||||||||||
|
Explicit constructor.
|
|
|
Constructor from a string (Rinex 3 style descriptor). If this string is 3 characters long, the system is assumed to be GPS. If this string is 4 characters long, the first character is the system designator as described in the Rinex 3 specification. If the Rinex 3 style descriptor isn't currently defined, a new one is silently automatically created with a blank description for the new characters. Definition at line 264 of file ObsID.cpp. References ObsID::band, ObsID::cbE5b, ObsID::cbL1, ObsID::cbL2, ObsID::cbL5, ObsID::char2cb, ObsID::char2ot, ObsID::char2tc, ObsID::code, GPSTK_THROW, ObsID::tcC2LM, ObsID::tcCA, ObsID::tcI5, ObsID::tcP, ObsID::tcQ5, and ObsID::type. |
|
|
Constructor from c-style string; see c'tor from a string.
|
|
|
Destructor.
|
|
|
Convenience output method.
Definition at line 366 of file ObsID.cpp. Referenced by gpstk::StringUtils::asString(), and gpstk::operator<<(). |
|
|
|
|
||||||||||||
|
Definition at line 380 of file ObsID.cpp. References GPSTK_THROW. |
|
|
The next three methods are deprecated.
|
|
|
|
|
|
Definition at line 220 of file ObsID.hpp. References gpstk::operator==(). |
|
|
This ordering is somewhat arbitrary but is required to be able to use an ObsID as an index to a std::map. If an application needs some other ordering, inherit and override this function. One 'feature' that has been added is that an Any code/carrier/type will match any other code/carrier/type in the equality operator. The intent is to support performing an operation like "tell me if this is a pseudorange that was collected on L1 from *any* code". Definition at line 447 of file ObsID.cpp. References ObsID::band, ObsID::code, and ObsID::type. |
|
|
Definition at line 226 of file ObsID.hpp. References gpstk::operator<(), and gpstk::operator==(). |
|
|
Equality requires all fields to be the same.
Definition at line 435 of file ObsID.cpp. References ObsID::band, ObsID::cbAny, ObsID::code, ObsID::otAny, ObsID::tcAny, and ObsID::type. |
|
|
Definition at line 223 of file ObsID.hpp. References gpstk::operator<(), and gpstk::operator==(). |
|
|
Definition at line 229 of file ObsID.hpp. References gpstk::operator<(). |
|
|
Definition at line 253 of file ObsID.hpp. Referenced by gpstk::ConvertToTypeID(), gpstk::GetCarrierBand(), CNAVEphemeris::loadData(), CNAVClock::loadData(), ObsID::ObsID(), ObsID::operator<(), and ObsID::operator==(). |
|
|
|
|
|
|
|
|
Definition at line 57 of file ObsID.cpp. Referenced by ObsID::ObsID(). |
|
|
These strings are used to translate this object to and from a string id.
Definition at line 56 of file ObsID.cpp. Referenced by ObsID::ObsID(). |
|
|
Definition at line 58 of file ObsID.cpp. Referenced by ObsID::ObsID(). |
|
|
Definition at line 254 of file ObsID.hpp. Referenced by gpstk::ConvertToTypeID(), CNAVEphemeris::loadData(), CNAVClock::loadData(), ObsID::ObsID(), ObsID::operator<(), and ObsID::operator==(). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
These strings are for forming a somewhat verbose description.
|
|
|
Definition at line 252 of file ObsID.hpp. Referenced by gpstk::ConvertToTypeID(), gpstk::makeSvObsEpoch(), ObsID::ObsID(), ObsID::operator<(), and ObsID::operator==(). |
|
|
This string contains the system characters for all valid RINEX systems.
|
|
|
This map[sys][freq] = valid codes gives valid tracking codes for RINEX observations given the system and frequency; e.g. valid['G'][1]="CSLXPWYMN* " The only exception is there is no pseudorange (C) on GPS L1/L2 N (codeless) NB These tracking code characters are ORDERED, basically 'best' to 'worst' |
1.3.9.1