Merge pull request #1551 from DOCGroup/plm_jira_333
[ACE_TAO.git] / TAO / examples / Simulator / Persian.idl
blobfc10d9aa80b9dab8a13211e7f6fd04804da0f44a
1 // ===========================================================================
2 //
3 // = FILE
4 // Persian.idl
5 //
6 // = DESCRIPTION
7 // Data struct and termination interface for the
8 // DOVE Persian Recursion Demo.
10 // = AUTHOR
11 // Chris Gill <cdgill@cs.wustl.edu>
13 // ============================================================================
15 #ifndef TAO_PERSIAN_RECURSION_IDL
16 #define TAO_PERSIAN_RECURSION_IDL
18 #include "TimeBase.idl"
19 #include "RtecScheduler.idl"
20 #pragma prefix ""
22 module PersianRecursion
24 enum Line_Color_t
25 // Defines the criticality of the operation.
26 // For use with Dynamic Scheduler.
28 BLACK,
29 BLUE,
30 YELLOW,
31 RED,
32 GREEN,
33 WHITE
36 struct Data
38 // Demuxing part.
39 RtecScheduler::Criticality_t criticality_level;
41 // Data part.
42 Line_Color_t line_color;
43 short x1;
44 short y1;
45 short x2;
46 short y2;
48 // Metrics part.
49 TimeBase::TimeT computation_time;
53 interface Terminator
54 // = DESCRIPTION
55 // This interface specifies a single operation, used
56 // to shut down the orb. This allows the orb to
57 // be shut down cleanly, from within a synchronously
58 // servant dispatched servant, but with the request
59 // originating from another thread.
61 void shutdown ();
66 #endif /* TAO_PERSIAN_RECURSION_IDL */