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


Public Types | |
| enum | ObservationType { otUnknown, otAny, otRange, otPhase, otDoppler, otSNR, otChannel, otIono, otSSI, otLLI, otTrackLen, otUndefined, otLast } |
| The type of observation. More... | |
| enum | CarrierBand { cbUnknown, cbAny, cbZero, cbL1, cbL2, cbL5, cbG1, cbG2, cbE5b, cbE5ab, cbE6, 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, 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 Rinex 3 style descriptor. | |
| ObsID (const char *id) throw (InvalidParameter) | |
| 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 |
| std::string | asRinex3ID () const |
| This returns a representation of this object using the observation codes described in section 5.1 of the Rinex 3 specification. | |
| 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::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 > | rinex2ot |
| These strings are used to translate this object to and from a rinex identifier. | |
| std::map< char, CarrierBand > | rinex2cb |
| std::map< char, TrackingCode > | rinex2tc |
| std::map< ObservationType, char > | ot2Rinex |
| std::map< CarrierBand, char > | cb2Rinex |
| std::map< TrackingCode, char > | tc2Rinex |
| 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 identifers need to be allocated
|
|
|
empty constructor, creates a wildcard object.
|
|
||||||||||||||||
|
Explicit constructor.
|
|
|
Constructor from a 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 198 of file ObsID.cpp. References ObsID::band, ObsID::cbE5b, ObsID::cbL1, ObsID::cbL5, ObsID::code, GPSTK_THROW, ObsID::rinex2cb, ObsID::rinex2ot, ObsID::rinex2tc, ObsID::tcCA, ObsID::tcI5, ObsID::tcP, ObsID::tcQ5, and ObsID::type. |
|
|
|
|
|
Destructor.
|
|
|
This returns a representation of this object using the observation codes described in section 5.1 of the Rinex 3 specification. Note that this always returns a three character identifier so some information is lost because some codes are shared between satellite systems. Definition at line 265 of file ObsID.cpp. References ObsID::cb2Rinex, ObsID::ot2Rinex, and ObsID::tc2Rinex. Referenced by gpstk::StringUtils::asRinex3ID(). |
|
|
Convenience output method.
Definition at line 254 of file ObsID.cpp. Referenced by gpstk::StringUtils::asString(), and gpstk::operator<<(). |
|
|
|
|
||||||||||||
|
Definition at line 280 of file ObsID.cpp. References GPSTK_THROW. |
|
|
The next three methods are deprecated.
|
|
|
|
|
|
Definition at line 188 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 347 of file ObsID.cpp. References ObsID::band, ObsID::code, and ObsID::type. |
|
|
Definition at line 194 of file ObsID.hpp. References gpstk::operator<(), and gpstk::operator==(). |
|
|
Equality requires all fields to be the same.
Definition at line 335 of file ObsID.cpp. References ObsID::band, ObsID::cbAny, ObsID::code, ObsID::otAny, ObsID::tcAny, and ObsID::type. |
|
|
Definition at line 191 of file ObsID.hpp. References gpstk::operator<(), and gpstk::operator==(). |
|
|
Definition at line 197 of file ObsID.hpp. References gpstk::operator<(). |
|
|
Definition at line 227 of file ObsID.hpp. Referenced by ObsID::ObsID(), ObsID::operator<(), and ObsID::operator==(). |
|
|
Definition at line 58 of file ObsID.cpp. Referenced by ObsID::asRinex3ID(). |
|
|
|
|
|
Definition at line 228 of file ObsID.hpp. Referenced by ObsID::ObsID(), ObsID::operator<(), and ObsID::operator==(). |
|
|
Definition at line 57 of file ObsID.cpp. Referenced by ObsID::asRinex3ID(). |
|
|
|
|
|
Definition at line 55 of file ObsID.cpp. Referenced by ObsID::ObsID(). |
|
|
These strings are used to translate this object to and from a rinex identifier.
Definition at line 54 of file ObsID.cpp. Referenced by ObsID::ObsID(). |
|
|
Definition at line 56 of file ObsID.cpp. Referenced by ObsID::ObsID(). |
|
|
|
|
|
Definition at line 59 of file ObsID.cpp. Referenced by ObsID::asRinex3ID(). |
|
|
These strings are for forming a somewhat verbose description.
|
|
|
Definition at line 226 of file ObsID.hpp. Referenced by gpstk::makeSvObsEpoch(), ObsID::ObsID(), ObsID::operator<(), and ObsID::operator==(). |
1.3.9.1