ComputeMelbourneWubbena Class Reference
[GPSTk data structures]

#include <ComputeMelbourneWubbena.hpp>

Inheritance diagram for ComputeMelbourneWubbena:

Inheritance graph
[legend]
Collaboration diagram for ComputeMelbourneWubbena:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class eases computing Melbourne-Wubbena combination for GNSS data structures.

This class is meant to be used with the GNSS data structures objects found in "DataStructures" class.

A typical way to use this class follows:

   RinexObsStream rin("ebre0300.02o");

   gnssRinex gRin;
   ComputeMelbourneWubbena getMW;

   while(rin >> gRin)
   {
      gRin >> getMW;
   }

The "ComputeMelbourne-Wubbena" object will visit every satellite in the GNSS data structure that is "gRin" and will try to compute its Melbourne-Wubbena combination.

When used with the ">>" operator, this class returns the same incoming data structure with the Melbourne-Wubbena combinations inserted along their corresponding satellites. Be warned that if a given satellite does not have the observations required, it will be summarily deleted from the data structure.

Sometimes, the Rinex observations file does not have P1, but provides C1 instead. In such cases, you must use the useC1() method.

All observations are in meters.

See also:
ComputeLinear.hpp and LinearCombinations.hpp for a different approach to the same task.

Definition at line 84 of file ComputeMelbourneWubbena.hpp.

Public Member Functions

 ComputeMelbourneWubbena ()
 Default constructor.
virtual satTypeValueMapProcess (satTypeValueMap &gData) throw (ProcessingException)
 Returns a satTypeValueMap object, adding the new data generated when calling this object.
virtual ComputeMelbourneWubbenauseC1 (void)
 Some Rinex data files provide C1 instead of P1.
virtual int getIndex (void) const
 Returns an index identifying this object.
virtual std::string getClassName (void) const
 Returns a string identifying this object.
virtual ~ComputeMelbourneWubbena ()
 Destructor.

Protected Member Functions

virtual double getCombination (const double &p1, const double &p2, const double &l1, const double &l2)
 Compute the combination of observables.
virtual double getCombination (const double &obs1, const double &obs2)
 Dummy function.


Constructor & Destructor Documentation

ComputeMelbourneWubbena  ) 
 

Default constructor.

Definition at line 53 of file ComputeMelbourneWubbena.cpp.

References L1, gpstk::L1_FREQ, L2, and gpstk::L2_FREQ.

virtual ~ComputeMelbourneWubbena  )  [inline, virtual]
 

Destructor.

Definition at line 116 of file ComputeMelbourneWubbena.hpp.


Member Function Documentation

std::string getClassName void   )  const [virtual]
 

Returns a string identifying this object.

Reimplemented from ComputeCombination.

Definition at line 48 of file ComputeMelbourneWubbena.cpp.

virtual double getCombination const double &  obs1,
const double &  obs2
[inline, protected, virtual]
 

Dummy function.

Implements ComputeCombination.

Definition at line 130 of file ComputeMelbourneWubbena.hpp.

double getCombination const double &  p1,
const double &  p2,
const double &  l1,
const double &  l2
[protected, virtual]
 

Compute the combination of observables.

Definition at line 133 of file ComputeMelbourneWubbena.cpp.

References gpstk::L1_FREQ, and gpstk::L2_FREQ.

int getIndex void   )  const [virtual]
 

Returns an index identifying this object.

Reimplemented from ComputeCombination.

Definition at line 43 of file ComputeMelbourneWubbena.cpp.

satTypeValueMap & Process satTypeValueMap gData  )  throw (ProcessingException) [virtual]
 

Returns a satTypeValueMap object, adding the new data generated when calling this object.

Parameters:
gData Data object holding the data.

Reimplemented from ComputeCombination.

Definition at line 69 of file ComputeMelbourneWubbena.cpp.

References GPSTK_THROW, and gpstk::SatIDSet.

virtual ComputeMelbourneWubbena& useC1 void   )  [inline, virtual]
 

Some Rinex data files provide C1 instead of P1.

Use this method in those cases.

Definition at line 103 of file ComputeMelbourneWubbena.hpp.


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