General KERNEL Documentation     End User KERNEL Services  


SALOME_ModuleCatalog_AcomponentImpl Class Reference

#include <SALOME_ModuleCatalog_Acomponent_impl.hxx>

Inheritance diagram for SALOME_ModuleCatalog_AcomponentImpl:

Inheritance graph
Collaboration diagram for SALOME_ModuleCatalog_AcomponentImpl:

Collaboration graph

Public Member Functions

 SALOME_ModuleCatalog_AcomponentImpl (SALOME_ModuleCatalog::Component &C)
 standard constructor
virtual ~SALOME_ModuleCatalog_AcomponentImpl ()
 standard destructor
virtual SALOME_ModuleCatalog::ListOfInterfacesGetInterfaceList ()
 method to get a list of the interfaces name of a component
virtual SALOME_ModuleCatalog::DefinitionInterfaceGetInterface (const char *interfacename) throw (SALOME_ModuleCatalog::NotFound)
 method to get one interface of a component
virtual SALOME_ModuleCatalog::ListOfServicesGetServiceList (const char *interfacename) throw (SALOME_ModuleCatalog::NotFound)
 method to get a list of the services name of an interface of a component
virtual SALOME_ModuleCatalog::ServiceGetService (const char *interfacename, const char *servicename) throw (SALOME_ModuleCatalog::NotFound)
 method to get one service of an interface of a component
virtual SALOME_ModuleCatalog::ServiceGetDefaultService (const char *interfacename) throw (SALOME_ModuleCatalog::NotFound)
 method to get the default service of an interface of a component
virtual char * GetPathPrefix (const char *machinename) throw (SALOME_ModuleCatalog::NotFound)
 method to get the PathPrefix of a computer
virtual char * constraint ()
 method to obtain the constraint affected to a component
virtual char * componentname ()
 method to obtain the componentname
virtual char * componentusername ()
 method to obtain the componentusername
virtual CORBA::Boolean multistudy ()
 method to define if a component can be multistudy or not
virtual SALOME_ModuleCatalog::ComponentType component_type ()
 method to define the type of the component
virtual char * component_icone ()
 method to obtain the component icone (for IAPP)
virtual CORBA::Boolean implementation_type ()
 method to define if a component is implemented in C++ or Python

Private Member Functions

void duplicate (SALOME_ModuleCatalog::DefinitionInterface &I_out, const SALOME_ModuleCatalog::DefinitionInterface &I_in)
 method to duplicate an interface
void duplicate (SALOME_ModuleCatalog::Service &S_out, const SALOME_ModuleCatalog::Service &S_in)
 method to duplicate a service
void duplicate (SALOME_ModuleCatalog::ServicesParameter &P_out, const SALOME_ModuleCatalog::ServicesParameter &P_in)
 method to duplicate a parameter
void duplicate (SALOME_ModuleCatalog::ServicesDataStreamParameter &P_out, const SALOME_ModuleCatalog::ServicesDataStreamParameter &P_in)
 method to duplicate a parameter

Private Attributes

SALOME_ModuleCatalog::Component _Component

Constructor & Destructor Documentation

SALOME_ModuleCatalog_AcomponentImpl::SALOME_ModuleCatalog_AcomponentImpl SALOME_ModuleCatalog::Component C  ) 
 

SALOME_ModuleCatalog_AcomponentImpl::~SALOME_ModuleCatalog_AcomponentImpl  )  [virtual]
 


Member Function Documentation

SALOME_ModuleCatalog::ListOfInterfaces * SALOME_ModuleCatalog_AcomponentImpl::GetInterfaceList  )  [virtual]
 

Returns:
a list of the interfaces of a component

SALOME_ModuleCatalog::DefinitionInterface * SALOME_ModuleCatalog_AcomponentImpl::GetInterface const char *  interfacename  )  throw (SALOME_ModuleCatalog::NotFound) [virtual]
 

If the specified interface doesn't exist, the Notfound exception is thrown

