ComputeSimpleWeights Class Reference
[GPSTk data structures]

#include <ComputeSimpleWeights.hpp>

Inheritance diagram for ComputeSimpleWeights:

Inheritance graph
[legend]
Collaboration diagram for ComputeSimpleWeights:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class computes simple satellites weights partially based on the variance model by Kennedy, 2002.

It 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");

      // Declare a GDS object
   gnssRinex gRin;

      // Create a 'ComputeSimpleWeights' object
   ComputeSimpleWeights sWeights;

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

The "ComputeSimpleWeights" object will visit every satellite in the GNSS data structure that is "gRin" and will try to compute its weight based on a simple algorithm.

When used with the ">>" operator, this class returns the same incoming data structure with the weights inserted along their corresponding satellites. Be warned that if it is not possible to compute the weight for a given satellite, it will be summarily deleted from the data structure.

See also:
ComputeIURAWeights.hpp, ComputeMOPSWeights.hpp.

Definition at line 85 of file ComputeSimpleWeights.hpp.

Public Member Functions

 ComputeSimpleWeights ()
 Default constructor.
virtual satTypeValueMapProcess (const CommonTime &time, satTypeValueMap &gData) throw (ProcessingException)
 Returns a satTypeValueMap object, adding the new data generated when calling this object.
virtual gnssSatTypeValueProcess (gnssSatTypeValue &gData) throw (ProcessingException)
 Returns a gnnsSatTypeValue object, adding the new data generated when calling this object.
virtual gnssRinexProcess (gnssRinex &gData) throw (ProcessingException)
 Returns a gnnsRinex object, adding the new data generated when calling this object.
virtual std::string getClassName (void) const
 Returns a string identifying this object.
virtual ~ComputeSimpleWeights ()
 Destructor.


Constructor & Destructor Documentation

ComputeSimpleWeights  )  [inline]
 

Default constructor.

Definition at line 90 of file ComputeSimpleWeights.hpp.

virtual ~ComputeSimpleWeights  )  [inline, virtual]
 

Destructor.

Definition at line 128 of file ComputeSimpleWeights.hpp.


Member Function Documentation

std::string getClassName void   )  const [virtual]
 

Returns a string identifying this object.

Implements ProcessingClass.

Definition at line 40 of file ComputeSimpleWeights.cpp.

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

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

Parameters:
gData Data object holding the data.

Implements ProcessingClass.

Definition at line 163 of file ComputeSimpleWeights.cpp.

References GPSTK_THROW.

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

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

Parameters:
gData Data object holding the data.

Implements ProcessingClass.

Definition at line 132 of file ComputeSimpleWeights.cpp.

References GPSTK_THROW.

satTypeValueMap & Process const CommonTime time,
satTypeValueMap gData
throw (ProcessingException) [virtual]
 

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

Parameters:
time Epoch corresponding to the data.
gData Data object holding the data.

Definition at line 51 of file ComputeSimpleWeights.cpp.

References NBTropModel::dry_mapping_function(), GPSTK_THROW, and gpstk::SatIDSet.


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