Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / examples / Simulator / NavWeap.idl
blob8044fa72dc26ee5f5d2f587317665db9f02a3968
1 // =========================================================================================================
2 //
3 // = FILE
4 // NavWeap.idl
5 //
6 // = DESCRIPTION
7 // Navigation and Weapon structs for the DOVE/EventService demo.
9 // = AUTHORS
10 // Michael Kircher <mk1@cec.wustl.edu>
11 // Modified by
12 // Chris Gill <cdgill@cs.wustl.edu>
13 // =========================================================================================================
15 #include "tao/TimeBase.pidl"
17 struct Navigation
19 long position_latitude;
20 long position_longitude;
21 unsigned long altitude;
22 long heading;
23 long roll;
24 long pitch;
25 // common part
26 double utilization;
27 double overhead;
28 TimeBase::TimeT arrival_time;
29 TimeBase::TimeT deadline_time;
30 TimeBase::TimeT completion_time;
31 TimeBase::TimeT computation_time;
32 unsigned long criticality;
33 unsigned long update_data;
36 struct Weapons
38 unsigned long number_of_weapons;
39 string weapon1_identifier;
40 unsigned long weapon1_status;
41 string weapon2_identifier;
42 unsigned long weapon2_status;
43 string weapon3_identifier;
44 unsigned long weapon3_status;
45 string weapon4_identifier;
46 unsigned long weapon4_status;
47 string weapon5_identifier;
48 unsigned long weapon5_status;
49 // common part
50 double utilization;
51 double overhead;
52 TimeBase::TimeT arrival_time;
53 TimeBase::TimeT deadline_time;
54 TimeBase::TimeT completion_time;
55 TimeBase::TimeT computation_time;
56 unsigned long criticality;
57 unsigned long update_data;
60 interface NavWeapTerminator
61 // = DESCRIPTION
62 // This interface specifies a single operation, used
63 // to shut down the orb. This allows the orb to
64 // be shut down cleanly, from within a synchronously
65 // servant dispatched servant, but with the request
66 // originating from another thread.
68 void shutdown ();