Salome HOME
copy tag mergefrom_BR_V0_1_CC_Salome_04oct07
[modules/yacs.git] / src / yacsorb / yacs.idl
diff --git a/src/yacsorb/yacs.idl b/src/yacsorb/yacs.idl
new file mode 100644 (file)
index 0000000..07b23ff
--- /dev/null
@@ -0,0 +1,32 @@
+#ifndef __YACS_IDL__
+#define __YACS_IDL__
+
+module YACS_ORB
+{
+  enum executionMode { CONTINUE, STEPBYSTEP, STOPBEFORENODES };
+
+  typedef sequence<string> stringArray;
+  typedef sequence<long> longArray;
+
+  interface Observer
+  {
+    void notifyObserver(in long numid , in string event);
+  };
+
+  interface Proc
+  {
+    long getState(in long numid);
+    string getXMLState(in long numid);
+    void getIds(out longArray numids,out stringArray names);
+  };
+
+  interface YACS_Gen 
+  {
+    Proc Load(in string xmlFile);
+    void Run(in Proc p);
+    void addObserver(in Observer obs,in long numid, in string event);
+  };
+
+};
+
+#endif