summaryrefslogtreecommitdiff
path: root/ACE/TAO/examples/Simulator/Persian.idl
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/TAO/examples/Simulator/Persian.idl')
-rw-r--r--ACE/TAO/examples/Simulator/Persian.idl68
1 files changed, 68 insertions, 0 deletions
diff --git a/ACE/TAO/examples/Simulator/Persian.idl b/ACE/TAO/examples/Simulator/Persian.idl
new file mode 100644
index 00000000000..014dcbb9d4b
--- /dev/null
+++ b/ACE/TAO/examples/Simulator/Persian.idl
@@ -0,0 +1,68 @@
+// $Id$
+
+// ===========================================================================
+//
+// = FILE
+// Persian.idl
+//
+// = DESCRIPTION
+// Data struct and termination interface for the
+// DOVE Persian Recursion Demo.
+
+// = AUTHOR
+// Chris Gill <cdgill@cs.wustl.edu>
+
+// ============================================================================
+
+#ifndef TAO_PERSIAN_RECURSION_IDL
+#define TAO_PERSIAN_RECURSION_IDL
+
+#include "TimeBase.idl"
+#include "RtecScheduler.idl"
+#pragma prefix ""
+
+module PersianRecursion
+{
+ enum Line_Color_t
+ // Defines the criticality of the operation.
+ // For use with Dynamic Scheduler.
+ {
+ BLACK,
+ BLUE,
+ YELLOW,
+ RED,
+ GREEN,
+ WHITE
+ };
+
+ struct Data
+ {
+ // Demuxing part.
+ RtecScheduler::Criticality_t criticality_level;
+
+ // Data part.
+ Line_Color_t line_color;
+ short x1;
+ short y1;
+ short x2;
+ short y2;
+
+ // Metrics part.
+ TimeBase::TimeT computation_time;
+ };
+
+
+ interface Terminator
+ // = DESCRIPTION
+ // This interface specifies a single operation, used
+ // to shut down the orb. This allows the orb to
+ // be shut down cleanly, from within a synchronously
+ // servant dispatched servant, but with the request
+ // originating from another thread.
+ {
+ void shutdown ();
+ };
+
+};
+
+#endif /* TAO_PERSIAN_RECURSION_IDL */