]> SALOME platform Git repositories - modules/yacs.git/blobdiff - idl/yacsgui.idl
Salome HOME
Implementation of proxy mecanism into KERNEL/YACS
[modules/yacs.git] / idl / yacsgui.idl
index d44727f38440d2f0f1a818be7286a09bd471ed38..12079942962a9795560a3055245db47ed2a18e0e 100644 (file)
@@ -1,3 +1,22 @@
+// Copyright (C) 2006-2022  CEA/DEN, EDF R&D
+//
+// This library is free software; you can redistribute it and/or
+// modify it under the terms of the GNU Lesser General Public
+// License as published by the Free Software Foundation; either
+// version 2.1 of the License, or (at your option) any later version.
+//
+// This library is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+// Lesser General Public License for more details.
+//
+// You should have received a copy of the GNU Lesser General Public
+// License along with this library; if not, write to the Free Software
+// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+//
+// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+//
+
 #ifndef __YACSGUI_IDL__
 #define __YACSGUI_IDL__
 
@@ -7,7 +26,7 @@
 
   // SALOME Engine interface for execution in a SALOME Container
 
-module YACSGui_ORB
+module YACS_ORB
 {
   enum executionMode { CONTINUE, STEPBYSTEP, STOPBEFORENODES };
 
@@ -22,13 +41,23 @@ module YACSGui_ORB
   interface ProcExec
   {
     long getNodeState(in long numid);
+    string getNodeProgress(in long numid);
     string getXMLState(in long numid);
+    string getInPortValue(in long nodeNumid, in string portName);
+    string setInPortValue(in string nodeName, in string portName, in string value);
+    string getOutPortValue(in long nodeNumid, in string portName);
+    string getErrorDetails(in long nodeNumid);
+    string getErrorReport(in long nodeNumid);
+    string getContainerLog(in long nodeNumid);
+    void shutdownProc(in long level);
     long getExecutorState();
     void getIds(out longArray numids,out stringArray names);
     longArray getNumIds();
     stringArray getNames();
 
     void Run();
+    void RunFromState(in string xmlfile);
+    void RestartFromState(in string xmlfile);
     void addObserver(in Observer obs,in long numid, in string event);
     void setExecMode(in executionMode mode);
     void setListOfBreakPoints(in stringArray listOfBreakPoints);
@@ -39,9 +68,10 @@ module YACSGui_ORB
     void stopExecution();
     boolean saveState(in string xmlFile);
     void setStopOnError(in boolean dumpRequested, in string xmlFile);
+    void unsetStopOnError();
   };
 
-  interface YACSGui_Gen : Engines::Component, SALOMEDS::Driver
+  interface YACS_Gen : Engines::EngineComponent, SALOMEDS::Driver
   {
     ProcExec LoadProc(in string xmlFile);
     string convertSupervFile(in string xmlFile);
@@ -49,4 +79,4 @@ module YACSGui_ORB
 
 };
 
-#endif 
+#endif