]> SALOME platform Git repositories - modules/yacs.git/blobdiff - src/engine/Container.hxx
Salome HOME
On the road of homogeneous containers.
[modules/yacs.git] / src / engine / Container.hxx
index f193cbe8038099897883aa60751a41b43da60b17..9cbe7bb27088acd8e6b8139e23be26f55658e460 100644 (file)
@@ -35,6 +35,7 @@ namespace YACS
     class Proc;
     /*!
      * This is an abstract class, that represents an abstract process in which ComponentInstances can be launched and run.
+     * An instance of this will be mapped to one and only one physical container (except in the foreach context)
      */
     class YACSLIBENGINE_EXPORT Container : public RefCounter
     {
@@ -55,6 +56,7 @@ namespace YACS
       bool isAttachedOnCloning() const;
       //! \b WARNING ! clone behaviour \b MUST be in coherence with what is returned by isAttachedOnCloning() method
       virtual Container *clone() const = 0;
+      virtual Container *cloneAlways() const = 0;
       virtual bool isSupportingRTODefNbOfComp() const;
       virtual void checkCapabilityToDealWith(const ComponentInstance *inst) const throw(Exception) = 0;
       virtual void setProperty(const std::string& name,const std::string& value);