From 766aea224ab2baea74516ab5c964d87c04507a62 Mon Sep 17 00:00:00 2001 From: rahuel Date: Wed, 8 Dec 2004 12:48:08 +0000 Subject: [PATCH] Executing()/Editing() methods : ASV --- src/GraphEditor/DataFlowEditor_DataFlow.hxx | 2 +- src/GraphEditor/DataFlowEditor_DataFlow.lxx | 19 ++++--------------- 2 files changed, 5 insertions(+), 16 deletions(-) diff --git a/src/GraphEditor/DataFlowEditor_DataFlow.hxx b/src/GraphEditor/DataFlowEditor_DataFlow.hxx index 336a9e3..1bc4096 100644 --- a/src/GraphEditor/DataFlowEditor_DataFlow.hxx +++ b/src/GraphEditor/DataFlowEditor_DataFlow.hxx @@ -213,7 +213,7 @@ namespace GraphEditor { bool IsValid() ; bool IsExecutable() ; - void Executing( bool b = true ) ; + void Executing() ; // asv : removed a bool parameter, use Editing() to set _Executing = false bool IsExecuting() ; void Editing() ; bool IsEditing() ; diff --git a/src/GraphEditor/DataFlowEditor_DataFlow.lxx b/src/GraphEditor/DataFlowEditor_DataFlow.lxx index e09bb9f..93bfb43 100644 --- a/src/GraphEditor/DataFlowEditor_DataFlow.lxx +++ b/src/GraphEditor/DataFlowEditor_DataFlow.lxx @@ -428,29 +428,18 @@ inline bool GraphEditor::DataFlow::IsExecutable() { return GraphEditor::OutNode::IsExecutable() ; } -inline void GraphEditor::DataFlow::Executing( bool b ) { - cdebug << "Executing _Executing = " << b << endl ; - _Executing = b ; +inline void GraphEditor::DataFlow::Executing() { + cdebug << "Editor::DataFlow::Executing() : set _Executing = true " << endl ; + _Executing = true ; } inline bool GraphEditor::DataFlow::IsExecuting() { -/* - if ( _DataFlowExecutor ) { - cdebug << " IsDone " << _DataFlowExecutor->IsDone() << " State " << _DataFlowExecutor->State() ; - } - cdebug << endl ; - if ( _Executing && _DataFlowExecutor ) { - if ( _DataFlowExecutor->IsDone() ) { - _Executing = false ; - } - } -*/ return _Executing ; } inline void GraphEditor::DataFlow::Editing() { - cdebug << "Editing _Executing = false " << endl ; + cdebug << "Editor::DataFlow::Editing() : set _Executing = false " << endl ; _Executing = false ; } -- 2.39.2