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 ;
|
|
|
|
|
|
|
|
extern "C" double get_rettime() {
|
|
|
|
return (the_simtime->get_rettime()) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" double get_gmttime() {
|
|
|
|
return (the_simtime->get_gmttime()) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" double get_mettime() {
|
|
|
|
return (the_simtime->get_mettime()) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" GMTTIME * get_rettime_struct() {
|
|
|
|
return (the_simtime->get_rettime_struct()) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" GMTTIME * get_gmttime_struct() {
|
|
|
|
return (the_simtime->get_gmttime_struct()) ;
|
|
|
|
}
|
|
|
|
|
|
|
|
extern "C" GMTTIME * get_mettime_struct() {
|
|
|
|
return (the_simtime->get_mettime_struct()) ;
|
|
|
|
}
|
|
|
|
|