Salome HOME
CMake: Fix SWIG dependencies mechanism, part 2.
[modules/yacs.git] / doc / schemapy.rst
index 3880dcf16000fdf1aab176a53bb9b2078e9dc6c6..ccd0ada8083a0424c8e4d7f986d496686abbbc9d 100644 (file)
@@ -601,25 +601,6 @@ is defined by the class async in the python module myalgo2.py::
   p.edAddLink(ol.getOutputPort("evalSamples"),n.getInputPort("p1"))
   p.edAddLink(n.getOutputPort("p1"),ol.getInputPort("evalResults"))
 
-.. _py_container_creation:
-
-Creation of the three type of containers
-''''''''''''''''''''''''''''''''''''''''
-
-To create a mono YACS container simply invoke::
-
-   my_mono_cont=p.createContainer("MyMonoCont","Salome")
-   my_mono_cont.setProperty("type","mono")
-
-To create a multi YACS container simply invoke::
-
-   my_multi_cont=p.createContainer("MyMultiCont","Salome")
-   my_multi_cont.setProperty("type","multi")
-
-To create a HP YACS container simply invoke::
-
-   my_hp_cont=p.createContainer("MyHPCont","HPSalome")
-
 .. _py_container:
 
 Definition of containers
@@ -649,6 +630,16 @@ If it is required to place the SALOME service defined above (node “node3”) o
 
   n3.getComponent().setContainer(c1)
 
+Since SALOME v7.5, there is a new type of container:
+*Homogeneous Pool of SALOME containers* (HP container).
+It is possible to create this type of container this way::
+
+   my_hp_cont=r.createContainer("MyHPCont","HPSalome")
+
+- "MyHPCont" : name of the container. Same result as my_hp_cont.setName("MyHPCont").
+- "HPSalome" : type of container. Possible values are "HPSalome" (for a HP container)
+  or "Salome" (for a classic container).
+
 Node properties
 '''''''''''''''''''''''''''
 A property is added to an elementary or composite node (or is modified) using its setProperty method that has two