X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSupervision%2FStreamGraph_Impl.cxx;h=49993051cc77fc51ac5213eb213aa9663edc568a;hb=5598117ef515f8caa886818af1533fe34d6b47b6;hp=76b19d477715cd195cae743520c6f56a2dab904f;hpb=f0808140a04c48920484ebb1864ca058d701d44f;p=modules%2Fsuperv.git diff --git a/src/Supervision/StreamGraph_Impl.cxx b/src/Supervision/StreamGraph_Impl.cxx index 76b19d4..4999305 100644 --- a/src/Supervision/StreamGraph_Impl.cxx +++ b/src/Supervision/StreamGraph_Impl.cxx @@ -87,9 +87,9 @@ StreamGraph_Impl::~StreamGraph_Impl() { void StreamGraph_Impl::destroy() { beginService( "StreamGraph_Impl::destroy" ); _poa->deactivate_object(*_id) ; - CORBA::release(_poa) ; +// CORBA::release(_poa) ; delete(_id) ; - _thisObj->_remove_ref(); +// _thisObj->_remove_ref(); endService( "StreamGraph_Impl::destroy" ); } @@ -425,9 +425,9 @@ SUPERV::ListOfStreamLinks * StreamGraph_Impl::StreamLinks( GraphBase::ComputingN return ( RetVal._retn() ) ; } -bool StreamGraph_Impl::SetStreamParams( const long Timeout , +bool StreamGraph_Impl::SetStreamParams( CORBA::Long Timeout , const SUPERV::KindOfDataStreamTrace DataStreamTrace , - const double DeltaTime ) { + CORBA::Double DeltaTime ) { bool sts = false ; if ( !IsMacro() ) { sts = DataFlowEditor()->StreamGraph()->SetStreamParams( Timeout , DataStreamTrace , DeltaTime ) ; @@ -438,17 +438,17 @@ bool StreamGraph_Impl::SetStreamParams( const long Timeout , return sts ; } -void StreamGraph_Impl::StreamParams( long & Timeout , +void StreamGraph_Impl::StreamParams( CORBA::Long & Timeout , SUPERV::KindOfDataStreamTrace & DataStreamTrace , - double & DeltaTime ) { + CORBA::Double & DeltaTime ) { if ( !IsMacro() ) { DataFlowEditor()->StreamGraph()->StreamParams( Timeout , DataStreamTrace , DeltaTime ) ; } } -long StreamGraph_Impl::SubStreamGraphsNumber() { +CORBA::Long StreamGraph_Impl::SubStreamGraphsNumber() { // beginService( "StreamGraph_Impl::StreamGraphsNumber" ); - long RetVal = 0 ; + CORBA::Long RetVal = 0 ; if ( DataFlowEditor()->IsExecutable() && !IsMacro() ) { RetVal = DataFlowEditor()->SubStreamGraphsNumber() ; } @@ -456,7 +456,7 @@ long StreamGraph_Impl::SubStreamGraphsNumber() { return RetVal ; } -SUPERV::ListOfNodes * StreamGraph_Impl::SubStreamGraphsNodes( const long aSubStreamGraphNumber ) { +SUPERV::ListOfNodes * StreamGraph_Impl::SubStreamGraphsNodes( CORBA::Long aSubStreamGraphNumber ) { beginService( "StreamGraph_Impl::SubStreamGraphsNodes" ); SUPERV::ListOfNodes_var RetVal = new SUPERV::ListOfNodes ; if ( DataFlowEditor()->IsEditing() && !IsMacro() ) { @@ -566,9 +566,9 @@ bool StreamGraph_Impl::StreamMerge(const SUPERV::StreamGraph_ptr aStreamGraph ) //cout << "Graph_Impl::StreamMerge " << aLinkFromNodeName << "(" << OutPort->Name() << ") ---> " // << aLinkToNodeName << "(" << InPort->Name() << ") RetVal" << RetVal << endl ; if ( RetVal ) { - int j ; + CORBA::Long j ; for ( j = 1 ; j <= aLink->CoordsSize() ; j++ ) { - long X , Y ; + CORBA::Long X , Y ; RetVal = aLink->Coords( j , X , Y ) ; if ( !RetVal ) break ;