if ( GraphBase::Base::_prof_debug ) {
anOutPort->StringValue( *GraphBase::Base::_fdebug ) ;
}
+#endif
+ cdebug << endl ;
+ }
+ else if ( anInPort->IsGate() &&
+ _OutNode->Graph()->GetGraphNode( anOutPort->NodeName() )->IsGOTONode() ) {
+// GateOutPort of GOTONodes are always opened
+ anInPort->State( SUPERV::ReadyState ) ;
+ InReady += 1 ;
+ CORBA::Any * anAny = new CORBA::Any() ;
+ *anAny <<= (long ) 1 ;
+ _OutNode->Graph()->GetGraphNode( anOutPort->NodeName() )->GetChangeNodeOutGate()->Value( anAny ) ;
+ cdebug << pthread_self() << "/" << ThreadNo() << " " << Name() << " "
+ << anInPort->PortName() << " Was Done from Node "
+ << anOutPort->NodeName() << "( " << anOutPort->PortName()
+ << ") GOTONode" ;
+#ifdef _DEBUG_
+ if ( GraphBase::Base::_prof_debug ) {
+ anOutPort->StringValue( *GraphBase::Base::_fdebug ) ;
+ }
#endif
cdebug << endl ;
}
int i ;
GraphBase::OutPort * aGateOutPort = NULL ;
bool OrSwitch = false ;
- cdebug << "OutParametersSet " << Name() << " nOutParams " << nOutParams << " NewState " << NewState << endl ;
+ cdebug_in << "OutParametersSet " << Name() << " nOutParams " << nOutParams << " NewState "
+ << NewState << endl ;
// cout << "OutParametersSet " << Name() << " nOutParams " << nOutParams << " NewState " << NewState << endl ;
if ( nOutParams && !IsMacroNode() ) {
GraphBase::OutPort * anOutPort ;
anOutPort->Value( OutParametersList[i].Value );
if ( anOutPort->InPortsSize() && anOutPort->ChangeInPorts( 0 )->IsGate() ) {
if ( OrSwitch && anOutPort->BoolValue() ) {
- cdebug << "GraphExecutor::InNodeThreads::OutParameters more than one switch is true WARNING"
+ cdebug << "GraphExecutor::InNodeThreads::OutParameters more than one switch is true ERROR"
<< endl ;
RetVal = false ;
}
else {
OrSwitch = OrSwitch | anOutPort->BoolValue() ;
+ cdebug << "InNodeThreads::OutParameters OrSwitch = true" << endl ;
}
}
cdebug << "OutParametersSet OrSwitch " << OrSwitch ;
}
}
}
+ cdebug_out << "OutParametersSet " << Name() << " nOutParams " << nOutParams << " NewState "
+ << NewState << " RetVal " << RetVal << endl ;
return RetVal ;
}