}
if ( !anInPort->IsGate() && !anInPort->IsLoop() &&
( !anInPort->IsPortConnected() ||
- ( anInPort->IsPortConnected() && isfromcouplednode ) ) ) {
+// ( anInPort->IsPortConnected() && isfromcouplednode ) ) ) {
+//JR PAL8914 : InPorts of EndLoopNodes may not be in the Service of the Graph
+ ( anInPort->IsPortConnected() && isfromcouplednode ) ) &&
+ !aToNode->IsEndLoopNode() ) {
if ( dostore == 0 ) {
cdebug << "CreateService " << aToNode->Name() << " Input port "
<< anInPort->PortName() << " " << anInPort->Kind() << " " << anInPort->PortStatus() ;
// cdebug << " NULL" << endl ;
// }
if ( !aFromNode->IsGOTONode() ) {
- if ( !anOutPort->IsGate() && ( anOutPort->IsNotConnected() || anOutPort->IsDataConnected() ) ||
- anOutPort->IsExternConnected() ) {
+ if ( !anOutPort->IsGate() && ( anOutPort->IsNotConnected() || anOutPort->IsDataConnected() ||
+//JR PAL8914 : OutPorts of LoopNodes may not be in the Service of the Graph
+// anOutPort->IsExternConnected() ) {
+ anOutPort->IsExternConnected() ) &&
+ !aFromNode->IsLoopNode() ) {
if ( dostore == 0 ) {
// cdebug << "CreateService " << aFromNode->Name() << " Output port "
// << anOutPort->PortName() << " " << anOutPort->PortStatus() << endl ;
<< anInPort->PortStatus() << " --> AddInputData" << endl ;
}
}
- else if ( !anInPort->IsGate() && anInPort->IsNotConnected() ) {
+//JR PAL8914 : InPorts of EndLoopNodes may not be in the Service of the Graph
+// else if ( !anInPort->IsGate() && anInPort->IsNotConnected() ) {
+ else if ( !anInPort->IsGate() && anInPort->IsNotConnected() && !aToNode->IsEndLoopNode() ) {
if ( !AddLink( this , GetChangeInDataNodePort( anInPort->NodePortName() ) , aToNode , anInPort ) ) {
cdebug << "CreateService In" << j << " " << anInPort->NodeName() << "(" << anInPort->PortName() << ") "
<< anInPort->PortStatus() << " --> AddInLink ERROR" << endl ;
GraphBase::OutPort *anOutPort = aToNode->GetChangeNodeOutPort(j) ;
cdebug << "CreateService Out" << j << " " << anOutPort->NodeName() << "(" << anOutPort->PortName()
<< ") " << anOutPort->PortStatus() << " :" << endl ;
- if ( !anOutPort->IsGate() && anOutPort->IsNotConnected() && !aToNode->IsGOTONode() ) {
+//JR PAL8914 : OutPorts of LoopNodes may not be in the Service of the Graph
+// if ( !anOutPort->IsGate() && anOutPort->IsNotConnected() && !aToNode->IsGOTONode() ) {
+ if ( !anOutPort->IsGate() && anOutPort->IsNotConnected() && !aToNode->IsGOTONode() &&
+ !aToNode->IsLoopNode() ) {
GraphBase::InPort *anInPort = GetChangeOutDataNodePort( anOutPort->NodePortName() ) ;
if ( !AddLink( aToNode , anOutPort , this , anInPort ) ) {
cdebug << " --> " << Name() << "(" << anInPort->PortName()