X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FTools%2Fpadder%2Fmeshjob%2Fimpl%2FMeshJobManager_i.hxx;h=169e7e5dfa0cea7c18d69101f5769b27735b9965;hb=453bbcd621239877240370954776e95cf7655b2b;hp=d3f408abeae623f389a487d16c7f02cfbe36070e;hpb=251f8c052dd12dd29922210dc901b295fe999a0e;p=modules%2Fsmesh.git diff --git a/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx b/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx index d3f408abe..169e7e5df 100644 --- a/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx +++ b/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx @@ -1,4 +1,4 @@ -// Copyright (C) 2011-2015 EDF R&D +// Copyright (C) 2011-2024 CEA, EDF // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -43,6 +43,7 @@ #define MESHJOBMANAGERENGINE_EXPORT #endif +//Engines::EngineComponent_var RetrievePadderMeshJobManagerInstance(); class MESHJOBMANAGERENGINE_EXPORT MeshJobManager_i: public virtual POA_MESHJOB::MeshJobManager, public Engines_Component_i @@ -50,12 +51,13 @@ class MESHJOBMANAGERENGINE_EXPORT MeshJobManager_i: public virtual POA_MESHJOB:: public: MeshJobManager_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId * contId, - const char *instanceName, const char *interfaceName); + const char *instanceName, const char *interfaceName, bool checkNS = true, bool regist = true); ~MeshJobManager_i(); bool configure (const char *configId, const MESHJOB::ConfigParameter & configParameter); - CORBA::Long initialize (const MESHJOB::MeshJobParameterList & meshJobParameterList, + CORBA::Long initialize (const MESHJOB::MeshJobFileList & meshJobFileList, + const MESHJOB::MeshJobParameterList & meshJobParameterList, const char *configId); bool start (CORBA::Long jobId); char* getState (CORBA::Long jobId); @@ -72,7 +74,7 @@ private: Engines::ResourcesManager_var _resourcesManager; // This maps the config identifier to the config parameters. A - // config is a resource with additionnal data specifying the + // config is a resource with additional data specifying the // location of the binary program to be executed by the task std::map _configMap; @@ -83,8 +85,9 @@ private: std::map _jobDateTimeMap; std::map _jobPathsMap; - const char* _writeDataFile (std::vector listConcreteMesh, - std::vector listSteelBarMesh); + const char* _writeDataFile (std::vector listConcreteMesh, + std::vector listSteelBarMesh, + const MESHJOB::MeshJobParameterList & meshJobParameterList); const char* _writeScriptFile (const char * dataFileName, const char * configId); std::vector * _getResourceNames();