1 #ifndef __YACSGUI_IDL__
2 #define __YACSGUI_IDL__
4 #include "SALOME_Component.idl"
5 #include "SALOMEDS.idl"
6 #include "SALOME_Exception.idl"
8 // SALOME Engine interface for execution in a SALOME Container
12 enum executionMode { CONTINUE, STEPBYSTEP, STOPBEFORENODES };
14 typedef sequence<string> stringArray;
15 typedef sequence<long> longArray;
19 void notifyObserver(in long numid , in string event);
24 long getNodeState(in long numid);
25 string getXMLState(in long numid);
26 string getInPortValue(in long nodeNumid, in string portName);
27 string getOutPortValue(in long nodeNumid, in string portName);
28 string getErrorDetails(in long nodeNumid);
29 string getErrorReport(in long nodeNumid);
30 string getContainerLog(in long nodeNumid);
31 long getExecutorState();
32 void getIds(out longArray numids,out stringArray names);
33 longArray getNumIds();
34 stringArray getNames();
37 void RunFromState(in string xmlfile);
38 void addObserver(in Observer obs,in long numid, in string event);
39 void setExecMode(in executionMode mode);
40 void setListOfBreakPoints(in stringArray listOfBreakPoints);
41 stringArray getTasksToLoad();
42 boolean setStepsToExecute(in stringArray listToExecute);
43 boolean resumeCurrentBreakPoint();
44 boolean isNotFinished();
46 boolean saveState(in string xmlFile);
47 void setStopOnError(in boolean dumpRequested, in string xmlFile);
48 void unsetStopOnError();
51 interface YACS_Gen : Engines::Component, SALOMEDS::Driver
53 ProcExec LoadProc(in string xmlFile);
54 string convertSupervFile(in string xmlFile);