From 30a052c38e2a2079bc42bbae9001e215d544d3e8 Mon Sep 17 00:00:00 2001 From: rahuel Date: Tue, 30 Aug 2005 07:57:42 +0000 Subject: [PATCH] Traces --- src/Supervision/Port_Impl.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Supervision/Port_Impl.cxx b/src/Supervision/Port_Impl.cxx index 8ca4b76..2e0c7e5 100644 --- a/src/Supervision/Port_Impl.cxx +++ b/src/Supervision/Port_Impl.cxx @@ -113,10 +113,10 @@ void Port_Impl::destroy() { bool destroyed = false ; if ( _DataFlowNode->IsOneOfInLineNodes() ) { if ( _InputPort ) { - GraphBase::InPort * anInPort = (GraphBase::InPort * ) _DataFlowPort ; - if ( anInPort->GetOutPort() ) { - anInPort->GetOutPort()->RemoveInPort( anInPort ) ; - } +// GraphBase::InPort * anInPort = (GraphBase::InPort * ) _DataFlowPort ; +// if ( anInPort->GetOutPort() ) { +// anInPort->GetOutPort()->RemoveInPort( anInPort ) ; +// } if ( _DataFlowNode->IsOneOfInLineNodes() ) { _DataFlowNode->DelInPort( _DataFlowPort->PortName() ) ; if ( _DataFlowNode->IsLoopNode() ) { @@ -125,8 +125,6 @@ void Port_Impl::destroy() { _DataFlowNode->CoupledNode()->DelOutPort( _DataFlowPort->PortName() ) ; } } - else { - } destroyed = true ; } else if ( _DataFlowNode->IsOneOfInLineNodes() && !_DataFlowNode->IsLoopNode() ) { @@ -165,6 +163,8 @@ bool Port_Impl::Input( const SUPERV::Value_ptr aValue ) { bool Port_Impl::Input( const CORBA::Any * anAny ) { beginService( "Port_Impl::Input" ); bool RetVal = false ; + MESSAGE( "Port_Impl::Input(CORBA::Any *) : " << _DataFlowNode->Name() << "( " + << _DataFlowPort->PortName() << " ) " ) ; if ( _DataFlowEditor->Graph()->GraphMacroLevel() == 0 ) { if ( _InputPort && _DataFlowEditor->IsEditing() ) { RetVal = true ; -- 2.39.2