}
inline void GraphEditor::DataFlow::Executing() {
- cdebug << "Executing _Executing = true " << endl ;
+ cdebug << "Editor::DataFlow::Executing() : set _Executing = true " << endl ;
_Executing = true ;
}
inline bool GraphEditor::DataFlow::IsExecuting() {
-#if 0
- //cout << " +++++> Old!" << endl;
- if ( _DataFlowExecutor ) {
- if ( _DataFlowExecutor->IsDone() ) {
- _Executing = false ;
- }
- else {
- _Executing = true ;
- }
- }
- else {
- _Executing = false ;
- }
-#endif
-// cdebug << "GraphEditor::DataFlow::IsExecuting _Executing " << _Executing << " DataFlowExecutor " << _DataFlowExecutor ;
- if ( _DataFlowExecutor ) {
- cdebug << " IsDone " << _DataFlowExecutor->IsDone() << " State " << _DataFlowExecutor->State() ;
- }
- cdebug << endl ;
-// cout << "+++++++++++++> _Executing = " << _Executing << " _DataFlowExecutor = " << _DataFlowExecutor << 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 ;
}
return _EditedAfterExecution ;
}
+inline bool GraphEditor::DataFlow::UnValid() {
+ Editing() ;
+ EditedAfterExecution( true ) ;
+ return GraphEditor::OutNode::UnValid() ;
+}
+
inline bool GraphEditor::DataFlow::IsReadOnly() {
return _ReadOnly ;
}