AlmOrbit Class Reference
[Ephemeris calculations]

#include <AlmOrbit.hpp>

List of all members.


Detailed Description

Encapsulation of almanac SV orbital parameters (page 5, subframes 1-24).

Definition at line 59 of file AlmOrbit.hpp.

Public Member Functions

 AlmOrbit () throw ()
 Default constructor, initialize to 0.
 AlmOrbit (short prn, double aEcc, double ai_offset, double aOMEGAdot, double aAhalf, double aOMEGA0, double aw, double aM0, double aAF0, double aAF1, long aToa, long axmit_time, short aweek, short aSV_health)
 Fill constructor for all fields.
Xvt svXvt (const CommonTime &t) const throw ()
short getPRNID () const throw ()
short getFullWeek () const throw ()
 returns full week of TRANSMIT TIME
CommonTime getTransmitTime () const throw ()
CommonTime getToaTime () const throw ()
CommonTime getTimestamp () const throw ()
short getSVHealth () const throw ()
void dump (std::ostream &s=std::cout, int verbosity=1) const
short getPRN () const
double getecc () const
double geti_offset () const
double getOMEGAdot () const
double getAhalf () const
double getOMEGA0 () const
double getw () const
double getM0 () const
double getAF0 () const
double getAF1 () const
long getToaSOW () const
long getxmit_time () const
short getToaWeek () const

Protected Attributes

short PRN
 PRN identifier for this SV.
double ecc
 eccentricity
double i_offset
 i offset from 54 deg
double OMEGAdot
 Right Ascention rate in rad/sec.
double Ahalf
 sqrt of semi-major axis in m**1/2
double OMEGA0
 Right Asc.
double w
 arguement of perigee in rads
double M0
 mean anomoly in rads
double AF0
 clock model coeff in sec
double AF1
 clock model coeff in sec/sec
long Toa
 Time of epoch in GPS sec.
long xmit_time
 Transmission time.
short week
 week of Toa (full week)
short SV_health
 health of SV

Friends

class EngAlmanac


Constructor & Destructor Documentation

AlmOrbit  )  throw ()
 

Default constructor, initialize to 0.

Definition at line 59 of file AlmOrbit.cpp.

References AlmOrbit::AF0, AlmOrbit::AF1, AlmOrbit::Ahalf, AlmOrbit::ecc, AlmOrbit::i_offset, AlmOrbit::M0, AlmOrbit::OMEGA0, AlmOrbit::OMEGAdot, AlmOrbit::SV_health, AlmOrbit::Toa, AlmOrbit::w, AlmOrbit::week, and AlmOrbit::xmit_time.

AlmOrbit short  prn,
double  aEcc,
double  ai_offset,
double  aOMEGAdot,
double  aAhalf,
double  aOMEGA0,
double  aw,
double  aM0,
double  aAF0,
double  aAF1,
long  aToa,
long  axmit_time,
short  aweek,
short  aSV_health
 

Fill constructor for all fields.

Definition at line 68 of file AlmOrbit.cpp.


Member Function Documentation

void dump std::ostream &  s = std::cout,
int  verbosity = 1
const
 

Definition at line 220 of file AlmOrbit.cpp.

References AlmOrbit::AF0, AlmOrbit::AF1, AlmOrbit::Ahalf, AlmOrbit::ecc, AlmOrbit::i_offset, AlmOrbit::M0, AlmOrbit::OMEGA0, AlmOrbit::OMEGAdot, AlmOrbit::PRN, AlmOrbit::SV_health, AlmOrbit::Toa, AlmOrbit::w, AlmOrbit::week, and AlmOrbit::xmit_time.

Referenced by GPSAlmanacStore::dump().

short getFullWeek  )  const throw ()
 

returns full week of TRANSMIT TIME

Definition at line 202 of file AlmOrbit.cpp.

References AlmOrbit::Toa.

Referenced by AlmOrbit::getTransmitTime().

short getPRNID  )  const throw () [inline]
 

Definition at line 73 of file AlmOrbit.hpp.

short getSVHealth  )  const throw () [inline]
 

Definition at line 81 of file AlmOrbit.hpp.

Referenced by GPSAlmanacStore::getSatHealth().

CommonTime getTimestamp  )  const throw () [inline]
 

Definition at line 80 of file AlmOrbit.hpp.

CommonTime getToaTime  )  const throw ()
 

Definition at line 215 of file AlmOrbit.cpp.

References AlmOrbit::Toa, and AlmOrbit::week.

Referenced by GPSAlmanacStore::addAlmanac().

CommonTime getTransmitTime  )  const throw ()
 

Definition at line 197 of file AlmOrbit.cpp.

References AlmOrbit::getFullWeek(), and AlmOrbit::xmit_time.

Xvt svXvt const CommonTime t  )  const throw ()
 

Definition at line 79 of file AlmOrbit.cpp.

References GPSEllipsoid::angVelocity(), Xvt::clkbias, GPSEllipsoid::gm(), Xvt::v, and Xvt::x.

Referenced by GPSAlmanacStore::getXvt(), and GPSAlmanacStore::getXvtMostRecentXmit().


Friends And Related Function Documentation

friend class EngAlmanac [friend]
 

Definition at line 116 of file AlmOrbit.hpp.


Member Data Documentation

double AF0 [protected]
 

clock model coeff in sec

Definition at line 108 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), and AlmOrbit::dump().

double AF1 [protected]
 

clock model coeff in sec/sec

Definition at line 109 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), and AlmOrbit::dump().

double Ahalf [protected]
 

sqrt of semi-major axis in m**1/2

Definition at line 104 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), and AlmOrbit::dump().

double ecc [protected]
 

eccentricity

Definition at line 101 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), and AlmOrbit::dump().

double i_offset [protected]
 

i offset from 54 deg

in rads.

Definition at line 102 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), and AlmOrbit::dump().

double M0 [protected]
 

mean anomoly in rads

Definition at line 107 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), and AlmOrbit::dump().

double OMEGA0 [protected]
 

Right Asc.

of Ascending node in rads.

Definition at line 105 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), and AlmOrbit::dump().

double OMEGAdot [protected]
 

Right Ascention rate in rad/sec.

Definition at line 103 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), and AlmOrbit::dump().

short PRN [protected]
 

PRN identifier for this SV.

Definition at line 100 of file AlmOrbit.hpp.

Referenced by AlmOrbit::dump().

short SV_health [protected]
 

health of SV

Definition at line 113 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), and AlmOrbit::dump().

long Toa [protected]
 

Time of epoch in GPS sec.

Definition at line 110 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), AlmOrbit::dump(), AlmOrbit::getFullWeek(), and AlmOrbit::getToaTime().

double w [protected]
 

arguement of perigee in rads

Definition at line 106 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), and AlmOrbit::dump().

short week [protected]
 

week of Toa (full week)

Definition at line 112 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), AlmOrbit::dump(), and AlmOrbit::getToaTime().

long xmit_time [protected]
 

Transmission time.

Definition at line 111 of file AlmOrbit.hpp.

Referenced by AlmOrbit::AlmOrbit(), AlmOrbit::dump(), and AlmOrbit::getTransmitTime().


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