#include <SALOMEconfig.h>
#include CORBA_CLIENT_HEADER(SALOME_Component)
-//#include "SALOME_NamingService.hxx"
#include "SALOME_LifeCycleCORBA.hxx"
-//#include "DataFlowExecutor_InNode.hxx"
+//#include "StreamGraph_Impl.hxx"
#include "DataFlowExecutor_OutNode.hxx"
-#include "Graph_Impl.hxx"
-
-//static char *containerName = "FactoryServer" ;
-
int GraphExecutor::InNode::SendEvent( const GraphExecutor::NodeEvent anEvent ) {
_CurrentEvent = (GraphExecutor::NodeEvent ) anEvent ;
astr << "Graph " << _OutNode->Graph()->Name() << " Node " << Name()
<< " : load of component " << ComponentName() << " in container "
<< Computer() ;
- _OutNode->Graph()->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
+// _OutNode->Graph()->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
Err = !_OutNode->Graph()->StartComponent( ThreadNo() , Computer() ,
my_strdup( ComponentName() ) ,
myContainer , myObjComponent ) ;
if ( !Err ) {
ostringstream astr ;
astr << "Graph " << _OutNode->Graph()->Name() << " Run of Node " << Name() ;
- _OutNode->Graph()->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
+// _OutNode->Graph()->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
cdebug << ThreadNo() << " Run( '" << ServiceName() << "'" ;
for ( i = 0 ; i < (int ) ServiceInParameter().length() ; i++ ) {
cdebug << " , " << InParametersList[ i ].Name << "[kind"
ostringstream astr ;
astr << "Graph " << _OutNode->Graph()->Name() << " Node " << Name() << " is done : "
<< Automaton()->StateName( State() ) ;
- _OutNode->Graph()->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
+// _OutNode->Graph()->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
if ( Err ) {
if ( ControlState() == SUPERV::ToKillState ||
ControlState() == SUPERV::ToKillDoneState ||
#include "DataFlowExecutor_OutNode.hxx"
-#include "Graph_Impl.hxx"
-
// Implementation de la classe GraphEditor::GraphControl
extern GraphExecutor::FiniteStateMachine * theAutomaton ;
State( SUPERV::ExecutingState ) ;
};
}
- ostringstream astr ;
- astr << "Graph " << Graph()->Name() << " is running" ;
- Graph()->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
+// ostringstream astr ;
+// astr << "Graph " << Graph()->Name() << " is running" ;
+// Graph()->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
RetVal = true ;
}
else {
cdebug << Graph()->Name() << " IS DONE : " << theAutomaton->StateName( AutomatonState() ) << " EventQSize "
<< EventQSize() << endl ;
cdebug << "================================================================================" << endl ;
- ostringstream astr ;
- astr << "Graph " << Graph()->Name() << " is done : "
- << theAutomaton->StateName( AutomatonState() ) ;
- Graph()->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
+// ostringstream astr ;
+// astr << "Graph " << Graph()->Name() << " is done : "
+// << theAutomaton->StateName( AutomatonState() ) ;
+// Graph()->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
//cout << Graph()->Name() << " IS DONE : " << theAutomaton->StateName( AutomatonState() ) << " EventQSize "
// << EventQSize() << endl ;
}