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 int getIndex (void) const
 Returns an index identifying 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 52 of file ComputeLC.cpp.

virtual ~ComputeLC  )  [inline, virtual]
 

Destructor.

Definition at line 105 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 47 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 112 of file ComputeLC.hpp.

References gpstk::GAMMA_GPS.

int getIndex void   )  const [virtual]
 

Returns an index identifying this object.

Reimplemented from ComputeCombination.

Definition at line 42 of file ComputeLC.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 91 of file ComputeLC.hpp.


The documentation for this class was generated from the following files:
Generated on Thu Jul 29 03:31:56 2010 for GPS ToolKit Software Library by  doxygen 1.3.9.1