CommonTime Accessor Methods


Functions

CommonTime & gpstk::CommonTime::set (long day, long sod, double fsod=0.0, TimeSystem timeSystem=TimeSystem::Unknown) throw ( InvalidParameter )
 Set method that accepts values for day, seconds of day and fractional seconds of day.
CommonTime & gpstk::CommonTime::set (long day, double sod=0.0, TimeSystem timeSystem=TimeSystem::Unknown) throw ( InvalidParameter )
 Set method that accepts values for day and seconds of day.
CommonTime & gpstk::CommonTime::set (double day, TimeSystem timeSys=TimeSystem::Unknown) throw ( InvalidParameter )
 Set method that accepts a value for day.
CommonTime & gpstk::CommonTime::setInternal (long day=0, long msod=0, double fsod=0.0, TimeSystem timeSys=TimeSystem::Unknown) throw ( InvalidParameter )
 Set internal values method.
void gpstk::CommonTime::setTimeSystem (const TimeSystem &timeSystem) throw ()
 Set method for internal variable m_timeSystem.
void gpstk::CommonTime::get (long &day, long &sod, double &fsod, TimeSystem &timeSystem) const throw ()
 Get method.
void gpstk::CommonTime::get (long &day, long &sod, double &fsod) const throw ()
 Get method.
void gpstk::CommonTime::get (long &day, double &sod, TimeSystem &timeSystem) const throw ()
 Get method through which one may obtain values for day and second of day which includes the fractional second of day, plus the time frame.
void gpstk::CommonTime::get (long &day, double &sod) const throw ()
 Get method through which one may obtain values for day and second of day which includes the fractional second of day.
void gpstk::CommonTime::get (double &day, TimeSystem &timeSystem) const throw ()
 Get method through which one may obtain a value for day which includes the fraction of a day, plus the time frame.
void gpstk::CommonTime::get (double &day) const throw ()
 Get method through which one may obtain a value for day which includes the fraction of a day.
void gpstk::CommonTime::getInternal (long &day, long &msod, double &fsod, TimeSystem &timeSystem) const throw ()
 Get internal values method.
void gpstk::CommonTime::getInternal (long &day, long &msod, double &fsod) const throw ()
 Get internal values method.
double gpstk::CommonTime::getDays () const throw ()
 Obtain the time, in days, including the fraction of a day.
double gpstk::CommonTime::getSecondOfDay () const throw ()
 Obtain the seconds of day (ignoring the day).
TimeSystem gpstk::CommonTime::getTimeSystem () const throw ()
 Obtain time system info (enum).


Function Documentation

void get double &  day  )  const throw () [inherited]
 

Get method through which one may obtain a value for day which includes the fraction of a day.

Definition at line 237 of file CommonTime.cpp.

void get double &  day,
TimeSystem timeSystem
const throw () [inherited]
 

Get method through which one may obtain a value for day which includes the fraction of a day, plus the time frame.

Definition at line 226 of file CommonTime.cpp.

References gpstk::MS_PER_DAY.

void get long &  day,
double &  sod
const throw () [inherited]
 

Get method through which one may obtain values for day and second of day which includes the fractional second of day.

Definition at line 218 of file CommonTime.cpp.

void get long &  day,
double &  sod,
TimeSystem timeSystem
const throw () [inherited]
 

Get method through which one may obtain values for day and second of day which includes the fractional second of day, plus the time frame.

Definition at line 208 of file CommonTime.cpp.

References gpstk::MS_PER_SEC.

void get long &  day,
long &  sod,
double &  fsod
const throw () [inherited]
 

Get method.

Obtain values in days, second of day and fractional second of day.

Definition at line 199 of file CommonTime.cpp.

void get long &  day,
long &  sod,
double &  fsod,
TimeSystem timeSystem
const throw () [inherited]
 

Get method.

Obtain values in days, second of day and fractional second of day, plus the time frame.

Definition at line 186 of file CommonTime.cpp.

References gpstk::SEC_PER_MS.

