Any penny of it

This commit is contained in:
Anthony Geay 2021-12-20 18:20:18 +01:00
parent 45f1540bdb
commit 42a9ba5433
3 changed files with 5 additions and 4 deletions

View File

@ -97,8 +97,9 @@ MeshJobManager_i::MeshJobManager_i(CORBA::ORB_ptr orb,
PortableServer::POA_ptr poa, PortableServer::POA_ptr poa,
PortableServer::ObjectId * contId, PortableServer::ObjectId * contId,
const char *instanceName, const char *instanceName,
const char *interfaceName) const char *interfaceName,
: Engines_Component_i(orb, poa, contId, instanceName, interfaceName) bool checkNS, bool regist)
: Engines_Component_i(orb, poa, contId, instanceName, interfaceName, checkNS, regist)
{ {
LOG("Activating MESHJOB::MeshJobManager object"); LOG("Activating MESHJOB::MeshJobManager object");
_thisObj = this ; _thisObj = this ;

View File

@ -51,7 +51,7 @@ class MESHJOBMANAGERENGINE_EXPORT MeshJobManager_i: public virtual POA_MESHJOB::
public: public:
MeshJobManager_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, MeshJobManager_i(CORBA::ORB_ptr orb, PortableServer::POA_ptr poa,
PortableServer::ObjectId * contId, PortableServer::ObjectId * contId,
const char *instanceName, const char *interfaceName); const char *instanceName, const char *interfaceName, bool checkNS = true, bool regist = true);
~MeshJobManager_i(); ~MeshJobManager_i();
bool configure (const char *configId, bool configure (const char *configId,

View File

@ -46,7 +46,7 @@ Engines::EngineComponent_var BuildPadderMeshJobManagerInstance()
// //
pman->activate(); 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(); PortableServer::ObjectId *zeId = servant->getId();
CORBA::Object_var zeRef = poa->id_to_reference(*zeId); CORBA::Object_var zeRef = poa->id_to_reference(*zeId);
_unique_compo = Engines::EngineComponent::_narrow(zeRef); _unique_compo = Engines::EngineComponent::_narrow(zeRef);