#include <SourceID.hpp>
Collaboration diagram for SourceID:

Public Types | |
| enum | SourceType { Unknown, GPS, Galileo, Glonass, Geosync, LEO, Transit, DGPS, RTK, INS, Mixed, Last, Placeholder = Last+1000 } |
| The type of source. More... | |
Public Member Functions | |
| SourceID () | |
| empty constructor, creates an unknown source data object | |
| SourceID (SourceType st, std::string name) | |
| Explicit constructor. | |
| SourceID (const SourceID &s) | |
| Copy constructor. | |
| virtual bool | operator== (const SourceID &right) const |
| Equality operator requires all fields to be the same. | |
| virtual bool | operator< (const SourceID &right) const |
| Ordering is arbitrary but required to be able to use a SourceID as an index to a std::map. | |
| bool | operator!= (const SourceID &right) const |
| Inequality operator. | |
| bool | operator> (const SourceID &right) const |
| 'Greater than' operator | |
| bool | operator<= (const SourceID &right) const |
| 'Less or equal than' operator | |
| bool | operator>= (const SourceID &right) const |
| 'Greater or equal than' operator | |
| SourceID & | operator= (const SourceID &right) |
| Assignment operator. | |
| virtual std::ostream & | dump (std::ostream &s) const |
| Convenience output method. | |
| virtual bool | isValid () const |
| Returns true if this is a valid SourceID. | |
| virtual | ~SourceID () |
| Destructor. | |
Static Public Member Functions | |
| SourceType | newSourceType (const std::string &s) |
| Method to create a new source type. | |
Public Attributes | |
| SourceType | type |
| Type of the data source (GPS receiver, Inertial system, etc). | |
| std::string | sourceName |
| Name of the data source. | |
Static Public Attributes | |
| Initializer | SourceIDsingleton |
|
|
The type of source.
Definition at line 52 of file SourceID.hpp. Referenced by SourceID::newSourceType(). |
|
|
empty constructor, creates an unknown source data object
Definition at line 71 of file SourceID.hpp. |
|
||||||||||||
|
Explicit constructor.
Definition at line 77 of file SourceID.hpp. |
|
|
Copy constructor.
Definition at line 84 of file SourceID.hpp. |
|
|
Destructor.
Definition at line 133 of file SourceID.hpp. |
|
|
Convenience output method.
Definition at line 79 of file SourceID.cpp. Referenced by gpstk::StringUtils::asString(), and gpstk::operator<<(). |
|
|
Returns true if this is a valid SourceID. Basically just checks that none of the fields are undefined. Definition at line 93 of file SourceID.cpp. References SourceID::sourceName, SourceID::type, and SourceID::Unknown. |
|
|
Method to create a new source type.
Definition at line 103 of file SourceID.cpp. References SourceID::SourceType. |
|
|
Inequality operator.
Definition at line 100 of file SourceID.hpp. References gpstk::operator==(). |
|
|
Ordering is arbitrary but required to be able to use a SourceID as an index to a std::map. If an application needs some other ordering, inherit and override this function. Definition at line 130 of file SourceID.cpp. References SourceID::sourceName, and SourceID::type. |
|
|
'Less or equal than' operator
Definition at line 110 of file SourceID.hpp. References gpstk::operator<(), and gpstk::operator==(). |
|
|
Assignment operator.
Definition at line 61 of file SourceID.cpp. References SourceID::sourceName, and SourceID::type. |
|
|
Equality operator requires all fields to be the same.
Definition at line 118 of file SourceID.cpp. References SourceID::sourceName, and SourceID::type. |
|
|
'Greater than' operator
Definition at line 105 of file SourceID.hpp. References gpstk::operator<(), and gpstk::operator==(). |
|
|
'Greater or equal than' operator
Definition at line 115 of file SourceID.hpp. References gpstk::operator<(). |
|
|
Definition at line 164 of file SourceID.hpp. |
|
|
|
Type of the data source (GPS receiver, Inertial system, etc).
Definition at line 143 of file SourceID.hpp. Referenced by SourceID::isValid(), SourceID::operator<(), SourceID::operator=(), SourceID::operator==(), gpstk::operator>>(), sourceEpochHeader::sourceEpochHeader(), sourceEpochRinexHeader::sourceEpochRinexHeader(), sourceEpochSatHeader::sourceEpochSatHeader(), sourceEpochTypeHeader::sourceEpochTypeHeader(), sourceHeader::sourceHeader(), sourceSatHeader::sourceSatHeader(), and sourceTypeHeader::sourceTypeHeader(). |
1.3.9.1