Salome HOME
*** empty log message ***
[modules/superv.git] / idl / SUPERV.idl
index 18eae1ac2a737216ba90b64fe6c1b4786bd098b2..e88283fa4275c3c42945e1d7cc57c37011277c5f 100644 (file)
@@ -44,7 +44,7 @@ implemented in different kinds of nodes of the graph.
 */
   enum KindOfPort { UndefinedParameter , ServiceParameter , GateParameter ,
                     InLineParameter , LoopParameter , SwitchParameter ,
-                    EndSwitchParameter , GOTOParameter } ;
+                    EndSwitchParameter , GOTOParameter , DataStreamParameter } ;
 
 /*!
 This enumeration contains a set of elements defining the type of the node.
@@ -314,6 +314,34 @@ Allows to update the comments about this node(graph).
 */
     SUPERV::Port Port( in string aParameterName ) ;
 
+/*! Creates an Input port in an Inline node.
+
+\param aParameterName This value sets the name of the parameter which will be defined in this port.
+\param aParameterType This value sets the type of the parameter which will be defined in this port.
+*/
+
+    SUPERV::Port InPort( in string aParameterName , in string aParameterType ) ;
+/*! Creates an Output port in an Inline node.
+
+\param aParameterName This value sets the name of the parameter which will be defined in this port.
+\param aParameterType This value sets the type of the parameter which will be defined in this port.
+*/
+
+    SUPERV::Port OutPort( in string aParameterName , in string aParameterType ) ;
+/*! Creates an Input port in an Inline node.
+
+\param aParameterName This value sets the name of the parameter which will be defined in this port.
+\param aParameterType This value sets the type of the parameter which will be defined in this port.
+*/
+
+    SUPERV::Port InDataStreamPort( in string aParameterName , in string aParameterType ) ;
+/*! Creates an Output port in an Inline node.
+
+\param aParameterName This value sets the name of the parameter which will be defined in this port.
+\param aParameterType This value sets the type of the parameter which will be defined in this port.
+*/
+
+    SUPERV::Port OutDataStreamPort( in string aParameterName , in string aParameterType ) ;
 /*!
  Enters a value into an Input %Port
 */
@@ -581,20 +609,6 @@ executed for performing calculations, as well as input and output parameters for
 */
     string PyFuncName() ;
 
-/*! Creates an Input port in an Inline node.
-
-\param aParameterName This value sets the name of the parameter which will be defined in this port.
-\param aParameterType This value sets the type of the parameter which will be defined in this port.
-*/
-
-    SUPERV::Port InPort( in string aParameterName , in string aParameterType ) ;
-/*! Creates an Output port in an Inline node.
-
-\param aParameterName This value sets the name of the parameter which will be defined in this port.
-\param aParameterType This value sets the type of the parameter which will be defined in this port.
-*/
-
-    SUPERV::Port OutPort( in string aParameterName , in string aParameterType ) ;
   } ;
 /*! \brief %GNode class
 
@@ -1034,6 +1048,11 @@ Returns True if the %Port is linked (without value)
 */
     SUPERV::KindOfPort Kind() ;
 
+    // SetKind of a Port
+/*! Sets the type of this port.
+*/
+    void SetKind( in SUPERV::KindOfPort aKindOfPort ) ;
+
     // Port from the service of the node
 /*!
 Returns True if the %Port is a parameter of a service
@@ -1067,6 +1086,8 @@ Returns True if the %Port appears to be an EndSwitch Node connected to several o
 */
     boolean IsEndSwitch() ;
 
+    boolean IsDataStream() ;
+
 /*! Returns the current state of the graph.
 */
     SUPERV::GraphState State() ;