Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

Time.h File Reference


Detailed Description

Implementation of the Time class.

Author:
Author
cakinli
Version:
Revision
1.1.1.1
Date:
Date
2005/04/26 17:41:01

Definition in file Time.h.

#include <time.h>
#include <sys/time.h>
#include <math.h>
#include <iostream>
#include <iomanip>
#include "MathUtils.h"

Include dependency graph for Time.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  O_SESSAME

Classes

class  O_SESSAME::ssfTime
 Simulation Time object. More...

Defines

#define timegm(T)   mktime_from_utc(T)
#define TIME_PRECISION   15

Typedefs

typedef double ssfSeconds
typedef double ssfJulianDate

Functions

time_t mktime_from_utc (struct tm *t)
void tick ()

Variables

const ssfTime c_GreenwichSiderealEpochTime = ssfTime(1970,1,1,0,0,0)
 time used as epoch for measuring Greenwich sidereal time.
const Angle c_GreenwichSiderealTimeAtEpoch = 1.74933340
ssfTime tickTime (-1)
 Initializes the tick/tock counter.
ssfTime tockTime (-1)


Define Documentation

#define timegm  )     mktime_from_utc(T)
 

Definition at line 31 of file Time.h.

Referenced by O_SESSAME::ssfTime::Set(), and O_SESSAME::ssfTime::SetEpoch().


Function Documentation

time_t mktime_from_utc struct tm *  t  ) 
 

Definition at line 43 of file TimeCompat.cpp.

void tick  )  [inline]
 

Definition at line 442 of file Time.h.

References O_SESSAME::ssfTime::Set(), and O_SESSAME::tickTime.

Referenced by main(), and Propagate().


Variable Documentation

const ssfTime O_SESSAME::c_GreenwichSiderealEpochTime = ssfTime(1970,1,1,0,0,0) [static]
 

time used as epoch for measuring Greenwich sidereal time.

Definition at line 408 of file Time.h.

const Angle O_SESSAME::c_GreenwichSiderealTimeAtEpoch = 1.74933340 [static]
 

actual Greenwich sidereal time at the specified epoch, m_GreenwichSiderealEpochTime.

Definition at line 410 of file Time.h.

ssfTime O_SESSAME::tockTime(-1) [static]
 


Generated on Wed Sep 5 12:54:35 2007 for DSACSS Operational Code by  doxygen 1.3.9.1