Definition at line 82 of file ObsID.hpp.
#include <ObsID.hpp>
|
void | clearMcodeMask (uint32_t clearmask) |
| Clear bits in mcodeMask that are set in clearmask. More...
|
|
virtual std::ostream & | dump (std::ostream &s) const |
| Convenience output method. More...
|
|
uint32_t | getMcodeBits () const |
| Return the value of mcode. More...
|
|
uint32_t | getMcodeMask () const |
| Return the value of mcodeMask. More...
|
|
bool | isWild () const |
| Return true if any of the data are wildcard values. More...
|
|
void | makeWild () |
| Set all data to wildcard values. More...
|
|
void | maskMcodeBits (uint32_t newval, uint32_t newmask) |
|
| ObsID () |
|
| ObsID (ObservationType ot, CarrierBand cb, TrackingCode tc, int fo, uint32_t mc, XmitAnt transmitter=XmitAnt::Standard, bool fw=false) |
|
| ObsID (ObservationType ot, CarrierBand cb, TrackingCode tc, int fo, XmitAnt transmitter=XmitAnt::Any, bool fw=false) |
|
| ObsID (ObservationType ot, CarrierBand cb, TrackingCode tc, XmitAnt transmitter=XmitAnt::Any) |
|
bool | operator!= (const ObsID &right) const |
|
virtual bool | operator< (const ObsID &right) const |
|
bool | operator<= (const ObsID &right) const |
|
virtual bool | operator== (const ObsID &right) const |
| Equality requires all fields to be the same. More...
|
|
bool | operator> (const ObsID &right) const |
|
bool | operator>= (const ObsID &right) const |
|
void | setMcodeBits (uint32_t newval, uint32_t newmask=-1) |
| Set the value of mcode while simultaneously setting the mask. More...
|
|
void | setMcodeMask (uint32_t newmask=-1) |
| Set the value of mcodeMask on its own. More...
|
|
virtual | ~ObsID () |
| Destructor. More...
|
|
◆ ObsID() [1/4]
empty constructor, creates a wildcard object. mcode and freqOffs are kept wild by default intentionally.
Definition at line 87 of file ObsID.hpp.
◆ ObsID() [2/4]
Explicit constructor mcode and freqOffs are kept wild by default intentionally.
Definition at line 95 of file ObsID.hpp.
◆ ObsID() [3/4]
Explicit constructor for GLONASS.
- Parameters
-
[in] | ot | The observation type (range, phase,, etc.). |
[in] | cb | The carrier band (L1, L2, etc.). |
[in] | tc | The tracking code (CA, L2CM, etc.). |
[in] | fo | The frequency offset of the GLONASS signal. |
[in] | fw | If true, fo is ignored and freqOffs will match any value. |
Definition at line 108 of file ObsID.hpp.
◆ ObsID() [4/4]
Explicit constructor for avoiding wildcard values.
- Parameters
-
[in] | ot | The observation type (range, phase,, etc.). |
[in] | cb | The carrier band (L1, L2, etc.). |
[in] | tc | The tracking code (CA, L2CM, etc.). |
[in] | fo | The frequency offset of the GLONASS signal. |
[in] | mc | The mcode bits to match. |
[in] | fw | If true, fo is ignored and freqOffs will match any value. |
Definition at line 123 of file ObsID.hpp.
◆ ~ObsID()
virtual gnsstk::ObsID::~ObsID |
( |
| ) |
|
|
inlinevirtual |
◆ clearMcodeMask()
void gnsstk::ObsID::clearMcodeMask |
( |
uint32_t |
clearmask | ) |
|
|
inline |
Clear bits in mcodeMask that are set in clearmask.
Definition at line 192 of file ObsID.hpp.
◆ dump()
std::ostream & gnsstk::ObsID::dump |
( |
std::ostream & |
s | ) |
const |
|
virtual |
Convenience output method.
Definition at line 51 of file ObsID.cpp.
◆ getDescCB()
static std::string gnsstk::ObsID::getDescCB |
( |
CarrierBand |
e | ) |
|
|
inlinestatic |
SWIG accessor. Not overloaded, because SWIG.
Definition at line 210 of file ObsID.hpp.
◆ getDescOT()
SWIG accessor. Not overloaded, because SWIG.
Definition at line 213 of file ObsID.hpp.
◆ getDescTC()
static std::string gnsstk::ObsID::getDescTC |
( |
TrackingCode |
e | ) |
|
|
inlinestatic |
SWIG accessor. Not overloaded, because SWIG.
Definition at line 207 of file ObsID.hpp.
◆ getMcodeBits()
uint32_t gnsstk::ObsID::getMcodeBits |
( |
| ) |
const |
|
inline |
Return the value of mcode.
Definition at line 186 of file ObsID.hpp.
◆ getMcodeMask()
uint32_t gnsstk::ObsID::getMcodeMask |
( |
| ) |
const |
|
inline |
Return the value of mcodeMask.
Definition at line 195 of file ObsID.hpp.
◆ isWild()
bool gnsstk::ObsID::isWild |
( |
| ) |
const |
Return true if any of the data are wildcard values.
Definition at line 159 of file ObsID.cpp.
◆ makeWild()
void gnsstk::ObsID::makeWild |
( |
| ) |
|
Set all data to wildcard values.
Definition at line 147 of file ObsID.cpp.
◆ maskMcodeBits()
void gnsstk::ObsID::maskMcodeBits |
( |
uint32_t |
newval, |
|
|
uint32_t |
newmask |
|
) |
| |
|
inline |
Alter the value of mcode by replacing only the masked bits in newmask with the value in newval.
- Parameters
-
[in] | newval | The data to be inserted into the mcode bitflag. |
[in] | newmask | Only bits set in newmask will be set in mcode, and mcodeMask will be updated to include set bits in newmask. |
- Postcondition
- mcode = (mcode & ~newmask) | (newval & newmask)
-
mcodeMask |= newmask
Definition at line 180 of file ObsID.hpp.
◆ operator!=()
bool gnsstk::ObsID::operator!= |
( |
const ObsID & |
right | ) |
const |
|
inline |
◆ operator<()
bool gnsstk::ObsID::operator< |
( |
const ObsID & |
right | ) |
const |
|
virtual |
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 105 of file ObsID.cpp.
◆ operator<=()
bool gnsstk::ObsID::operator<= |
( |
const ObsID & |
right | ) |
const |
|
inline |
◆ operator==()
bool gnsstk::ObsID::operator== |
( |
const ObsID & |
right | ) |
const |
|
virtual |
Equality requires all fields to be the same.
Definition at line 71 of file ObsID.cpp.
◆ operator>()
bool gnsstk::ObsID::operator> |
( |
const ObsID & |
right | ) |
const |
|
inline |
◆ operator>=()
bool gnsstk::ObsID::operator>= |
( |
const ObsID & |
right | ) |
const |
|
inline |
◆ setMcodeBits()
void gnsstk::ObsID::setMcodeBits |
( |
uint32_t |
newval, |
|
|
uint32_t |
newmask = -1 |
|
) |
| |
|
inline |
Set the value of mcode while simultaneously setting the mask.
Definition at line 170 of file ObsID.hpp.
◆ setMcodeMask()
void gnsstk::ObsID::setMcodeMask |
( |
uint32_t |
newmask = -1 | ) |
|
|
inline |
Set the value of mcodeMask on its own.
Definition at line 189 of file ObsID.hpp.
◆ ::ObsID_T
◆ band
◆ cbDesc
std::map< CarrierBand, std::string > gnsstk::ObsID::cbDesc |
|
static |
◆ code
◆ freqOffs
int gnsstk::ObsID::freqOffs |
GLONASS frequency offset.
Definition at line 203 of file ObsID.hpp.
◆ freqOffsWild
bool gnsstk::ObsID::freqOffsWild |
True=Treat freqOffs as a wildcard when matching.
Definition at line 204 of file ObsID.hpp.
◆ mcode
uint32_t gnsstk::ObsID::mcode |
|
private |
Data to uniquely identify M-code signal.
Definition at line 226 of file ObsID.hpp.
◆ mcodeMask
uint32_t gnsstk::ObsID::mcodeMask |
|
private |
Bitmask for matching mcode.
Definition at line 227 of file ObsID.hpp.
◆ otDesc
◆ tcDesc
These strings are for forming a somewhat verbose description.
Definition at line 216 of file ObsID.hpp.
◆ type
◆ verbose
bool gnsstk::ObsID::verbose = false |
|
static |
If true, dump and operator<< will include the values of freqOffs, freqOffsWild, mcode, and mcodeMask. These are flags that were added more recently, so this also preserves traditional output.
Definition at line 223 of file ObsID.hpp.
◆ xmitAnt
Identify the transmitting antenna.
Definition at line 202 of file ObsID.hpp.
The documentation for this class was generated from the following files: