]> SALOME platform Git repositories - modules/superv.git/blobdiff - src/GraphBase/DataFlowBase_DataPort.hxx
Salome HOME
*** empty log message ***
[modules/superv.git] / src / GraphBase / DataFlowBase_DataPort.hxx
index 08ed859bb759bc4089aa5dddecfdafc15c914445..0dd2c297dfd83f2762dd49958babd4b1bdf12751 100644 (file)
@@ -35,38 +35,43 @@ namespace GraphBase {
 
   class DataPort : public Port {
 
-    CORBA::Any const *    _InitialValue ;
-    CORBA::Any const *    _theValue ;
-    CORBA::Any const * *  _Value ;
-    SUPERV::GraphState    _State ;
-    bool                  _Done ;
-    pthread_mutex_t       _MutexWait ;
+    private:
+
+      CORBA::Any const *    _InitialValue ;
+      CORBA::Any const *    _theValue ;
+      CORBA::Any const * *  _Value ;
+      SUPERV::GraphState    _State ;
+      bool                  _Done ;
+      pthread_mutex_t       _MutexWait ;
 
     public :
 
-    DataPort( const char *const * NodeName  ,
-              const SALOME_ModuleCatalog::ServicesParameter aserviceParameter ) ;
-    virtual ~DataPort() ;
+      DataPort() ;
+      DataPort( const char *const * NodeName  ,
+                const SALOME_ModuleCatalog::ServicesParameter aserviceParameter ,
+                const SUPERV::KindOfPort aKind = SUPERV::ServiceParameter ,
+                const SALOME_ModuleCatalog::DataStreamDependency aDependency = SALOME_ModuleCatalog::DATASTREAM_UNDEFINED ) ;
+      virtual ~DataPort() ;
 
-    void InitialValues(CORBA::Any aValue ) ;
-    void Value (const CORBA::Any & aValue ) ;
-    void Value( const CORBA::Any * aValue ) ;
-    void Value( const CORBA::Any ** aValue ) ;
-    CORBA::Any const * Value() const ;
-    bool BoolValue() const ;
-    const CORBA::Any ** ValuePtr() const ;
+      void InitialValues(CORBA::Any aValue ) ;
+      void Value (const CORBA::Any & aValue ) ;
+      void Value( const CORBA::Any * aValue ) ;
+      void Value( const CORBA::Any ** aValue ) ;
+      CORBA::Any const * Value() const ;
+      bool BoolValue() const ;
+      const CORBA::Any ** ValuePtr() const ;
 
-    void State( SUPERV::GraphState aState ) {
-         _State = aState ; } ;
-    SUPERV::GraphState State() { return _State ; } ;
+      void State( SUPERV::GraphState aState ) {
+           _State = aState ; } ;
+      SUPERV::GraphState State() { return _State ; } ;
 
-    void Done( bool aDone ) {
-//         cdebug << "ChgDone(.) " << NodeName() << " " << PortName() << " "
-//                << _Done << " -> " << aDone << endl ;
-         _Done = aDone ; } ;
-    const bool Done() const { return ( _Done ) ; } ;
+      void Done( bool aDone ) {
+//           cdebug << "ChgDone(.) " << NodeName() << " " << PortName() << " "
+//                  << _Done << " -> " << aDone << endl ;
+           _Done = aDone ; } ;
+      const bool Done() const { return ( _Done ) ; } ;
 
-    void StringValue(ostream & f) const ;
+      void StringValue(ostream & f) const ;
 
   } ;