From 42a9ba54339788c6540904a16bd1ecdf14563581 Mon Sep 17 00:00:00 2001 From: Anthony Geay Date: Mon, 20 Dec 2021 18:20:18 +0100 Subject: [PATCH] Any penny of it --- src/Tools/padder/meshjob/impl/MeshJobManager_i.cxx | 5 +++-- src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx | 2 +- src/Tools/padder/meshjob/impl/SMeshPadderHelper.cxx | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Tools/padder/meshjob/impl/MeshJobManager_i.cxx b/src/Tools/padder/meshjob/impl/MeshJobManager_i.cxx index acc8e4484..10bae23e7 100644 --- a/src/Tools/padder/meshjob/impl/MeshJobManager_i.cxx +++ b/src/Tools/padder/meshjob/impl/MeshJobManager_i.cxx @@ -97,8 +97,9 @@ MeshJobManager_i::MeshJobManager_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId * contId, const char *instanceName, - const char *interfaceName) - : Engines_Component_i(orb, poa, contId, instanceName, interfaceName) + const char *interfaceName, + bool checkNS, bool regist) + : Engines_Component_i(orb, poa, contId, instanceName, interfaceName, checkNS, regist) { LOG("Activating MESHJOB::MeshJobManager object"); _thisObj = this ; diff --git a/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx b/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx index fd14e12b4..9c9968f10 100644 --- a/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx +++ b/src/Tools/padder/meshjob/impl/MeshJobManager_i.hxx @@ -51,7 +51,7 @@ 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, diff --git a/src/Tools/padder/meshjob/impl/SMeshPadderHelper.cxx b/src/Tools/padder/meshjob/impl/SMeshPadderHelper.cxx index 342c61816..cc51e5ad2 100644 --- a/src/Tools/padder/meshjob/impl/SMeshPadderHelper.cxx +++ b/src/Tools/padder/meshjob/impl/SMeshPadderHelper.cxx @@ -46,7 +46,7 @@ Engines::EngineComponent_var BuildPadderMeshJobManagerInstance() // pman->activate(); // - MeshJobManager_i *servant = new MeshJobManager_i(orb, poa, conId, "SMESH_inst_2", "SMESH"); + MeshJobManager_i *servant = new MeshJobManager_i(orb, poa, conId, "MeshJobManager_inst_3", "MeshJobManager", false, false); PortableServer::ObjectId *zeId = servant->getId(); CORBA::Object_var zeRef = poa->id_to_reference(*zeId); _unique_compo = Engines::EngineComponent::_narrow(zeRef); -- 2.39.2