Referenced by YDSTime::convertFromCommonTime(), UnixTime::convertFromCommonTime(), MJD::convertFromCommonTime(), JulianDate::convertFromCommonTime(), GPSWeekZcount::convertFromCommonTime(), GPSWeekSecond::convertFromCommonTime(), CivilTime::convertFromCommonTime(), ANSITime::convertFromCommonTime(), CommonTime::getDays(), and CommonTime::getSecondOfDay().

double getDays  )  const throw () [inherited]
 

Obtain the time, in days, including the fraction of a day.

Definition at line 244 of file CommonTime.cpp.

References CommonTime::get().

void getInternal long &  day,
long &  msod,
double &  fsod
const throw () [inline, inherited]
 

Get internal values method.

Obtain the values stored within this object.

Definition at line 251 of file CommonTime.hpp.

void getInternal long &  day,
long &  msod,
double &  fsod,
TimeSystem timeSystem
const throw () [inline, inherited]
 

Get internal values method.

Obtain the values stored within this object.

Definition at line 240 of file CommonTime.hpp.

double getSecondOfDay  )  const throw () [inherited]
 

Obtain the seconds of day (ignoring the day).

Definition at line 252 of file CommonTime.cpp.

References CommonTime::get().

TimeSystem getTimeSystem  )  const throw () [inherited]
 

Obtain time system info (enum).

Definition at line 261 of file CommonTime.cpp.

CommonTime & set double  day,
TimeSystem  timeSys = TimeSystem::Unknown
throw ( InvalidParameter ) [inherited]
 

Set method that accepts a value for day.

It also checks the validity of the argument and throws an exception if its value is out of bounds.

Definition at line 140 of file CommonTime.cpp.

CommonTime & set long  day,
double  sod = 0.0,
TimeSystem  timeSystem = TimeSystem::Unknown
throw ( InvalidParameter ) [inherited]
 

Set method that accepts values for day and seconds of day.

It also checks the validity of the arguments and throws an exception if any values are out of bounds.

Definition at line 128 of file CommonTime.cpp.

CommonTime & set long  day,
long  sod,
double  fsod = 0.0,
TimeSystem  timeSystem = TimeSystem::Unknown
throw ( InvalidParameter ) [inherited]
 

Set method that accepts values for day, seconds of day and fractional seconds of day.

It also checks the validity of the arguments and throws an exception if any values are out of bounds.

Definition at line 84 of file CommonTime.cpp.

References GPSTK_THROW, and gpstk::MS_PER_SEC.

Referenced by YDSTime::convertToCommonTime(), UnixTime::convertToCommonTime(), MJD::convertToCommonTime(), JulianDate::convertToCommonTime(), GPSWeekZcount::convertToCommonTime(), GPSWeekSecond::convertToCommonTime(), CivilTime::convertToCommonTime(), and ANSITime::convertToCommonTime().

CommonTime & setInternal long  day = 0,
long  msod = 0,
double  fsod = 0.0,
TimeSystem  timeSys = TimeSystem::Unknown
throw ( InvalidParameter ) [inherited]
 

Set internal values method.

Set the data members of this object directly. Checks the validity of the given time representation and throws an exception if any values are out of bounds.

Definition at line 150 of file CommonTime.cpp.

References GPSTK_THROW.

void setTimeSystem const TimeSystem timeSystem  )  throw () [inline, inherited]
 

Set method for internal variable m_timeSystem.

Definition at line 180 of file CommonTime.hpp.

Referenced by OrbElemRinex::adjustBeginningValidity(), OrbElemLNav::adjustBeginningValidity(), OrbElemICE::adjustBeginningValidity(), gpstk::correctTimeSystem(), Rinex3EphemerisStore::getFinalTime(), Rinex3EphemerisStore::getInitialTime(), OrbElem::OrbElem(), OrbElemCNAV::OrbElemCNAV(), OrbElemICE::OrbElemICE(), and PackedNavBits::PackedNavBits().


Generated on Tue May 21 03:31:39 2013 for GPS ToolKit Software Library by  doxygen 1.3.9.1