#include <SalomeHPComponent.hxx>


Public Member Functions | |
| SalomeHPComponent (const std::string &name) | |
| SalomeHPComponent (const SalomeHPComponent &other) | |
| virtual | ~SalomeHPComponent () |
| virtual void | load (Task *askingNode) |
| Load the component. More... | |
| virtual void | unload (Task *askingNode) |
| Unload the component. More... | |
| virtual bool | isLoaded (Task *askingNode) const |
| Is the component instance already loaded ? More... | |
| virtual bool | setContainer (Container *cont) |
| virtual ServiceNode * | createNode (const std::string &name) |
| Create a ServiceNode with this component instance and no input or output port. More... | |
| virtual ComponentInstance * | clone () const |
| Clone the component instance. More... | |
| virtual ComponentInstance * | cloneAlways () const |
| virtual std::string | getFileRepr () const |
| For dump in file. More... | |
| virtual CORBA::Object_ptr | getCompoPtr () |
| virtual void | shutdown (int level) |
| virtual std::string | getKind () const |
| Return the component kind. More... | |
| virtual std::string | getKindForNode () const |
Public Member Functions inherited from YACS::ENGINE::ComponentInstance | |
| ComponentInstance (const std::string &name) | |
| ComponentInstance (const ComponentInstance &other) | |
| const std::string & | getCompoName () const |
| const std::string & | getInstanceName () const |
| void | setName (const std::string &name) |
| virtual void | setAnonymous (bool anon) |
| virtual bool | isAnonymous () |
| int | getNumId () const |
| Container * | getContainer () const |
| virtual void | attachOnCloning () const |
| virtual void | dettachOnCloning () const |
| bool | isAttachedOnCloning () const |
Public Member Functions inherited from YACS::ENGINE::PropertyInterface | |
| virtual | ~PropertyInterface () |
| virtual void | setProperty (const std::string &name, const std::string &value) |
| virtual std::string | getProperty (const std::string &name) |
| Get a property value given its name. More... | |
| std::map< std::string, std::string > | getProperties () const |
| virtual void | setProperties (std::map< std::string, std::string > properties) |
Public Member Functions inherited from YACS::ENGINE::RefCounter | |
| unsigned int | getRefCnt () const |
| void | incrRef () const |
| bool | decrRef () |
Static Public Attributes | |
| static const char | KIND [] ="HPSalome" |
Static Public Attributes inherited from YACS::ENGINE::ComponentInstance | |
| static const char | KIND [] ="" |
Static Public Attributes inherited from YACS::ENGINE::RefCounter | |
| static unsigned int | _totalCnt =0 |
Protected Attributes | |
| CORBA::Object_var | _objComponent |
Protected Attributes inherited from YACS::ENGINE::ComponentInstance | |
| std::string | _compoName |
| WARNING : _compoName identify only the component type. More... | |
| std::string | _instanceName |
| WARNING : _InstanceName has a strong semantic. It discriminates ComponentInstance instances each other. More... | |
| int | _numId |
| Container * | _container |
| bool | _isAttachedOnCloning |
| bool | _anonymous |
Protected Attributes inherited from YACS::ENGINE::PropertyInterface | |
| std::map< std::string, std::string > | _propertyMap |
Protected Attributes inherited from YACS::ENGINE::RefCounter | |
| unsigned int | _cnt |
Additional Inherited Members | |
Protected Member Functions inherited from YACS::ENGINE::ComponentInstance | |
| virtual | ~ComponentInstance () |
Static Protected Attributes inherited from YACS::ENGINE::ComponentInstance | |
| static const char | NULL_FILE_REPR [] ="No repr specified for ComponentInstance" |
| static int | _total = 0 |
Definition at line 31 of file SalomeHPComponent.hxx.
| SalomeHPComponent::SalomeHPComponent | ( | const std::string & | name | ) |
Definition at line 45 of file SalomeHPComponent.cxx.
References _objComponent.
Referenced by clone(), and cloneAlways().
| SalomeHPComponent::SalomeHPComponent | ( | const SalomeHPComponent & | other | ) |
Definition at line 50 of file SalomeHPComponent.cxx.
References _objComponent.
|
virtual |
Definition at line 55 of file SalomeHPComponent.cxx.
|
virtual |
Clone the component instance.
Implements YACS::ENGINE::ComponentInstance.
Definition at line 120 of file SalomeHPComponent.cxx.
References YACS::ENGINE::ComponentInstance::_isAttachedOnCloning, YACS::ENGINE::RefCounter::incrRef(), and SalomeHPComponent().
|
virtual |
Implements YACS::ENGINE::ComponentInstance.
Definition at line 131 of file SalomeHPComponent.cxx.
References SalomeHPComponent().
|
virtual |
Create a ServiceNode with this component instance and no input or output port.
| name | : node name |
Implements YACS::ENGINE::ComponentInstance.
Definition at line 112 of file SalomeHPComponent.cxx.
References YACS::ENGINE::ServiceNode::setComponent().
|
inlinevirtual |
Definition at line 45 of file SalomeHPComponent.hxx.
|
virtual |
For dump in file.
Reimplemented from YACS::ENGINE::ComponentInstance.
Definition at line 136 of file SalomeHPComponent.cxx.
References YACS::ENGINE::ComponentInstance::getCompoName().
|
virtual |
Return the component kind.
A runtime can provide several implementations of a component instance. Each implementation has a different kind. A ComponentInstance can be associated to a ServiceNode is they have the same kind.
Reimplemented from YACS::ENGINE::ComponentInstance.
Definition at line 59 of file SalomeHPComponent.cxx.
References KIND.
|
virtual |
Reimplemented from YACS::ENGINE::ComponentInstance.
Definition at line 64 of file SalomeHPComponent.cxx.
References YACS::ENGINE::SalomeComponent::KIND.
|
virtual |
Is the component instance already loaded ?
Implements YACS::ENGINE::ComponentInstance.
Definition at line 77 of file SalomeHPComponent.cxx.
|
virtual |
Load the component.
Implements YACS::ENGINE::ComponentInstance.
Definition at line 84 of file SalomeHPComponent.cxx.
References YACS::ENGINE::ComponentInstance::_container, _objComponent, YACS::ENGINE::SalomeContainerTmpForHP::BuildFrom(), and YACS::ENGINE::SalomeContainerTmpForHP::loadComponent().
|
virtual |
Reimplemented from YACS::ENGINE::ComponentInstance.
Definition at line 143 of file SalomeHPComponent.cxx.
References YACS::ENGINE::ComponentInstance::_compoName, YACS::ENGINE::ComponentInstance::_container, YACS::ENGINE::Container::addComponentName(), and YACS::ENGINE::ComponentInstance::setContainer().
|
virtual |
Reimplemented from YACS::ENGINE::ComponentInstance.
Definition at line 157 of file SalomeHPComponent.cxx.
References YACS::ENGINE::ComponentInstance::_container, DEBTRACE, and YACS::ENGINE::Container::shutdown().
|
virtual |
Unload the component.
Implements YACS::ENGINE::ComponentInstance.
Definition at line 70 of file SalomeHPComponent.cxx.
|
protected |
Definition at line 52 of file SalomeHPComponent.hxx.
Referenced by load(), and SalomeHPComponent().
|
static |
Definition at line 48 of file SalomeHPComponent.hxx.
Referenced by YACS::ENGINE::SalomeHPContainer::checkCapabilityToDealWith(), and getKind().