mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
WIP
This commit is contained in:
parent
f1840849c5
commit
9596745007
@ -49,6 +49,10 @@ std::string BuildGEOMInstance()
|
||||
GEOM_Gen_i *servant = new GEOM_Gen_i(orb,poa,const_cast<PortableServer::ObjectId*>(&conId.in()),"GEOM_inst_2","GEOM",false,false);
|
||||
PortableServer::ObjectId *zeId = servant->getId();
|
||||
CORBA::Object_var zeRef = poa->id_to_reference(*zeId);
|
||||
char *interfaceName = servant->interfaceName();
|
||||
std::string interfaceNameCpp(interfaceName);
|
||||
CORBA::string_free(interfaceName);
|
||||
KERNEL::RegisterCompo(interfaceNameCpp,zeRef);
|
||||
CORBA::String_var ior = orb->object_to_string(zeRef);
|
||||
return std::string(ior.in());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user