#include <SalomePythonComponent.hxx>


Public Member Functions | |
| SalomePythonComponent (const std::string &name) | |
| SalomePythonComponent (const SalomePythonComponent &other) | |
| std::string | getPlacementId () const |
| virtual | ~SalomePythonComponent () |
| virtual void | load (Task *askingNode) |
| Load the component instance. More... | |
| virtual void | unload (Task *askingNode) |
| Unload the component instance. More... | |
| virtual bool | isLoaded (Task *askingNode) const |
| Indicate if the component instance is loaded (true) or not. More... | |
| virtual std::string | getKind () const |
| Return the component kind. More... | |
| virtual ComponentInstance * | clone () const |
| virtual ComponentInstance * | cloneAlways () const |
| virtual std::string | getFileRepr () const |
| For dump in file. More... | |
| virtual ServiceNode * | createNode (const std::string &name) |
| std::string | getStringValueToExportInInterp (const Task *askingNode) const |
| The specific method that justified SalomePythonComponent class. More... | |
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 |
| virtual bool | setContainer (Container *cont) |
| Container * | getContainer () const |
| virtual void | attachOnCloning () const |
| virtual void | dettachOnCloning () const |
| bool | isAttachedOnCloning () const |
| virtual std::string | getKindForNode () const |
| virtual void | shutdown (int level) |
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 () |
Public Attributes | |
| unsigned | _cntForRepr |
Static Public Attributes | |
| static unsigned | _cntForReprS = 0 |
| static const char | KIND [] ="SalomePy" |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from YACS::ENGINE::ComponentInstance | |
| virtual | ~ComponentInstance () |
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 |
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 29 of file SalomePythonComponent.hxx.
| SalomePythonComponent::SalomePythonComponent | ( | const std::string & | name | ) |
Definition at line 35 of file SalomePythonComponent.cxx.
Referenced by clone(), and cloneAlways().
| SalomePythonComponent::SalomePythonComponent | ( | const SalomePythonComponent & | other | ) |
Definition at line 39 of file SalomePythonComponent.cxx.
|
virtual |
Definition at line 43 of file SalomePythonComponent.cxx.
|
virtual |
Implements YACS::ENGINE::ComponentInstance.
Definition at line 77 of file SalomePythonComponent.cxx.
References YACS::ENGINE::ComponentInstance::_isAttachedOnCloning, YACS::ENGINE::RefCounter::incrRef(), and SalomePythonComponent().
|
virtual |
Implements YACS::ENGINE::ComponentInstance.
Definition at line 88 of file SalomePythonComponent.cxx.
References SalomePythonComponent().
|
virtual |
Implements YACS::ENGINE::ComponentInstance.
Definition at line 93 of file SalomePythonComponent.cxx.
References YACS::ENGINE::ServiceNode::setComponent().
|
virtual |
For dump in file.
Reimplemented from YACS::ENGINE::ComponentInstance.
Definition at line 100 of file SalomePythonComponent.cxx.
References _cntForRepr.
|
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 71 of file SalomePythonComponent.cxx.
References YACS::ENGINE::SalomeComponent::KIND.
| std::string YACS::ENGINE::SalomePythonComponent::getPlacementId | ( | ) | const |
| std::string SalomePythonComponent::getStringValueToExportInInterp | ( | const Task * | askingNode | ) | const |
The specific method that justified SalomePythonComponent class.
Definition at line 107 of file SalomePythonComponent.cxx.
References YACS::ENGINE::ComponentInstance::_container, and YACS::ENGINE::Container::getPlacementId().
|
virtual |
Indicate if the component instance is loaded (true) or not.
Implements YACS::ENGINE::ComponentInstance.
Definition at line 63 of file SalomePythonComponent.cxx.
References YACS::ENGINE::ComponentInstance::_container, and YACS::ENGINE::Container::isAlreadyStarted().
|
virtual |
Load the component instance.
Implements YACS::ENGINE::ComponentInstance.
Definition at line 47 of file SalomePythonComponent.cxx.
References YACS::ENGINE::ComponentInstance::_container, and YACS::ENGINE::Container::start().
|
virtual |
Unload the component instance.
Implements YACS::ENGINE::ComponentInstance.
Definition at line 59 of file SalomePythonComponent.cxx.
| unsigned YACS::ENGINE::SalomePythonComponent::_cntForRepr |
Definition at line 47 of file SalomePythonComponent.hxx.
Referenced by getFileRepr().
|
static |
Definition at line 48 of file SalomePythonComponent.hxx.
|
static |
Definition at line 49 of file SalomePythonComponent.hxx.