22 #ifndef _MESHJOBMANAGER_HXX_
23 #define _MESHJOBMANAGER_HXX_
26 #include <SALOMEconfig.h>
27 #include CORBA_SERVER_HEADER(MESHJOB)
28 #include CORBA_SERVER_HEADER(SALOME_Component)
29 #include "SALOME_Component_i.hxx"
31 #include "SALOME_Launcher.hxx"
37 #if defined MESHJOBMANAGERENGINE_EXPORTS || defined MeshJobManagerEngine_EXPORTS
38 #define MESHJOBMANAGERENGINE_EXPORT __declspec( dllexport )
40 #define MESHJOBMANAGERENGINE_EXPORT __declspec( dllimport )
43 #define MESHJOBMANAGERENGINE_EXPORT
52 PortableServer::ObjectId * contId,
53 const char *instanceName,
const char *interfaceName);
56 bool configure (
const char *configId,
60 const char *configId);
61 bool start (CORBA::Long jobId);
62 char* getState (CORBA::Long jobId);
65 bool clean (CORBA::Long jobId);
67 char* getLastErrorMessage();
78 std::map<std::string, MESHJOB::ConfigParameter>
_configMap;
87 const char* _writeDataFile (std::vector<MESHJOB::MeshJobFile> listConcreteMesh,
88 std::vector<MESHJOB::MeshJobFile> listSteelBarMesh,
90 const char* _writeScriptFile (
const char * dataFileName,
const char * configId);
92 std::vector<std::string> * _getResourceNames();