mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-27 09:50:34 +05:00
Minimize delta
This commit is contained in:
parent
0604a7961c
commit
2ad3befbcf
@ -59,8 +59,6 @@ extern "C"
|
|||||||
const char* interfaceName)
|
const char* interfaceName)
|
||||||
{
|
{
|
||||||
GEOM_Gen_Session_i* myGEOM_Gen_i = new GEOM_Gen_Session_i(orb, poa, contId, instanceName, interfaceName);
|
GEOM_Gen_Session_i* myGEOM_Gen_i = new GEOM_Gen_Session_i(orb, poa, contId, instanceName, interfaceName);
|
||||||
auto id = poa->activate_object(myGEOM_Gen_i);
|
return myGEOM_Gen_i->getId();
|
||||||
myGEOM_Gen_i->setId(id);
|
|
||||||
return id;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -103,7 +103,7 @@ GEOM_Gen_i::GEOM_Gen_i(CORBA::ORB_ptr orb,
|
|||||||
Engines_Component_i(orb, poa, contId, instanceName, interfaceName, false, withRegistry)
|
Engines_Component_i(orb, poa, contId, instanceName, interfaceName, false, withRegistry)
|
||||||
{
|
{
|
||||||
_thisObj = this;
|
_thisObj = this;
|
||||||
|
_id = _poa->activate_object(_thisObj);
|
||||||
_impl = new ::GEOMImpl_Gen;
|
_impl = new ::GEOMImpl_Gen;
|
||||||
|
|
||||||
//PAL10867: disable signals catching with "noexcepthandler" option
|
//PAL10867: disable signals catching with "noexcepthandler" option
|
||||||
|
@ -45,8 +45,7 @@ std::string BuildGEOMInstance()
|
|||||||
pman->activate();
|
pman->activate();
|
||||||
//
|
//
|
||||||
GEOM_Gen_No_Session_i *servant = new GEOM_Gen_No_Session_i(orb,poa,const_cast<PortableServer::ObjectId*>(&conId.in()),"GEOM_inst_2","GEOM");
|
GEOM_Gen_No_Session_i *servant = new GEOM_Gen_No_Session_i(orb,poa,const_cast<PortableServer::ObjectId*>(&conId.in()),"GEOM_inst_2","GEOM");
|
||||||
PortableServer::ObjectId *zeId = poa->activate_object(servant);
|
PortableServer::ObjectId *zeId = servant->getId();
|
||||||
servant->setId(zeId);
|
|
||||||
CORBA::Object_var zeRef = poa->id_to_reference(*zeId);
|
CORBA::Object_var zeRef = poa->id_to_reference(*zeId);
|
||||||
char *interfaceName = servant->interfaceName();
|
char *interfaceName = servant->interfaceName();
|
||||||
std::string interfaceNameCpp(interfaceName);
|
std::string interfaceNameCpp(interfaceName);
|
||||||
|
Loading…
Reference in New Issue
Block a user