Parameters:
interface name const car* arguments
Returns:
the wanted interface

SALOME_ModuleCatalog::ListOfServices * SALOME_ModuleCatalog_AcomponentImpl::GetServiceList const char *  interfacename  )  throw (SALOME_ModuleCatalog::NotFound) [virtual]
 

If the specified interface doesn't exist, the Notfound exception is thrown

Parameters:
interfacename const char* arguments
Returns:
a list of the services of the wanted interface

SALOME_ModuleCatalog::Service * SALOME_ModuleCatalog_AcomponentImpl::GetService const char *  interfacename,
const char *  servicename
throw (SALOME_ModuleCatalog::NotFound) [virtual]
 

If the wanted service or the specified interface don't exist, the Notfound exception is thrown

Parameters:
interfacename const char* arguments
servicename const char* arguments
Returns:
the wanted service

SALOME_ModuleCatalog::Service * SALOME_ModuleCatalog_AcomponentImpl::GetDefaultService const char *  interfacename  )  throw (SALOME_ModuleCatalog::NotFound) [virtual]
 

If the specified interface doesn't exist, the Notfound exception is thrown

Parameters:
interfacename const char* arguments
Returns:
the default service of the interface

char * SALOME_ModuleCatalog_AcomponentImpl::GetPathPrefix const char *  machinename  )  throw (SALOME_ModuleCatalog::NotFound) [virtual]
 

If the wanted computer doesn't exist, the Notfound exception is thrown

Parameters:
machinename const char* arguments
Returns:
the prefix path

char * SALOME_ModuleCatalog_AcomponentImpl::constraint  )  [virtual]
 

to be resolved by LifeCycle for the computer choice

Returns:
the constraint

char * SALOME_ModuleCatalog_AcomponentImpl::componentname  )  [virtual]
 

Returns:
the component name

char * SALOME_ModuleCatalog_AcomponentImpl::componentusername  )  [virtual]
 

Returns:
the component user name

CORBA::Boolean SALOME_ModuleCatalog_AcomponentImpl::multistudy  )  [virtual]
 

Returns:
true if the component supports multistudy

SALOME_ModuleCatalog::ComponentType SALOME_ModuleCatalog_AcomponentImpl::component_type  )  [virtual]
 

Returns:
the component type

char * SALOME_ModuleCatalog_AcomponentImpl::component_icone  )  [virtual]
 

Returns:
the component icon

CORBA::Boolean SALOME_ModuleCatalog_AcomponentImpl::implementation_type  )  [virtual]
 

Returns:
true if it's a C++ component

void SALOME_ModuleCatalog_AcomponentImpl::duplicate SALOME_ModuleCatalog::DefinitionInterface I_out,
const SALOME_ModuleCatalog::DefinitionInterface I_in
[private]
 

Parameters:
service SALOME_ModuleCatalog::DefinitionInterface arguments
Returns:
the interface

void SALOME_ModuleCatalog_AcomponentImpl::duplicate SALOME_ModuleCatalog::Service S_out,
const SALOME_ModuleCatalog::Service S_in
[private]
 

Parameters:
service SALOME_ModuleCatalog::Service arguments
Returns:
the service

void SALOME_ModuleCatalog_AcomponentImpl::duplicate SALOME_ModuleCatalog::ServicesParameter P_out,
const SALOME_ModuleCatalog::ServicesParameter P_in
[private]
 

Parameters:
parameter SALOME_ModuleCatalog::ServicesParameter arguments
Returns:
the parameter

void SALOME_ModuleCatalog_AcomponentImpl::duplicate SALOME_ModuleCatalog::ServicesDataStreamParameter P_out,
const SALOME_ModuleCatalog::ServicesDataStreamParameter P_in
[private]
 

Parameters:
parameter SALOME_ModuleCatalog::ServicesDataStreamParameter arguments
Returns:
the parameter


Field Documentation

SALOME_ModuleCatalog::Component SALOME_ModuleCatalog_AcomponentImpl::_Component [private]