ATSData Class Reference

#include <ATSData.hpp>

Inheritance diagram for ATSData:

Inheritance graph
[legend]
Collaboration diagram for ATSData:

Collaboration graph
[legend]
List of all members.

Detailed Description

This class contains header information for all data types transmitted by receiver meeting the MDP specification.

Definition at line 73 of file ATSData.hpp.

Public Member Functions

 ATSData () throw ()
bool isValid () const
virtual bool isData () const
 This class is "data" so this function always returns "true".
virtual std::string getName () const
 Simple accessors for various static thangs.
void dump (std::ostream &out, int detail=0) const throw ()
 Dump some debugging information to the given ostream.

Public Attributes

uint8_t numChan
uint8_t numSubChan
std::vector< ChannelBlockchannels

Static Public Attributes

const uint8_t MaxNumChan = 48
const uint8_t MaxNumSubChan = 12
int debugLevel = 0
bool hexDump = false

Protected Member Functions

virtual void reallyPutRecord (FFStream &s) const throw (std::exception, StringUtils::StringException, FFStreamError)
 Does the actual writing from the stream into this FFData object.
virtual void reallyGetRecord (FFStream &s) throw (std::exception, StringUtils::StringException, FFStreamError, EndOfFile)
 Does the actual reading from the stream into this FFData object.


Constructor & Destructor Documentation

ATSData  )  throw () [inline]
 

Definition at line 76 of file ATSData.hpp.


Member Function Documentation

void dump std::ostream &  out,
int  detail = 0
const throw ()
 

Dump some debugging information to the given ostream.

Parameters:
out the ostream to write to

Definition at line 205 of file ATSData.cpp.

References ATSData::ChannelBlock::absTime, SatID::id, ATSData::ChannelBlock::subChannels, and ATSData::ChannelBlock::svid.

virtual std::string getName  )  const [inline, virtual]
 

Simple accessors for various static thangs.

Definition at line 86 of file ATSData.hpp.

virtual bool isData void   )  const [inline, virtual]
 

This class is "data" so this function always returns "true".

Reimplemented from FFData.

Definition at line 83 of file ATSData.hpp.

bool isValid void   )  const [inline]
 

Definition at line 80 of file ATSData.hpp.

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

Does the actual reading from the stream into this FFData object.

Implements FFData.

Definition at line 111 of file ATSData.cpp.

References ATSData::ChannelBlock::absTime, ATSData::SubChannelBlock::cn0, gpstk::dump(), ATSData::SubChannelBlock::flags, FFBinaryStream::getData(), GPSTK_THROW, gpstk::StringUtils::hexDumpData(), ATSData::SubChannelBlock::navLSB, ATSData::SubChannelBlock::navMSB, ATSData::SubChannelBlock::phase, ATSData::SubChannelBlock::pseudorange, ATSStream::rangeBias, ATSData::SubChannelBlock::rangeRate, ATSStream::rawData, FFStream::recordNumber, ATSData::ChannelBlock::subChannels, and ATSData::ChannelBlock::svid.

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

Does the actual writing from the stream into this FFData object.

Implements FFData.

Definition at line 67 of file ATSData.cpp.

References GPSTK_THROW, and gpstk::StringUtils::hexDumpData().


Member Data Documentation

std::vector<ChannelBlock> channels
 

Definition at line 117 of file ATSData.hpp.

int debugLevel = 0 [static]
 

Definition at line 59 of file ATSData.cpp.

bool hexDump = false [static]
 

Definition at line 62 of file ATSData.cpp.

const uint8_t MaxNumChan = 48 [static]
 

Definition at line 63 of file ATSData.cpp.

const uint8_t MaxNumSubChan = 12 [static]
 

Definition at line 64 of file ATSData.cpp.

uint8_t numChan
 

Definition at line 112 of file ATSData.hpp.

uint8_t numSubChan
 

Definition at line 113 of file ATSData.hpp.


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