if ( DataFlowEditor()->IsEditing() ) {
if ( Delete() ) {
_poa->deactivate_object(*_id) ;
- CORBA::release(_poa) ;
+// CORBA::release(_poa) ;
delete(_id) ;
- _thisObj->_remove_ref();
+// _thisObj->_remove_ref();
}
else {
MESSAGE("INode_Impl::destroy ERROR ") ;
PortableServer::ObjectId * id = myInPort->getId() ;
CORBA::Object_var obj = _poa->id_to_reference(*id) ;
Inobject = SUPERV::Port::_narrow(obj) ;
+//JR 02.09.2005 : set of objref is better
+ anInPort->ObjRef( Inobject ) ;
}
}
}
( DataFlowNode()->IsLoopNode() || DataFlowNode()->IsEndLoopNode() ) ) {
// || DataFlowNode()->IsEndSwitchNode() ) ) {
Outobject = OutPort( aParameterName , aParameterType ) ;
+// ==> The OutPort (and ObjRef) with the same name is created in the LoopNode
if ( DataFlowNode()->IsLoopNode() ) {
LNode_Impl * myLoopNode = (LNode_Impl * ) this ;
InEndobject = myLoopNode->Coupled()->InPort( aParameterName , aParameterType ) ;
+// ==> The In/OutPort (and ObjRef) with the same name are created in the EndLoopNode
DataFlowEditor()->AddLink( Outobject->Node()->Name() , Outobject->Name() ,
InEndobject->Node()->Name() , InEndobject->Name() ) ;
}
PortableServer::ObjectId * id = myOutPort->getId() ;
CORBA::Object_var obj = _poa->id_to_reference(*id) ;
Outobject = SUPERV::Port::_narrow(obj) ;
+//JR 02.09.2005 : set of objref is better
+ anOutPort->ObjRef( Outobject ) ;
}
}
}