#include "DataFlowExecutor_OutNode.hxx"
+#include "Graph_Impl.hxx"
+
//static char *containerName = "FactoryServer" ;
int GraphExecutor::InNode::SendEvent( const GraphExecutor::NodeEvent anEvent ) {
}
}
else if ( CORBA::is_nil( Component() ) ) {
+ ostringstream astr ;
+ astr << "Graph " << _OutNode->Name() << " Node " << Name()
+ << " : load of component " << ComponentName() << " in container "
+ << Computer() ;
+ _OutNode->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
Err = !_OutNode->StartComponent( ThreadNo() , Computer() ,
my_strdup( ComponentName() ) ,
myContainer , myObjComponent ) ;
}
else {
if ( !Err ) {
+ ostringstream astr ;
+ astr << "Graph " << _OutNode->Name() << " Run of Node " << Name() ;
+ _OutNode->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"
// sleep( 1 ) ;
// }
+ ostringstream astr ;
+ astr << "Graph " << _OutNode->Name() << " Node " << Name() << " is done : "
+ << Automaton()->StateName( State() ) ;
+ _OutNode->ObjImpl()->sendMessage( NOTIF_STEP, astr.str().c_str() ) ;
if ( Err ) {
if ( ControlState() == SUPERV::ToKillState ||
ControlState() == SUPERV::ToKillDoneState ||