Version: 9.12.0
ClientFactory Class Reference

#include <SALOMEDSClient_ClientFactory.hxx>

Static Public Member Functions

static clt_shared_ptr< SALOMEDSClient_SObjectSObject (SALOMEDS::SObject_ptr theSObject)
 Returns a client SObject wrapper that corresponds theSObject. More...
 
static clt_shared_ptr< SALOMEDSClient_SComponentSComponent (SALOMEDS::SComponent_ptr theSComponent)
 Returns a client SComponent wrapper that corresponds theSComponent. More...
 
static clt_shared_ptr< SALOMEDSClient_StudyStudy (SALOMEDS::Study_ptr theStudy)
 Returns a client Study wrapper that corresponds theStudy. More...
 
static void createStudy (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa)
 Creates and returns a client Study wrapper. More...
 
static void createStudyWithoutNS (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa)
 Creates and returns a client Study wrapper without external NS process. More...
 
static clt_shared_ptr< SALOMEDSClient_StudyBuilderStudyBuilder (SALOMEDS::StudyBuilder_ptr theBuilder)
 Returns a client StudyBuilder wrapper that corresponds theStudy. More...
 
static clt_shared_ptr< SALOMEDSClient_IParametersgetIParameters (const clt_shared_ptr< SALOMEDSClient_AttributeParameter > &ap)
 Returns an IParameters interface. More...
 
static SALOMEDS::SObject_ptr crbSObject (const clt_shared_ptr< SALOMEDSClient_SObject > &theSObject)
 Returns a CORBA SObject that corresponds theStudy. More...
 
static SALOMEDS::StudyBuilder_ptr crbStudyBuilder (const clt_shared_ptr< SALOMEDSClient_StudyBuilder > &theStudyBuilder)
 Returns a CORBA StudyBuilder that corresponds theStudyBuilder. More...
 

Member Function Documentation

◆ crbSObject()

SALOMEDS::SObject_ptr ClientFactory::crbSObject ( const clt_shared_ptr< SALOMEDSClient_SObject > &  theSObject)
static

Returns a CORBA SObject that corresponds theStudy.

References _libHandle, aConvertSObject, CONVERT_SOBJECT, and SALOMEDS_LIB_NAME.

◆ crbStudyBuilder()

SALOMEDS::StudyBuilder_ptr ClientFactory::crbStudyBuilder ( const clt_shared_ptr< SALOMEDSClient_StudyBuilder > &  theStudyBuilder)
static

Returns a CORBA StudyBuilder that corresponds theStudyBuilder.

References _libHandle, aConvertBuilder, CONVERT_BUILDER, and SALOMEDS_LIB_NAME.

◆ createStudy()

void ClientFactory::createStudy ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa 
)
static

Creates and returns a client Study wrapper.

References _libHandle, aCreateFactory, salome::orb, SALOME_ContainerPy::poa, SALOMEDS_LIB_NAME, and STUDY_CREATE.

◆ createStudyWithoutNS()

void ClientFactory::createStudyWithoutNS ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa 
)
static

Creates and returns a client Study wrapper without external NS process.

References _libHandle, aCreateFactory, salome::orb, SALOME_ContainerPy::poa, SALOMEDS_LIB_NAME, and STUDY_CREATE_WITHOUT_NS.

◆ getIParameters()

clt_shared_ptr< SALOMEDSClient_IParameters > ClientFactory::getIParameters ( const clt_shared_ptr< SALOMEDSClient_AttributeParameter > &  ap)
static

Returns an IParameters interface.

References _libHandle, _PTR, aGetIParameters, GET_PARAMETERS, and SALOMEDS_LIB_NAME.

◆ SComponent()

clt_shared_ptr< SALOMEDSClient_SComponent > ClientFactory::SComponent ( SALOMEDS::SComponent_ptr  theSComponent)
static

Returns a client SComponent wrapper that corresponds theSComponent.

References _libHandle, _PTR, aSComponentFactory, SALOMEDS_LIB_NAME, and SCOMPONENT_FACTORY.

◆ SObject()

clt_shared_ptr< SALOMEDSClient_SObject > ClientFactory::SObject ( SALOMEDS::SObject_ptr  theSObject)
static

Returns a client SObject wrapper that corresponds theSObject.

References _libHandle, _PTR, aSObjectFactory, SALOMEDS_LIB_NAME, and SOBJECT_FACTORY.

◆ Study()

clt_shared_ptr< SALOMEDSClient_Study > ClientFactory::Study ( SALOMEDS::Study_ptr  theStudy)
static

◆ StudyBuilder()

clt_shared_ptr< SALOMEDSClient_StudyBuilder > ClientFactory::StudyBuilder ( SALOMEDS::StudyBuilder_ptr  theBuilder)
static

Returns a client StudyBuilder wrapper that corresponds theStudy.

References _libHandle, _PTR, aBuilderFactory, BUILDER_FACTORY, and SALOMEDS_LIB_NAME.