ComputeLC Class Reference
[GPSTk data structures]

#include <ComputeLC.hpp>

Inheritance diagram for ComputeLC:

Inheritance graph
[legend]
Collaboration diagram for ComputeLC:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class eases computing LC 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;
   ComputeLC getLC;

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

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

When used with the ">>" operator, this class returns the same incoming data structure with the LC 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.

All observations are in meters.

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

Definition at line 78 of file ComputeLC.hpp.

Public Member Functions

 ComputeLC ()
 Default constructor.
virtual satTypeValueMapProcess (satTypeValueMap &gData) throw (ProcessingException)
 Returns a satTypeValueMap object, adding the new data generated when calling this object.
virtual std::string getClassName (void) const
 Returns a string identifying this object.
virtual ~ComputeLC ()
 Destructor.

Protected Member Functions

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


Constructor & Destructor Documentation

ComputeLC  ) 
 

Default constructor.

Definition at line 42 of file ComputeLC.cpp.

virtual ~ComputeLC  )  [inline, virtual]
 

Destructor.

Definition at line 101 of file ComputeLC.hpp.


Member Function Documentation

std::string getClassName void   )  const [virtual]
 

Returns a string identifying this object.

Reimplemented from ComputeCombination.

Definition at line 37 of file ComputeLC.cpp.

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

Compute the combination of observables.

Implements ComputeCombination.

Definition at line 108 of file ComputeLC.hpp.

References gpstk::GAMMA_GPS.

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 91 of file ComputeLC.hpp.


The documentation for this class was generated from the following files:
Generated on Tue May 21 03:31:42 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1