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