cdebug_out << "GraphEditor::DataFlow::DataFlowEditor()" << endl;
}
+//extern ostream * fdebug ;
+
GraphEditor::DataFlow::DataFlow( CORBA::ORB_ptr ORB,
SALOME_NamingService* ptrNamingService ,
const char *DataFlowName ,
- const char * DebugFileName ) :
- OutNode( ORB, ptrNamingService , DataFlowName , DebugFileName ) {
+ const char * DebugFileName ,
+ const SUPERV::KindOfNode aKindOfNode ) :
+ OutNode( ORB, ptrNamingService , DataFlowName , DebugFileName , aKindOfNode ) {
+// cout << "GraphEditor::DataFlow::DataFlow(" ;
cdebug_in << "GraphEditor::DataFlow::DataFlow(" ;
if ( DataFlowName ) {
- cdebug << DataFlowName ;
+// cout << DataFlowName << " , " << DebugFileName ;
+ cdebug << DataFlowName << " , " << DebugFileName;
}
+// cout << ")" << endl;
cdebug << ")" << endl;
_theNamingService = ptrNamingService ;
_Executing = false ;
cdebug_out << "GraphEditor::DataFlow::DataFlow" << endl;
+// fdebug = new ofstream( DebugFileName ); // GraphBase::Base::_fdebug ;
}
GraphEditor::DataFlow::DataFlow(
// delete _GT ;
}
-#if 0
-GraphExecutor::DataFlow * GraphEditor::DataFlow::Run() {
- cdebug_in << "GraphEditor::DataFlow::Run" << endl;
- SUPERV::SGraph * theDataFlow ;
- GraphExecutor::DataFlow * aDataFlowExecutor ;
- theDataFlow = GetDataFlow() ;
- aDataFlowExecutor = new GraphExecutor::DataFlow( NamingService() ,
- theDataFlow->Info.theName ) ;
- if ( aDataFlowExecutor->LoadDataFlow( *theDataFlow ) ) {
- aDataFlowExecutor->Run() ;
- }
- else {
- MESSAGE( "GraphEditor::DataFlow::Run error while loading DataFlowExecutor")
- delete aDataFlowExecutor ;
- }
- cdebug_out << "GraphEditor::DataFlow::Run" << endl;
- return aDataFlowExecutor ;
-}
-#endif