#include <SALOME_ModuleCatalog_Acomponent_impl.hxx>
Public Member Functions | |
SALOME_ModuleCatalog_AcomponentImpl (SALOME_ModuleCatalog::ComponentDef &C) | |
standard constructor More... | |
virtual | ~SALOME_ModuleCatalog_AcomponentImpl () |
standard destructor More... | |
virtual SALOME_ModuleCatalog::ListOfInterfaces * | GetInterfaceList () |
method to get a list of the interfaces name of a component More... | |
virtual SALOME_ModuleCatalog::DefinitionInterface * | GetInterface (const char *interfacename) throw (SALOME_ModuleCatalog::NotFound) |
method to get one interface of a component More... | |
virtual SALOME_ModuleCatalog::ListOfServices * | GetServiceList (const char *interfacename) throw (SALOME_ModuleCatalog::NotFound) |
method to get a list of the services name of an interface of a component More... | |
virtual SALOME_ModuleCatalog::Service * | GetService (const char *interfacename, const char *servicename) throw (SALOME_ModuleCatalog::NotFound) |
method to get one service of an interface of a component More... | |
virtual SALOME_ModuleCatalog::Service * | GetDefaultService (const char *interfacename) throw (SALOME_ModuleCatalog::NotFound) |
method to get the default service of an interface of a component More... | |
virtual char * | GetPathPrefix (const char *machinename) throw (SALOME_ModuleCatalog::NotFound) |
method to get the PathPrefix of a computer More... | |
virtual char * | constraint () |
method to obtain the constraint affected to a component More... | |
virtual char * | componentname () |
method to obtain the componentname More... | |
virtual char * | componentusername () |
method to obtain the componentusername More... | |
virtual CORBA::Boolean | multistudy () |
method to define if a component can be multistudy or not More... | |
virtual SALOME_ModuleCatalog::ComponentType | component_type () |
method to define the type of the component More... | |
virtual char * | component_icone () |
method to obtain the component icone (for IAPP) More... | |
virtual SALOME_ModuleCatalog::ImplType | implementation_type () |
method to define if a component is implemented in a dyn lib a python module or an executable More... | |
virtual char * | implementation_name () |
method to obtain the implementation name of the component if the default one is not convenient More... | |
Private Member Functions | |
void | duplicate (SALOME_ModuleCatalog::DefinitionInterface &I_out, const SALOME_ModuleCatalog::DefinitionInterface &I_in) |
method to duplicate an interface More... | |
void | duplicate (SALOME_ModuleCatalog::Service &S_out, const SALOME_ModuleCatalog::Service &S_in) |
method to duplicate a service More... | |
void | duplicate (SALOME_ModuleCatalog::ServicesParameter &P_out, const SALOME_ModuleCatalog::ServicesParameter &P_in) |
method to duplicate a parameter More... | |
void | duplicate (SALOME_ModuleCatalog::ServicesDataStreamParameter &P_out, const SALOME_ModuleCatalog::ServicesDataStreamParameter &P_in) |
method to duplicate a parameter More... | |
Private Attributes | |
SALOME_ModuleCatalog::ComponentDef | _Component |
SALOME_ModuleCatalog_AcomponentImpl::SALOME_ModuleCatalog_AcomponentImpl | ( | SALOME_ModuleCatalog::ComponentDef & | C | ) |
|
virtual |
|
virtual |
method to obtain the component icone (for IAPP)
References _Component, and SALOME_ModuleCatalog::ComponentDef::icon.
|
virtual |
method to define the type of the component
References _Component, and SALOME_ModuleCatalog::ComponentDef::type.
|
virtual |
method to obtain the componentname
References _Component, and SALOME_ModuleCatalog::ComponentDef::name.
|
virtual |
method to obtain the componentusername
References _Component, and SALOME_ModuleCatalog::ComponentDef::username.
|
virtual |
method to obtain the constraint affected to a component
to be resolved by LifeCycle for the computer choice
References _Component, and SALOME_ModuleCatalog::ComponentDef::constraint.
|
private |
method to duplicate an interface
service | SALOME_ModuleCatalog::DefinitionInterface arguments |
References duplicate(), SALOME_ModuleCatalog::DefinitionInterface::interfacename, SALOME_ModuleCatalog::DefinitionInterface::interfaceservicelist, MYDEBUG, and SCRUTE.
|
private |
method to duplicate a service
service | SALOME_ModuleCatalog::Service arguments |
References duplicate(), MYDEBUG, SCRUTE, SALOME_ModuleCatalog::Service::Servicebydefault, SALOME_ModuleCatalog::Service::ServiceinDataStreamParameter, SALOME_ModuleCatalog::Service::ServiceinParameter, SALOME_ModuleCatalog::Service::ServiceName, SALOME_ModuleCatalog::Service::ServiceoutDataStreamParameter, SALOME_ModuleCatalog::Service::ServiceoutParameter, and SALOME_ModuleCatalog::Service::TypeOfNode.
|
private |
method to duplicate a parameter
parameter | SALOME_ModuleCatalog::ServicesParameter arguments |
References SALOME_ModuleCatalog::ServicesParameter::Parametername, and SALOME_ModuleCatalog::ServicesParameter::Parametertype.
|
private |
method to duplicate a parameter
parameter | SALOME_ModuleCatalog::ServicesDataStreamParameter arguments |
References SALOME_ModuleCatalog::ServicesDataStreamParameter::Parameterdependency, SALOME_ModuleCatalog::ServicesDataStreamParameter::Parametername, and SALOME_ModuleCatalog::ServicesDataStreamParameter::Parametertype.
|
virtual |
method to get the default service of an interface of a component
If the specified interface doesn't exist, the Notfound exception is thrown
interfacename | const char* arguments |
References BEGIN_OF, duplicate(), END_OF, MESSAGE, MYDEBUG, and SCRUTE.
|
virtual |
method to get one interface of a component
If the specified interface doesn't exist, the Notfound exception is thrown
interface | name const car* arguments |
References BEGIN_OF, duplicate(), END_OF, SALOME_ModuleCatalog::DefinitionInterface::interfacename, MESSAGE, MYDEBUG, and SCRUTE.
|
virtual |
method to get a list of the interfaces name of a component
References _Component, BEGIN_OF, END_OF, SALOME_ModuleCatalog::ComponentDef::interfaces, MESSAGE, MYDEBUG, and SALOME_ModuleCatalog::ComponentDef::name.
|
virtual |
|
virtual |
method to get one service of an interface of a component
If the wanted service or the specified interface don't exist, the Notfound exception is thrown
interfacename | const char* arguments |
servicename | const char* arguments |
References BEGIN_OF, duplicate(), END_OF, SALOME_ModuleCatalog::DefinitionInterface::interfacename, SALOME_ModuleCatalog::DefinitionInterface::interfaceservicelist, MESSAGE, MYDEBUG, SCRUTE, and SALOME_ModuleCatalog::Service::ServiceName.
|
virtual |
method to get a list of the services name of an interface of a component
If the specified interface doesn't exist, the Notfound exception is thrown
interfacename | const char* arguments |
References BEGIN_OF, END_OF, SALOME_ModuleCatalog::DefinitionInterface::interfacename, SALOME_ModuleCatalog::DefinitionInterface::interfaceservicelist, MESSAGE, MYDEBUG, and SCRUTE.
|
virtual |
method to obtain the implementation name of the component if the default one is not convenient
References _Component, and SALOME_ModuleCatalog::ComponentDef::implname.
|
virtual |
method to define if a component is implemented in a dyn lib a python module or an executable
References _Component, and SALOME_ModuleCatalog::ComponentDef::implementationType.
|
virtual |
method to define if a component can be multistudy or not
References _Component, and SALOME_ModuleCatalog::ComponentDef::multistudy.
|
private |