102 std::ostringstream stream;
103 stream <<
"<ref>" <<
"SalomePythonComponent #" <<
_cntForRepr <<
"</ref>";
110 return "localhost/FactoryServer";
Base class for all component instances.
bool _isAttachedOnCloning
virtual void start(const Task *askingNode)=0
virtual bool isAlreadyStarted(const Task *askingNode) const =0
virtual std::string getPlacementId(const Task *askingNode) const =0
virtual std::string getFileRepr() const
For dump in file.
virtual ServiceNode * createNode(const std::string &name)
virtual ComponentInstance * clone() const
virtual void load(Task *askingNode)
Load the component instance.
static unsigned _cntForReprS
virtual bool isLoaded(Task *askingNode) const
Indicate if the component instance is loaded (true) or not.
std::string getStringValueToExportInInterp(const Task *askingNode) const
The specific method that justified SalomePythonComponent class.
SalomePythonComponent(const std::string &name)
virtual void unload(Task *askingNode)
Unload the component instance.
virtual std::string getKind() const
Return the component kind.
virtual ~SalomePythonComponent()
virtual ComponentInstance * cloneAlways() const
Class for calculation node associated with a component service.
virtual void setComponent(ComponentInstance *compo)
Associate an existing component instance to this service node AND check the consistency regarding the...