ConvertC1ToP1 Class Reference
[GPSTk data structures]

#include <ConvertC1ToP1.hpp>

Inheritance diagram for ConvertC1ToP1:

Inheritance graph
[legend]
Collaboration diagram for ConvertC1ToP1:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class convert C1 observable to P1 observable with add (P1-C1) Differences of Code Biases(P1-C1).

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:

   gnssRinex gRin;
   ConvertC1ToP1 c1ToP1;
   coor.setDCBFile("P1C11001.DCB");

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

The "CorrectObservables" object will visit every satellite in the GNSS data structure that is "gRin", it will do nothing if P1 is available, and it will insert new P1 as C1+Bp1-c1 if P1 is unavailable. Be warned that if there no a DCB file be inputed, it will take C1 as P1.

When used with the ">>" operator, this class returns the same incoming data structure with the observables corrected.

Definition at line 74 of file ConvertC1ToP1.hpp.

Public Member Functions

 ConvertC1ToP1 ()
 Default constructor.
 ~ConvertC1ToP1 ()
virtual ConvertC1ToP1setDCBFile (const std::string &fileP1C1)
 Sets name of file containing DCBs data.
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 () const
 Returns a string identifying this object.

Protected Attributes

DCBDataReader dcbP1C1
 Object to access DCB data from CODE.


Constructor & Destructor Documentation

ConvertC1ToP1  )  [inline]
 

Default constructor.

Definition at line 78 of file ConvertC1ToP1.hpp.

~ConvertC1ToP1  )  [inline]
 

Definition at line 81 of file ConvertC1ToP1.hpp.


Member Function Documentation

std::string getClassName  )  const [virtual]
 

Returns a string identifying this object.

Implements ProcessingClass.

Definition at line 39 of file ConvertC1ToP1.cpp.

virtual gnssRinex& Process gnssRinex gData  )  throw (ProcessingException) [inline, 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 114 of file ConvertC1ToP1.hpp.

virtual gnssSatTypeValue& Process gnssSatTypeValue gData  )  throw (ProcessingException) [inline, 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 104 of file ConvertC1ToP1.hpp.

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 58 of file ConvertC1ToP1.cpp.

References gpstk::C_MPS, DCBDataReader::getDCB(), GPSTK_THROW, and gpstk::SatIDSet.

ConvertC1ToP1 & setDCBFile const std::string &  fileP1C1  )  [virtual]
 

Sets name of file containing DCBs data.

Parameters:
name Name of the file containing DCB(P1-C1)

Definition at line 45 of file ConvertC1ToP1.cpp.

References ConvertC1ToP1::dcbP1C1, and DCBDataReader::open().


Member Data Documentation

DCBDataReader dcbP1C1 [protected]
 

Object to access DCB data from CODE.

Definition at line 126 of file ConvertC1ToP1.hpp.

Referenced by ConvertC1ToP1::setDCBFile().


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