MDPObsEpoch Class Reference

#include <MDPObsEpoch.hpp>

Inheritance diagram for MDPObsEpoch:

Inheritance graph
[legend]
Collaboration diagram for MDPObsEpoch:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class represents a set of observations from a single SV at a single point in time.

Definition at line 51 of file MDPObsEpoch.hpp.

Public Types

typedef std::pair< CarrierCode,
RangeCode
ObsKey
typedef std::map< ObsKey,
Observation
ObsMap

Public Member Functions

 MDPObsEpoch () throw ()
virtual std::string encode () const throw ()
 Encode this object to a string.
virtual void decode (std::string str) throw ()
 Decode this object from a string.
virtual std::string getName () const
 Simple accessors for various static thangs.
void dump (std::ostream &out) const throw ()
 Dump some debugging information to the given ostream.
bool haveObservation (const CarrierCode cc, const RangeCode rc) const
Observation getObservation (const CarrierCode cc, const RangeCode rc) const
bool haveObservation (const ObsKey &ok) const
Observation getObservation (const ObsKey &ok) const

Public Attributes

unsigned numSVs
 The number of SVs in track for this epoch.
unsigned channel
 The channel this SV is tracked on.
unsigned prn
 The SV's PRN.
unsigned status
 SV Health status.
double elevation
 The SV's elevation in degrees.
double azimuth
 The SV's azimuth in degrees.
ObsMap obs
 The list of Observations made at this Epoch.

Static Public Attributes

const unsigned myId = 300
const unsigned myLength = 8
 = 16
const unsigned myObsLength = 32


Member Typedef Documentation

typedef std::pair<CarrierCode, RangeCode> ObsKey
 

Definition at line 102 of file MDPObsEpoch.hpp.

Referenced by MDPObsEpoch::getObservation(), and MDPObsEpoch::haveObservation().

typedef std::map<ObsKey, Observation> ObsMap
 

Definition at line 103 of file MDPObsEpoch.hpp.


Constructor & Destructor Documentation

MDPObsEpoch  )  throw ()
 

Definition at line 58 of file MDPObsEpoch.cpp.


Member Function Documentation

void decode std::string  str  )  throw () [virtual]
 

Decode this object from a string.

Parameters:
str the string to read from.
Note:
This is a non-destructive decode.

Reimplemented from MDPHeader.

Definition at line 94 of file MDPObsEpoch.cpp.

References MDPObsEpoch::Observation::bw, MDPObsEpoch::Observation::carrier, gpstk::ccMax, MDPObsEpoch::Observation::decode(), MDPObsEpoch::Observation::range, gpstk::rcMax, and MDPObsEpoch::Observation::snr.

void dump std::ostream &  out  )  const throw () [virtual]
 

Dump some debugging information to the given ostream.

Parameters:
out the ostream to write to

Reimplemented from MDPHeader.

Definition at line 277 of file MDPObsEpoch.cpp.

References gpstk::dump().

string encode  )  const throw () [virtual]
 

Encode this object to a string.

Returns:
this object as a string.

Reimplemented from MDPHeader.

Definition at line 67 of file MDPObsEpoch.cpp.

References MDPObsEpoch::azimuth, MDPObsEpoch::channel, MDPObsEpoch::elevation, gpstk::BinUtils::encodeVar(), MDPObsEpoch::numSVs, MDPObsEpoch::obs, MDPObsEpoch::prn, and MDPObsEpoch::status.

virtual std::string getName  )  const [inline, virtual]
 

Simple accessors for various static thangs.

Reimplemented from MDPHeader.

Definition at line 95 of file MDPObsEpoch.hpp.

Observation getObservation const ObsKey ok  )  const [inline]
 

Definition at line 121 of file MDPObsEpoch.hpp.

MDPObsEpoch::Observation getObservation const CarrierCode  cc,
const RangeCode  rc
const
 

Definition at line 221 of file MDPObsEpoch.cpp.

References MDPObsEpoch::haveObservation(), MDPObsEpoch::obs, and MDPObsEpoch::ObsKey.

Referenced by gpstk::makeMDPEpoch().

bool haveObservation const ObsKey ok  )  const [inline]
 

Definition at line 118 of file MDPObsEpoch.hpp.

bool haveObservation const CarrierCode  cc,
const RangeCode  rc
const
 

Definition at line 212 of file MDPObsEpoch.cpp.

References MDPObsEpoch::obs, and MDPObsEpoch::ObsKey.

Referenced by MDPObsEpoch::getObservation(), and gpstk::makeMDPEpoch().


Member Data Documentation

double azimuth
 

The SV's azimuth in degrees.

Definition at line 110 of file MDPObsEpoch.hpp.

Referenced by MDPObsEpoch::encode(), gpstk::makeMDPEpoch(), and gpstk::makeMDPObsEpoch().

unsigned channel
 

The channel this SV is tracked on.

Definition at line 106 of file MDPObsEpoch.hpp.

Referenced by MDPObsEpoch::encode(), gpstk::makeMDPEpoch(), and gpstk::makeMDPObsEpoch().

double elevation
 

The SV's elevation in degrees.

Definition at line 109 of file MDPObsEpoch.hpp.

Referenced by MDPObsEpoch::encode(), gpstk::makeMDPEpoch(), and gpstk::makeMDPObsEpoch().

const unsigned myId = 300 [static]
 

Definition at line 124 of file MDPObsEpoch.hpp.

const unsigned myLength = 8 [static]
 

= 16

Reimplemented from MDPHeader.

Definition at line 126 of file MDPObsEpoch.hpp.

const unsigned myObsLength = 32 [static]
 

Definition at line 128 of file MDPObsEpoch.hpp.

unsigned numSVs
 

The number of SVs in track for this epoch.

Definition at line 105 of file MDPObsEpoch.hpp.

Referenced by MDPObsEpoch::encode(), gpstk::makeMDPObsEpoch(), and gpstk::operator>>().

ObsMap obs
 

The list of Observations made at this Epoch.

Definition at line 112 of file MDPObsEpoch.hpp.

Referenced by MDPObsEpoch::encode(), MDPObsEpoch::getObservation(), MDPObsEpoch::haveObservation(), and gpstk::makeMDPEpoch().

unsigned prn
 

The SV's PRN.

Definition at line 107 of file MDPObsEpoch.hpp.

Referenced by MDPObsEpoch::encode(), gpstk::makeMDPEpoch(), gpstk::makeMDPObsEpoch(), gpstk::makeObsEpoch(), gpstk::makeRinexObsData(), and gpstk::operator>>().

unsigned status
 

SV Health status.

Definition at line 108 of file MDPObsEpoch.hpp.

Referenced by MDPObsEpoch::encode(), gpstk::makeMDPEpoch(), and gpstk::makeMDPObsEpoch().


The documentation for this class was generated from the following files:
Generated on Wed Feb 8 03:31:34 2012 for GPS ToolKit Software Library by  doxygen 1.3.9.1