14 #ifndef __diguyExerciseInterface_H
15 #define __diguyExerciseInterface_H
20 #define CPLUSPLUS_ONLY
27 class bdiExerciseInterface;
78 void send_xc_set_tin_tod(
unsigned short site,
99 void send_xc_load_scenario(
unsigned short site,
101 const char* filename,
102 const char* refname);
121 void send_xc_save_scenario(
unsigned short site,
123 const char* filename,
124 const int use_user_name);
141 void send_xc_reset_scenario(
unsigned short site,
142 unsigned short host);
170 void send_xc_merge_scenario(
unsigned short site,
173 float refx,
float refy,
float refz,
174 float tx,
float ty,
float tz,
175 float rz,
float rx,
float ry,
176 const char* filename,
195 void send_xc_trigger_script(
unsigned short site,
197 const char* script_name);
212 void send_xc_control(
unsigned short site,
214 const char* command);
238 void send_xc_time_now(
float tod,
float smooth_period);
253 void send_xc_eval_script(
unsigned short site,
269 void send_xc_enter_slave_mode(
unsigned short site,
unsigned short host);
283 void send_xc_exit_slave_mode(
unsigned short site,
unsigned short host);
310 const char* message_type,
312 const char* message_params = NULL);
332 int send_message_to_group(
const char* group_name,
334 const char* message_type,
336 const char* message_params = NULL);
355 const char* message_type,
357 const char* message_params = NULL);
377 const char* group_name,
379 const char* message_type,
381 const char* message_params = NULL);
399 const char* get_federate_type();
415 int convert_mgrs_to_local(
const char* MGRS_str,
float* x,
float* y,
float* z);
417 const char* convert_local_to_mgrs(
float x,
float y,
float z);
420 float convert_local_to_lat(
float x,
float y,
float z);
421 double convert_local_to_lat_double(
double x,
double y,
double z );
422 float convert_local_to_long(
float x,
float y,
float z);
423 double convert_local_to_long_double(
double x,
double y,
double z );
426 const char* convert_local_to_lat_long_string(
float x,
float y,
float z);
428 int convert_lat_long_to_local(
float lat,
float lon,
float* x,
float* y,
float* z);
429 int convert_lat_long_to_local_double(
double lat,
double lon,
float* x,
float* y,
float* z);
436 #ifdef CPLUSPLUS_ONLY
438 bdiExerciseInterface* get_scripted_object() {
return m_bdiExerciseInterface;}
442 friend class bdiExerciseInterface;
452 bdiExerciseInterface* m_bdiExerciseInterface;
The class that represents a DI-Guy Entity in the world.
Definition: diguyCharacter.h:82
Represents a scriptable api wrapping the DIS/HLA network connection.
Definition: diguyExerciseInterface.h:42