34 #ifndef __diguyExerciseInterface_H
35 #define __diguyExerciseInterface_H
40 #define CPLUSPLUS_ONLY
47 class bdiExerciseInterface;
93 void send_pdu_xc_set_tin_tod(
unsigned short site,
119 void send_pdu_xc_load_scenario(
unsigned short site,
121 const char* filename,
122 const char* refname);
146 void send_pdu_xc_save_scenario(
unsigned short site,
148 const char* filename,
149 const int use_user_name);
171 void send_pdu_xc_reset_scenario(
unsigned short site,
172 unsigned short host);
205 void send_pdu_xc_merge_scenario(
unsigned short site,
208 float refx,
float refy,
float refz,
209 float tx,
float ty,
float tz,
210 float rz,
float rx,
float ry,
211 const char* filename,
235 void send_pdu_xc_trigger_script(
unsigned short site,
237 const char* script_name);
257 void send_pdu_xc_control(
unsigned short site,
259 const char* command);
288 void send_pdu_xc_time_now(
float tod,
float smooth_period);
308 void send_pdu_xc_eval_script(
unsigned short site,
329 void send_pdu_xc_enter_slave_mode(
unsigned short site,
unsigned short host);
348 void send_pdu_xc_exit_slave_mode(
unsigned short site,
unsigned short host);
379 const char* sender_name,
380 const char* message_type,
382 const char* message_params = NULL);
407 int send_message_to_group(
const char* group_name,
408 const char* sender_name,
409 const char* message_type,
411 const char* message_params = NULL);
435 const char* message_type,
437 const char* message_params = NULL);
462 const char* group_name,
464 const char* message_type,
466 const char* message_params = NULL);
488 int convert_mgrs_to_local(
const char* MGRS_str,
float* x,
float* y,
float* z);
490 const char* convert_local_to_mgrs(
float x,
float y,
float z);
493 float convert_local_to_lat(
float x,
float y,
float z);
494 float convert_local_to_long(
float x,
float y,
float z);
497 const char* convert_local_to_lat_long_string(
float x,
float y,
float z);
499 int convert_lat_long_to_local(
float lat,
float lon,
float* x,
float* y,
float* z);
506 #ifdef CPLUSPLUS_ONLY
508 bdiExerciseInterface* get_scripted_object() {
return m_bdiExerciseInterface;}
512 friend class bdiExerciseInterface;
522 bdiExerciseInterface* m_bdiExerciseInterface;