trick/trick_source/sim_services/SimTime/include/SimTime.hh
Alex Lin 14a75508a3 Cleaning up once include variables and copyright cleanup.
Changed all header file once include variables to follow the same naming
convention and not start with any underscores.  Also deleted old
incorrect copyright notices.  Also removed $Id: tags from all files.

Fixes #14.  Fixes #22.
2015-03-23 16:03:14 -05:00

39 lines
928 B
C++

#ifndef SIMTIME_HH
#define SIMTIME_HH
#include "time_offset.h"
namespace Trick {
class SimTime {
public:
TIME_OFFSET ret_time ; /* -- current run elapsed time */
TIME_OFFSET gmt_ref ; /* -- gmt ref time */
double gmt_sec_ref ; /* -- gmt ref in seconds */
TIME_OFFSET gmt_time ; /* -- current gmt time */
TIME_OFFSET met_ref ; /* -- met ref time */
double met_sec_ref ; /* -- met ref in seconds */
TIME_OFFSET met_time ; /* -- current met time */
SimTime() ;
int init_times() ;
double get_rettime() ;
double get_gmttime() ;
double get_mettime() ;
TIME_OFFSET * get_rettime_struct() ;
TIME_OFFSET * get_gmttime_struct() ;
TIME_OFFSET * get_mettime_struct() ;
} ;
}
#endif