MSCData Class Reference
[files]

#include <MSCData.hpp>

Inheritance diagram for MSCData:

Inheritance graph
[legend]
Collaboration diagram for MSCData:

Collaboration graph
[legend]
List of all members.

Detailed Description

Model for a Monitor Station Coordinates File Data Record.

Definition at line 64 of file MSCData.hpp.

Public Member Functions

 MSCData () throw ()
 constructor
virtual ~MSCData () throw ()
 destructor
Xvt getXvt (const DayTime &t) const throw (InvalidRequest)
 Returns position, velocity, time in ECEF coords, units meters, for the indicated time.
virtual bool isData () const
 MSCData is data, so this always return true.

Public Attributes

gpstk::DayTime time
 date coordinates released (Bookkeeping convenience not used)
unsigned long station
 Monitor Station number (e.g. 10234).
std::string mnemonic
 Monitor Station identifier (e.g. ARLM).
gpstk::DayTime refepoch
 epoch of coordinates and velocities
gpstk::DayTime effepoch
 earliest epoch data is valid
gpstk::ECEF coordinates
 ECEF XYZ coordinates.
gpstk::Triple velocities
 XYZ velocities.

Protected Member Functions

virtual void reallyPutRecord (gpstk::FFStream &ffs) const throw (std::exception, gpstk::FFStreamError, gpstk::StringUtils::StringException)
 Write an MSCData object in the format specified by the stream.
virtual void reallyGetRecord (gpstk::FFStream &ffs) throw (std::exception, gpstk::FFStreamError, gpstk::StringUtils::StringException)
 Retrieve an MSCData record from the given gpstk::FFStream.


Constructor & Destructor Documentation

MSCData  )  throw () [inline]
 

constructor

Definition at line 68 of file MSCData.hpp.

virtual ~MSCData  )  throw () [inline, virtual]
 

destructor

Definition at line 71 of file MSCData.hpp.


Member Function Documentation

Xvt getXvt const DayTime t  )  const throw (InvalidRequest)
 

Returns position, velocity, time in ECEF coords, units meters, for the indicated time.

Parameters:
t time for which to calcuate the position
Exceptions:
InvalidRequest If the request can not be completed for any reason, this is thrown. The text may have additional information as to why the request failed.

Definition at line 213 of file MSCData.cpp.

References Xvt::ddtime, Xvt::dtime, GPSTK_RETHROW, Xvt::v, and Xvt::x.

Referenced by MSCStore::getXvt().

virtual bool isData void   )  const [inline, virtual]
 

MSCData is data, so this always return true.

Reimplemented from FFData.

Definition at line 91 of file MSCData.hpp.

void reallyGetRecord gpstk::FFStream ffs  )  throw (std::exception, gpstk::FFStreamError, gpstk::StringUtils::StringException) [protected, virtual]
 

Retrieve an MSCData record from the given gpstk::FFStream.

If there is a problem reading from the stream, it is reset to its original position and it's failbit is set.

Exceptions:
StringException when a gpstk::StringUtils functions fails
gpstk::FFStreamError when exceptions(failbit) is set and a read or formatting error occurs. This also resets the stream to it pre-read position.

Definition at line 111 of file MSCData.cpp.

References gpstk::StringUtils::asDouble(), gpstk::StringUtils::asInt(), and FFTextStream::formattedGetLine().

void reallyPutRecord gpstk::FFStream ffs  )  const throw (std::exception, gpstk::FFStreamError, gpstk::StringUtils::StringException) [protected, virtual]
 

Write an MSCData object in the format specified by the stream.

Definition at line 58 of file MSCData.cpp.

References gpstk::StringUtils::asString(), gpstk::StringUtils::leftJustify(), FFTextStream::lineNumber, and gpstk::StringUtils::rightJustify().


Member Data Documentation

gpstk::ECEF coordinates
 

ECEF XYZ coordinates.

Definition at line 87 of file MSCData.hpp.

Referenced by MSCStore::dump(), and ObsEphReaderFramework::initialize().

gpstk::DayTime effepoch
 

earliest epoch data is valid

Definition at line 86 of file MSCData.hpp.

Referenced by MSCStore::dump().

std::string mnemonic
 

Monitor Station identifier (e.g. ARLM).

Definition at line 84 of file MSCData.hpp.

Referenced by MSCStore::dump().

gpstk::DayTime refepoch
 

epoch of coordinates and velocities

Definition at line 85 of file MSCData.hpp.

Referenced by MSCStore::dump().

unsigned long station
 

Monitor Station number (e.g. 10234).

Definition at line 83 of file MSCData.hpp.

Referenced by ObsEphReaderFramework::initialize().

gpstk::DayTime time
 

date coordinates released (Bookkeeping convenience not used)

Definition at line 81 of file MSCData.hpp.

gpstk::Triple velocities
 

XYZ velocities.

Definition at line 88 of file MSCData.hpp.

Referenced by MSCStore::dump().


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