|
My Project
|
#include <SpecificShare.h>
Public Member Functions | |
| SpecificClock () | |
| ~SpecificClock () | |
| void | setClock (unsigned long mjd, unsigned long sec, unsigned long nanoSeconds) |
| void | setClock (gcp::util::TimeVal &time) |
| void | setClock () |
| double | getUtc () |
The following structure is used by the EXPSTUB UTC clock.
| SpecificShare::SpecificClock::SpecificClock | ( | ) |
Constructor.
....................................................................... Allocate an object to hold UTC clock information.
| SpecificShare::SpecificClock::~SpecificClock | ( | ) |
Destructor.
| Exception | ....................................................................... Delete a SpecificClock object. |
| double SpecificShare::SpecificClock::getUtc | ( | ) |
| void SpecificShare::SpecificClock::setClock | ( | unsigned long | mjd, |
| unsigned long | sec, | ||
| unsigned long | nanoSeconds | ||
| ) |
Set the current time.
| Exception | ....................................................................... Adjust the SZA UTC clock. |
Input:
mjd long The MJD UTC day count. sec long The number of seconds into the above day
| void SpecificShare::SpecificClock::setClock | ( | gcp::util::TimeVal & | time | ) |
Set the current time via a TimeVal ref.
| Exception | ....................................................................... Adjust the SZA UTC clock. |
Input:
mjd long The MJD UTC day count. sec long The number of seconds into the above day
| void SpecificShare::SpecificClock::setClock | ( | void | ) |
Fill the internal time representation with the current time.
| Exception | ....................................................................... Set the SZA UTC to the current time. |