14 #ifndef __diguyExerciseInterface_H
15 #define __diguyExerciseInterface_H
20 #define CPLUSPLUS_ONLY
27 class bdiExerciseInterface;
73 void send_pdu_xc_set_tin_tod(
unsigned short site,
99 void send_pdu_xc_load_scenario(
unsigned short site,
101 const char* filename,
102 const char* refname);
126 void send_pdu_xc_save_scenario(
unsigned short site,
128 const char* filename,
129 const int use_user_name);
151 void send_pdu_xc_reset_scenario(
unsigned short site,
152 unsigned short host);
185 void send_pdu_xc_merge_scenario(
unsigned short site,
188 float refx,
float refy,
float refz,
189 float tx,
float ty,
float tz,
190 float rz,
float rx,
float ry,
191 const char* filename,
215 void send_pdu_xc_trigger_script(
unsigned short site,
217 const char* script_name);
237 void send_pdu_xc_control(
unsigned short site,
239 const char* command);
268 void send_pdu_xc_time_now(
float tod,
float smooth_period);
288 void send_pdu_xc_eval_script(
unsigned short site,
309 void send_pdu_xc_enter_slave_mode(
unsigned short site,
unsigned short host);
328 void send_pdu_xc_exit_slave_mode(
unsigned short site,
unsigned short host);
359 const char* sender_name,
360 const char* message_type,
362 const char* message_params = NULL);
387 int send_message_to_group(
const char* group_name,
388 const char* sender_name,
389 const char* message_type,
391 const char* message_params = NULL);
415 const char* message_type,
417 const char* message_params = NULL);
442 const char* group_name,
444 const char* message_type,
446 const char* message_params = NULL);
468 int convert_mgrs_to_local(
const char* MGRS_str,
float* x,
float* y,
float* z);
470 const char* convert_local_to_mgrs(
float x,
float y,
float z);
473 float convert_local_to_lat(
float x,
float y,
float z);
474 float convert_local_to_long(
float x,
float y,
float z);
477 const char* convert_local_to_lat_long_string(
float x,
float y,
float z);
479 int convert_lat_long_to_local(
float lat,
float lon,
float* x,
float* y,
float* z);
486 #ifdef CPLUSPLUS_ONLY
488 bdiExerciseInterface* get_scripted_object() {
return m_bdiExerciseInterface;}
492 friend class bdiExerciseInterface;
502 bdiExerciseInterface* m_bdiExerciseInterface;