]> SALOME platform Git repositories - modules/superv.git/blobdiff - src/GraphBase/DataFlowBase_DataPort.hxx
Salome HOME
SMH: 3.0.0 preparation = merged version (POLYWORK + RTVDEBUG01) + adopation for new GUI
[modules/superv.git] / src / GraphBase / DataFlowBase_DataPort.hxx
index 0dd2c297dfd83f2762dd49958babd4b1bdf12751..89bf02ad1013b73fc8d1df5fff78abbd28ab55ff 100644 (file)
@@ -40,10 +40,14 @@ namespace GraphBase {
       CORBA::Any const *    _InitialValue ;
       CORBA::Any const *    _theValue ;
       CORBA::Any const * *  _Value ;
-      SUPERV::GraphState    _State ;
+//JR 08.03.2005 : the fields (and corresponding methods) _PortState and _Done are redundant
+// probably. That should be clarified when I shall have time enough
+      SUPERV::GraphState    _PortState ;
       bool                  _Done ;
       pthread_mutex_t       _MutexWait ;
 
+      void Value( const CORBA::Any * aValue ) ;
+
     public :
 
       DataPort() ;
@@ -55,21 +59,22 @@ namespace GraphBase {
 
       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 ;
+//      void Value( const CORBA::Any * aValue ) ;
+//      void Value( const CORBA::Any ** aValue ) ;
+//      CORBA::Any const * Value() const ;
+      const CORBA::Any Value() const ;
       bool BoolValue() const ;
-      const CORBA::Any ** ValuePtr() const ;
+//      const CORBA::Any ** ValuePtr() const ;
 
-      void State( SUPERV::GraphState aState ) {
-           _State = aState ; } ;
-      SUPERV::GraphState State() { return _State ; } ;
+      void PortState( SUPERV::GraphState aPortState ) {
+           _PortState = aPortState ; } ;
+      SUPERV::GraphState PortState() { return _PortState ; } ;
 
-      void Done( bool aDone ) {
+      void PortDone( bool aDone ) {
 //           cdebug << "ChgDone(.) " << NodeName() << " " << PortName() << " "
 //                  << _Done << " -> " << aDone << endl ;
            _Done = aDone ; } ;
-      const bool Done() const { return ( _Done ) ; } ;
+      const bool PortDone() const { return ( _Done ) ; } ;
 
       void StringValue(ostream & f) const ;