]> SALOME platform Git repositories - modules/superv.git/blobdiff - src/GraphExecutor/DataFlowExecutor_DataFlow.cxx
Salome HOME
NRI : Merge from V1_2.
[modules/superv.git] / src / GraphExecutor / DataFlowExecutor_DataFlow.cxx
index 653fafb3854d452055dd5c9a40f76a0c91cc2fa8..ce7121885365b7c08f5967903e1551071063cf21 100644 (file)
@@ -1,5 +1,30 @@
-using namespace std;
+//  SUPERV GraphExecutor : contains classes that permit execution of graphs and particularly the execution automaton
+//
+//  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
+//  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
+// 
+//  This library is free software; you can redistribute it and/or 
+//  modify it under the terms of the GNU Lesser General Public 
+//  License as published by the Free Software Foundation; either 
+//  version 2.1 of the License. 
+// 
+//  This library is distributed in the hope that it will be useful, 
+//  but WITHOUT ANY WARRANTY; without even the implied warranty of 
+//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU 
+//  Lesser General Public License for more details. 
+// 
+//  You should have received a copy of the GNU Lesser General Public 
+//  License along with this library; if not, write to the Free Software 
+//  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA 
+// 
+//  See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org 
+//
+//
+//
+//  File   : DataFlowExecutor_DataFlow.cxx
+//  Module : SUPERV
 
+using namespace std;
 #include "DataFlowExecutor_DataFlow.hxx"
 
 // Implementation de la classe GraphExecutor::Graph
@@ -120,10 +145,8 @@ bool GraphExecutor::DataFlow::KillDone( const char *aNodeName ) {
 
 bool GraphExecutor::DataFlow::Suspend() {
   cdebug_in << "GraphExecutor::DataFlow::Suspend()" << endl;
-  bool RetVal = false ;
-  MESSAGE("Suspend not yet implemented.") ;
-  cdebug << "Suspend not yet implemented." << endl;
-  cdebug_out << "GraphExecutor::DataFlow::Suspend()" << endl;
+  bool RetVal = GraphExecutor::OutNode::Suspend() ;
+  cdebug_out << "GraphExecutor::DataFlow::Suspend()" << RetVal << endl;
   return RetVal ;
 }
 
@@ -159,9 +182,8 @@ bool GraphExecutor::DataFlow::SuspendDone( const char *aNodeName ) {
 
 bool GraphExecutor::DataFlow::Resume() {
   cdebug_in << "GraphExecutor::DataFlow::Resume()" << endl;
-  bool RetVal = false ;
-  cdebug << "Resume not yet implemented." << endl;
-  cdebug_out << "GraphExecutor::DataFlow::Resume()" << endl;
+  bool RetVal = GraphExecutor::OutNode::Resume() ;
+  cdebug_out << "GraphExecutor::DataFlow::Resume()" << RetVal << endl;
   return RetVal ;
 }