#endif
cdebug << endl ;
#endif
+ // mkr : PAL12455 -->
+ // MacroNode : give immediately the value to the corresponding graph
+ if ( IsMacroNode() ) {
+ GraphExecutor::DataFlow * aMacroGraph = GraphMacroNode()->CoupledNode()->GraphEditor()->Executor() ;
+ cdebug << "SomeDataReadyAction MacroNode " << aMacroGraph->Name() << " --> InputOfAny "
+ << InReady << "/" << GetNodeInPortsSize() << " InPorts are Ready ( "
+ << anInPort->PortName() << " ) ===> InputOfAny" << endl ;
+// GraphMacroNode()->MacroObject()->InputOfAny( anInPort->PortName() , *anOutPort->Value() ) ;
+//JR 30.03.2005 aMacroGraph->InputOfAny( anInPort->PortName() , *anOutPort->Value() ) ;
+ aMacroGraph->InputOfAny( anInPort->PortName() , anOutPort->Value() ) ;
+ }
+ // mkr : PAL12455 <--
}
else if ( IsLoopNode() && anInPort->IsDataConnected() ) {
anInPort->PortState( SUPERV::ReadyState ) ;
theOutPort->SetValue( anAny ) ;
// delete anAny ;
}
- if ( !anInPort->IsDataStream() &&
+ if ( !anInPort->IsDataStream()
+ &&
!anInPort->IsDataConnected() ) {
- anInPort->PortState( SUPERV::WaitingState ) ;
+ anInPort->PortState( SUPERV::WaitingState ) ;
}
//JR 18.02.2005 Debug Memory leak : delete does not destroy that string ...
// D.Name = CORBA::string_dup( anInPort->GetServicesParameter().Parametername ) ;