trick/trick_source/sim_services/Sie/sie_c_intf.cpp

43 lines
885 B
C++
Raw Normal View History

2015-02-26 15:02:31 +00:00
#include "trick/Sie.hh"
#include "trick/sie_c_intf.h"
2015-02-26 15:02:31 +00:00
extern Trick::Sie * the_sie ;
extern "C" void sie_print_xml(void) {
2015-02-26 15:02:31 +00:00
if ( the_sie != NULL ) {
the_sie->sie_print_xml() ;
}
}
extern "C" void sie_class_attr_map_print_xml(void) {
2015-02-26 15:02:31 +00:00
if ( the_sie != NULL ) {
the_sie->class_attr_map_print_xml() ;
}
}
extern "C" void sie_enum_attr_map_print_xml(void) {
2015-02-26 15:02:31 +00:00
if ( the_sie != NULL ) {
the_sie->enum_attr_map_print_xml() ;
}
}
extern "C" void sie_top_level_objects_print_xml(void) {
2015-02-26 15:02:31 +00:00
if ( the_sie != NULL ) {
the_sie->top_level_objects_print_xml() ;
}
}
extern "C" void sie_append_runtime_objs(void) {
if ( the_sie != NULL ) {
the_sie->sie_append_runtime_objs() ;
}
}
extern "C" std::string sie_get_runtime_sie_dir(void) {
if ( the_sie != NULL ) {
return the_sie->get_runtime_sie_dir() ;
}
}