From 0d67f03452350643c21bf24c9da5db5008222d40 Mon Sep 17 00:00:00 2001 From: rahuel Date: Fri, 10 Jun 2005 07:48:24 +0000 Subject: [PATCH] PAL9122 --- src/GraphBase/DataFlowBase_PortsOfNode.cxx | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/src/GraphBase/DataFlowBase_PortsOfNode.cxx b/src/GraphBase/DataFlowBase_PortsOfNode.cxx index 4c4c04d..34d7676 100644 --- a/src/GraphBase/DataFlowBase_PortsOfNode.cxx +++ b/src/GraphBase/DataFlowBase_PortsOfNode.cxx @@ -478,6 +478,9 @@ void GraphBase::PortsOfNode::DelInPort( const char * InputParameterName ) { cdebug << "DefPortsOfNode::DelInPort : _NodeInPorts[" << index << "] " << _NodeInPorts[ index ]->PortName() << " " << _NodeInPorts[ index ]->NodeName() << endl ; +//PAL9122 +//JR Debug 08.06.2005 : RemoveOutPort was missing + _NodeInPorts[ index ]->RemoveOutPort() ; if ( _NodeInPorts[ index ]->IsDataStream() ) { DecrDataStreamInPorts() ; } @@ -544,7 +547,8 @@ const GraphBase::OutPort *GraphBase::PortsOfNode::GetOutPort( const char *name) } GraphBase::InPort *GraphBase::PortsOfNode::GetChangeInPort( const char * name) { -// cdebug_in << "GraphBase::PortsOfNode::GetChangeInPort " << name << endl; +// cdebug_in << "GraphBase::PortsOfNode::GetChangeInPort Service " << ServiceName() +// << " of OutPort " << name << endl; GraphBase::InPort * pP = NULL; if ( !_MapOfNodeInPorts.empty() ) { @@ -562,9 +566,10 @@ GraphBase::InPort *GraphBase::PortsOfNode::GetChangeInPort( const char * name) { pP = _NodeInPorts[ index-1 ] ; } else { - cdebug << "GraphBase::PortsOfNode::GetChangeInPort _MapOfNodeInPorts[ " - << name << " ] : " << index << " NOT FOUND. Known ports :" << endl ; -#if 1 + cdebug << "GraphBase::PortsOfNode::GetChangeInPort Service " << ServiceName() + << " _MapOfNodeInPorts[ " << name << " ] : " << index << " NOT FOUND. Known ports :" + << endl ; +#if 0 map< string , int >::iterator aMapOfNodeInPortsIterator ; int i = 0 ; for ( aMapOfNodeInPortsIterator = _MapOfNodeInPorts.begin() ; @@ -600,7 +605,7 @@ GraphBase::OutPort *GraphBase::PortsOfNode::GetChangeOutPort( const char * name else { cdebug << "GraphBase::PortsOfNode::GetChangeOutPort _MapOfNodeOutPorts[ " << name << " ] : " << index << " NOT FOUND. Known ports :" << endl ; -#if 1 +#if 0 map< string , int >::iterator aMapOfNodeOutPortsIterator ; int i = 0 ; for ( aMapOfNodeOutPortsIterator = _MapOfNodeOutPorts.begin() ; -- 2.39.2