mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Any penny of it
This commit is contained in:
parent
45f1540bdb
commit
42a9ba5433
@ -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 ;
|
||||
|
@ -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,
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user