2015-02-26 15:02:31 +00:00
|
|
|
|
2015-06-01 15:28:29 +00:00
|
|
|
#include "trick/SimTime.hh"
|
|
|
|
#include "trick/simtime_proto.h"
|
2015-02-26 15:02:31 +00:00
|
|
|
|
|
|
|
extern Trick::SimTime * the_simtime ;
|
|
|
|
|
2018-09-19 16:25:04 +00:00
|
|
|
extern "C" double get_rettime(void) {
|
2015-02-26 15:02:31 +00:00
|
|
|
return (the_simtime->get_rettime()) ;
|
|
|
|
}
|
|
|
|
|
2018-09-19 16:25:04 +00:00
|
|
|
extern "C" double get_gmttime(void) {
|
2015-02-26 15:02:31 +00:00
|
|
|
return (the_simtime->get_gmttime()) ;
|
|
|
|
}
|
|
|
|
|
2018-09-19 16:25:04 +00:00
|
|
|
extern "C" double get_mettime(void) {
|
2015-02-26 15:02:31 +00:00
|
|
|
return (the_simtime->get_mettime()) ;
|
|
|
|
}
|
|
|
|
|
2018-09-19 16:25:04 +00:00
|
|
|
extern "C" GMTTIME * get_rettime_struct(void) {
|
2015-02-26 15:02:31 +00:00
|
|
|
return (the_simtime->get_rettime_struct()) ;
|
|
|
|
}
|
|
|
|
|
2018-09-19 16:25:04 +00:00
|
|
|
extern "C" GMTTIME * get_gmttime_struct(void) {
|
2015-02-26 15:02:31 +00:00
|
|
|
return (the_simtime->get_gmttime_struct()) ;
|
|
|
|
}
|
|
|
|
|
2018-09-19 16:25:04 +00:00
|
|
|
extern "C" GMTTIME * get_mettime_struct(void) {
|
2015-02-26 15:02:31 +00:00
|
|
|
return (the_simtime->get_mettime_struct()) ;
|
|
|
|
}
|
|
|
|
|