Classes | |
class | O_SESSAME::ssfTime |
Simulation Time object. More... | |
Defines | |
#define | TIME_PRECISION 15 |
Typedefs | |
typedef double | O_SESSAME::ssfSeconds |
typedef double | O_SESSAME::ssfJulianDate |
Functions | |
ssfJulianDate | O_SESSAME::ssfTime::JulianDate (const ssfSeconds &_time) |
Calculates the Julian Date given a time in seconds since the system epoch. | |
Variables | |
ssfTime | O_SESSAME::tickTime (-1) |
Initializes the tick/tock counter. |
|
Definition at line 54 of file Time.h. Referenced by O_SESSAME::operator<<(). |
|
Definition at line 52 of file Time.h. Referenced by O_SESSAME::ssfTime::GetEpochJulianDate(), O_SESSAME::ssfTime::GetJulianDate(), and O_SESSAME::ssfTime::JulianDate(). |
|
Definition at line 51 of file Time.h. Referenced by O_SESSAME::ssfTime::GetEpoch(), O_SESSAME::ssfTime::GetSeconds(), main(), O_SESSAME::ssfTime::operator-(), Propagate(), O_SESSAME::ssfTime::SecondsSinceEpoch(), and O_SESSAME::ssfTime::ssfTime(). |
|
Calculates the Julian Date given a time in seconds since the system epoch. This function takes in seconds since epoch and returns the datetime in Julian Date format. Since the input time is seconds since system epoch (Jan 1, 1970 at midnight for linux), the JulianDate function uses the system gmtime() function to convert to a DateTime struct.
Definition at line 31 of file Time.cpp. References O_SESSAME::ssfJulianDate. Referenced by O_SESSAME::ssfTime::GetEpochJulianDate(), O_SESSAME::ssfTime::GetJulianDate(), O_SESSAME::ssfTime::SetEpochJulianDate(), and O_SESSAME::ssfTime::SetJulianDate(). |
|
Initializes the tick/tock counter. Used for calculating the time during operations. First tick() is called, then when the operation has been completed tock() is called which returns the time (in seconds) since tick() was called.
Referenced by O_SESSAME::tick(). |