Back to index

salome-geom  6.5.0
Defines | Functions
GEOM_Superv_i.cc File Reference
#include "GEOM_Superv_i.hh"
#include "SALOME_LifeCycleCORBA.hxx"
#include "SALOMEDSClient_ClientFactory.hxx"

Go to the source code of this file.

Defines

#define isNewStudy(a, b)   (a > 0 && a != b)

Functions

PortableServer::ObjectId * GEOM_SupervEngine_factory (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId *contId, const char *instanceName, const char *interfaceName)

Define Documentation

#define isNewStudy (   a,
 
)    (a > 0 && a != b)

Definition at line 29 of file GEOM_Superv_i.cc.


Function Documentation

PortableServer::ObjectId* GEOM_SupervEngine_factory ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
PortableServer::ObjectId *  contId,
const char *  instanceName,
const char *  interfaceName 
)

Definition at line 3415 of file GEOM_Superv_i.cc.

  {
    GEOM_Superv_i * myGEOM_Superv_i = new GEOM_Superv_i(orb, poa, contId, instanceName, interfaceName);
    //Don't understand the reason why this component is registered ???
//    myGEOM_Superv_i->register_name("/myGEOM_Superv");
    return myGEOM_Superv_i->getId() ;
  }