ComputePdelta Class Reference
[GPSTk data structures]

#include <ComputePdelta.hpp>

Inheritance diagram for ComputePdelta:

Inheritance graph
[legend]
Collaboration diagram for ComputePdelta:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class eases computing Pdelta 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;
   ComputePdelta getPdelta;

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

The "ComputePdelta" object will visit every satellite in the GNSS data structure that is "gRin" and will try to compute its Pdelta combination.

When used with the ">>" operator, this class returns the same incoming data structure with the Pdelta 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 83 of file ComputePdelta.hpp.

Public Member Functions

 ComputePdelta ()
 Default constructor.
virtual satTypeValueMapProcess (satTypeValueMap &gData) throw (ProcessingException)
 Returns a satTypeValueMap object, adding the new data generated when calling this object.
virtual ComputePdeltauseC1 (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 ~ComputePdelta ()
 Destructor.

Protected Member Functions

virtual double getCombination (const double &obs1, const double &obs2)
 Compute the combination of observables.


Constructor & Destructor Documentation

ComputePdelta  ) 
 

Default constructor.

Definition at line 52 of file ComputePdelta.cpp.

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

virtual ~ComputePdelta  )  [inline, virtual]
 

Destructor.

Definition at line 117 of file ComputePdelta.hpp.


Member Function Documentation

std::string getClassName void   )  const [virtual]
 

Returns a string identifying this object.

Reimplemented from ComputeCombination.

Definition at line 47 of file ComputePdelta.cpp.

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

Compute the combination of observables.

Implements ComputeCombination.

Definition at line 124 of file ComputePdelta.hpp.

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 42 of file ComputePdelta.cpp.

virtual satTypeValueMap& Process satTypeValueMap gData  )  throw (ProcessingException) [inline, 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 97 of file ComputePdelta.hpp.

virtual ComputePdelta& useC1 void   )  [inline, virtual]
 

Some Rinex data files provide C1 instead of P1.

Use this method in those cases.

Definition at line 104 of file ComputePdelta.hpp.


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