]> SALOME platform Git repositories - modules/superv.git/commitdiff
Salome HOME
Porting on Mandriva 64 BR_Mandriva_2006_64
authorapo <apo@opencascade.com>
Thu, 6 Apr 2006 10:48:46 +0000 (10:48 +0000)
committerapo <apo@opencascade.com>
Thu, 6 Apr 2006 10:48:46 +0000 (10:48 +0000)
23 files changed:
adm_local/unix/make_commence.in
src/GraphBase/DataFlowBase_ComputingNode.cxx
src/GraphBase/DataFlowBase_Graph.cxx
src/GraphBase/DataFlowBase_Port.cxx
src/GraphBase/DataFlowBase_Port.hxx
src/GraphBase/DataFlowBase_StreamGraph.cxx
src/GraphBase/DataFlowBase_StreamGraph.hxx
src/GraphEditor/DataFlowEditor_DataFlow.hxx
src/GraphEditor/DataFlowEditor_DataFlow.lxx
src/GraphEditor/DataFlowEditor_OutNode.cxx
src/GraphEditor/DataFlowEditor_OutNode.hxx
src/SUPERVGUI/SUPERVGUI_CanvasLink.cxx
src/SUPERVGUI/SUPERVGUI_Main.cxx
src/Supervision/CNode_Impl.cxx
src/Supervision/CNode_Impl.hxx
src/Supervision/Graph_Impl.cxx
src/Supervision/Graph_Impl.hxx
src/Supervision/Link_Impl.cxx
src/Supervision/Link_Impl.hxx
src/Supervision/StreamGraph_Impl.cxx
src/Supervision/StreamGraph_Impl.hxx
src/Supervision/StreamPort_Impl.cxx
src/Supervision/StreamPort_Impl.hxx

index a52498cc84cbf7bd3c1197162c63379ea067ae6a..c55ba15d0e9f3521bd781033a575e3e84f201d2e 100644 (file)
@@ -254,17 +254,29 @@ $(top_srcdir)/configure.in: $(top_srcdir)/configure.in.base
 
 
 ACLOCAL_SRC = \
-ac_cxx_bool.m4                    check_corba.m4                       \
-ac_cxx_depend_flag.m4             check_hdf5.m4      enable_pthreads.m4        \
-ac_cxx_mutable.m4                 check_mico.m4      libtool.m4                \
-ac_cxx_namespaces.m4              check_omniorb.m4   pyembed.m4                \
-ac_cxx_partial_specialization.m4  python.m4                            \
-ac_cxx_typename.m4                check_pthreads.m4  check_cas.m4      \
-ac_cc_warnings.m4                 check_swig.m4 
+    ac_cxx_bool.m4 \
+    check_corba.m4 \
+    ac_cxx_depend_flag.m4 \
+    check_hdf5.m4 \
+    enable_pthreads.m4 \
+    ac_cxx_mutable.m4 \
+    check_mico.m4 \
+    ac_cxx_namespaces.m4 \
+    check_omniorb.m4 \
+    pyembed.m4 \
+    ac_cxx_partial_specialization.m4 \
+    python.m4 \
+    ac_cxx_typename.m4 \
+    check_pthreads.m4  check_cas.m4 \
+    ac_cc_warnings.m4 \
+    check_swig.m4 
 
 ACLOCAL_GUI = \
-check_vtk.m4                     check_opengl.m4    check_qt.m4       \
-check_GUI.m4                      check_corba_in_GUI.m4 
+    check_vtk.m4 \
+    check_opengl.m4 \
+    check_qt.m4 \
+    check_GUI.m4 \
+    check_corba_in_GUI.m4 
 
 $(top_srcdir)/aclocal.m4: $(ACLOCAL_SRC:%=@KERNEL_ROOT_DIR@/salome_adm/unix/config_files/%) \
                           $(ACLOCAL_GUI:%=@GUI_ROOT_DIR@/adm_local/unix/config_files/%)
index d8c606e98892a862e8933e9bec0fffd8acdb9e38..cafe8512556b4e6437229d4ce2699ddf9cd5b304 100644 (file)
@@ -375,9 +375,9 @@ GraphBase::SNode * GraphBase::ComputingNode::GetInfo() {
   Info->theName = Name() ;
   Info->theKind = Kind() ;
   if ( IsDataStreamNode() ) {
-    long Timeout ;
+    CORBA::Long Timeout ;
     SUPERV::KindOfDataStreamTrace DataStreamTrace ;
-    double DeltaTime ;
+    CORBA::Double DeltaTime ;
     ((GraphBase::StreamGraph * ) this)->StreamParams( Timeout , DataStreamTrace , DeltaTime ) ;
     Info->theTimeout = Timeout ;
     Info->theDataStreamTrace = DataStreamTrace ;
@@ -1167,9 +1167,9 @@ bool GraphBase::ComputingNode::SaveXML( QDomDocument & Graph , QDomElement & inf
   kind.appendChild( aField ) ;
 
   if ( IsDataStreamNode() && HasDataStream() != 0 ) {
-    long Timeout ;
+    CORBA::Long Timeout ;
     SUPERV::KindOfDataStreamTrace DataStreamTrace ;
-    double DeltaTime ;
+    CORBA::Double DeltaTime ;
     ((GraphBase::StreamGraph * ) this)->StreamParams( Timeout , DataStreamTrace , DeltaTime ) ;
 
     QDomElement timeout = Graph.createElement("streamgraph-timeout") ;
@@ -1536,9 +1536,9 @@ bool GraphBase::ComputingNode::SavePY( ostream &f , const char * aGraphName ,
   }
   else if ( IsDataStreamNode() && HasDataStream() != 0 ) {
     f << "    " << Name() << " = StreamGraph( '" << Name() << "' )" << endl ;
-    long Timeout ;
+    CORBA::Long Timeout ;
     SUPERV::KindOfDataStreamTrace DataStreamTrace ;
-    double DeltaTime ;
+    CORBA::Double DeltaTime ;
     ((GraphBase::StreamGraph * ) this)->StreamParams( Timeout , DataStreamTrace , DeltaTime ) ;
     f << "    " << aGraphName << ".SetStreamParams( " << Timeout << " , SUPERV." << DataStreamTrace
       << " , " << DeltaTime << " )" << endl ;
index 7b63c99cca6269f32c37453441e3abf52a48f512..e0963cfe9da26b37ecc4f8151328de029904fd15 100644 (file)
@@ -100,9 +100,9 @@ GraphBase::SNode * GraphBase::Graph::GetInfo() const {
   Info->theName = Name() ;
   Info->theKind = Kind() ;
   if ( IsDataStreamNode() ) {
-    long Timeout ;
+    CORBA::Long Timeout ;
     SUPERV::KindOfDataStreamTrace DataStreamTrace ;
-    double DeltaTime ;
+    CORBA::Double DeltaTime ;
     ((GraphBase::StreamGraph * ) this)->StreamParams( Timeout , DataStreamTrace , DeltaTime ) ;
     Info->theTimeout = Timeout ;
     Info->theDataStreamTrace = DataStreamTrace ;
index 7a6e685570776fbee2853365dcdccb638eaebec5..9dfed9abdd1f866bb649cdc5dac882a023897eab 100644 (file)
@@ -147,7 +147,7 @@ const GraphBase::ListOfCoords * GraphBase::Port::Coords() const {
   return _list_Coords ;
 }
 
-bool GraphBase::Port::GetCoord( const int index , long &x , long &y ) const {
+bool GraphBase::Port::GetCoord( const int index , CORBA::Long &x , CORBA::Long &y ) const {
   if ( IsEndSwitch() ) {
     return false ;
   }
index 60774681170239b63aad87b41492f78ba457947a..cfc0c5d216f992eb80fbb459a1e10c6ef29feb94 100644 (file)
@@ -146,7 +146,7 @@ namespace GraphBase {
       int GetCoord() const ;
       bool GetCoord( int *x , int *y ) const ;
       const GraphBase::ListOfCoords * Coords() const ;
-      bool GetCoord( const int index , long &x , long &y ) const ;
+      bool GetCoord( const int index , CORBA::Long &x , CORBA::Long &y ) const ;
 
   } ;
 
index f142364cde270a1da5f06ddcbbb25b35e7a3fa9e..176852acbae048a7c0a744199c9c471846b70c0f 100644 (file)
@@ -84,9 +84,9 @@ GraphBase::StreamGraph::~StreamGraph() {
   cdebug << "GraphBase::StreamGraph::~StreamGraph" << endl ;
 }
 
-bool GraphBase::StreamGraph::SetStreamParams( const long Timeout ,
+bool GraphBase::StreamGraph::SetStreamParams( CORBA::Long Timeout ,
                                               const SUPERV::KindOfDataStreamTrace DataStreamTrace ,
-                                              const double  DeltaTime ) {
+                                              CORBA::Double  DeltaTime ) {
   _Timeout = Timeout ;
   _DataStreamTrace = DataStreamTrace ;
   _DeltaTime = DeltaTime ;
@@ -95,9 +95,9 @@ bool GraphBase::StreamGraph::SetStreamParams( const long Timeout ,
   return true ;
 }
 
-void GraphBase::StreamGraph::StreamParams( long & Timeout ,
+void GraphBase::StreamGraph::StreamParams( CORBA::Long & Timeout ,
                                            SUPERV::KindOfDataStreamTrace & DataStreamTrace ,
-                                           double & DeltaTime ) const {
+                                           CORBA::Double & DeltaTime ) const {
   Timeout = _Timeout ;
   DataStreamTrace = _DataStreamTrace ;
   DeltaTime = _DeltaTime ;
index c33133a1ae01aa3ecdc689c04335eaa12504db68..6f6378d2750dd9b2ce0459abc9c5cdd21e971665 100644 (file)
@@ -60,12 +60,12 @@ namespace GraphBase {
 
       ~StreamGraph() ;
 
-      bool SetStreamParams( const long Timeout ,
+      bool SetStreamParams( CORBA::Long Timeout ,
                             const SUPERV::KindOfDataStreamTrace DataStreamTrace ,
-                            const double  DeltaTime ) ;
-      void StreamParams( long & Timeout ,
+                            CORBA::Double  DeltaTime ) ;
+      void StreamParams( CORBA::Long & Timeout ,
                          SUPERV::KindOfDataStreamTrace & DataStreamTrace ,
-                         double & DeltaTime ) const ;
+                         CORBA::Double & DeltaTime ) const ;
 
       bool CreateStreamTopology( const char * aDirectory ) ;
 
index bbe23124db33fb730ca9d17da7afbfe8939da2c6..4699d22737a8f365d324e33d4292fa24973f7db5 100644 (file)
@@ -199,7 +199,7 @@ namespace GraphEditor {
                          const char * FromServiceParameterName ,
                          const char * ToNodeName ,
                          const char * ToServiceParameterName ,
-                         const int index , long &X , long &Y ) ;
+                         const int index , CORBA::Long &X , CORBA::Long &Y ) ;
 
       bool AddInputData( const char * ToNodeName ,
                          const char * ToParameterName ,
index a48e23c8efd8d784e8ef9b1fc1616f7d5960e429..0dde21988d143239f34f18def77ca38e99fb7d6c 100644 (file)
@@ -378,7 +378,7 @@ inline bool GraphEditor::DataFlow::GetLinkCoord(
                          const char* FromServiceParameterName ,
                          const char* ToNodeName ,
                          const char* ToServiceParameterName ,
-                         const int index , long &X , long &Y ) {
+                         const int index , CORBA::Long &X , CORBA::Long &Y ) {
   return GraphEditor::OutNode::GetLinkCoord( FromNodeName ,
                                              FromServiceParameterName ,
                                              ToNodeName ,
index 52d6601074ac71b7ad3b5b52e0a286e7d4f42d1a..6bc6b016ead6c6bcc8b14ea2410751bdb956629b 100644 (file)
@@ -925,7 +925,7 @@ bool GraphEditor::OutNode::GetLinkCoord( const char* FromNodeName ,
                                          const char* FromServiceParameterName ,
                                          const char* ToNodeName ,
                                          const char* ToServiceParameterName ,
-                                         const int index , long &X , long &Y ) {
+                                         const int index , CORBA::Long &X , CORBA::Long &Y ) {
   GraphBase::InPort * anInPort = Graph()->GetChangeInPort( ToNodeName ,
                                                            ToServiceParameterName ) ;
 //  cdebug << "GraphEditor::OutNode::GetLinkCoord " << ToNodeName << "( " << ToServiceParameterName
index 4369702ffa95da4897426fbc11790512a87c9fa4..f5a30c65526554168590022c40f0c51d2bda1826 100644 (file)
@@ -276,7 +276,7 @@ namespace GraphEditor {
                          const char* FromServiceParameterName ,
                          const char* ToNodeName ,
                          const char* ToServiceParameterName ,
-                         const int index , long &X , long &Y ) ;
+                         const int index , CORBA::Long &X , CORBA::Long &Y ) ;
 
 
 //      bool IsValid(bool kLoopSwitch = true ) {
index a58cbb5458bbad5f78a65a9917650c3045305c0d..c2fe71783960d14b7c4e5690299ddfc347a4f73d 100644 (file)
@@ -73,8 +73,8 @@ void SUPERVGUI_CanvasLink::createPrs()
       addPoint(myInputPort->getConnectionPoint());
     }
     if (!myMain->getCanvas()->isControlView()) {
-      long x, y;
-      for (int i = 0; i < myLink->CoordsSize(); i++) {
+      CORBA::Long x, y;
+      for (CORBA::Long i = 0; i < myLink->CoordsSize(); i++) {
        myLink->Coords(i+1, x, y);
        addPoint(QPoint(x, y), i+1);
       }
index ffec2139a0e304a3abaa707d6e12809278c16146..4e4079ba9c29245c1e125bcf0d26b5bc4750192a 100644 (file)
@@ -1750,8 +1750,8 @@ SUPERVGUI_DSGraphParameters::~SUPERVGUI_DSGraphParameters() {
   Sets data function
 */
 void SUPERVGUI_DSGraphParameters::setData() {
-  double aDeltaTime;
-  long aTimeOut;
+  CORBA::Double aDeltaTime;
+  CORBA::Long aTimeOut;
   SUPERV::KindOfDataStreamTrace aDataStreamTrace;
 
 //  myGraph->StreamParams(aTimeOut, aDataStreamTrace, aDeltaTime);
index 31a2dbe4ec277f88eebb85ce8990a906f90f66e7..ba0bbb89ef4081612bce464d74a6efc4774a055b 100644 (file)
@@ -373,8 +373,8 @@ bool CNode_Impl::IsHeadGraph() {
   endService( "CNode_Impl::IsHeadGraph" );
   return RetVal ;
 }
-long CNode_Impl::GraphLevel() {
-  long RetVal = 0 ;
+CORBA::Long CNode_Impl::GraphLevel() {
+  CORBA::Long RetVal = 0 ;
   beginService( "CNode_Impl::GraphLevel" );
   RetVal = DataFlowEditor()->Graph()->GraphMacroLevel() ;
   endService( "CNode_Impl::GraphLevel" );
@@ -569,7 +569,7 @@ bool CNode_Impl::SetComment( const char * aDataFlowComment ) {
   return RetVal ;
 }
 
-void CNode_Impl::Coords(long X , long Y ) {
+void CNode_Impl::Coords(CORBA::Long X , CORBA::Long Y ) {
 //  beginService( "CNode_Impl::Coords" );
   if ( DataFlowEditor()->IsEditing() ) {
     if ( _IsNode ) {
@@ -581,9 +581,9 @@ void CNode_Impl::Coords(long X , long Y ) {
   }
 //  endService( "CNode_Impl::Coords" );
 }
-long CNode_Impl::X() {
+CORBA::Long CNode_Impl::X() {
 //  beginService( "CNode_Impl::X" );
-  long RetVal ;
+  CORBA::Long RetVal ;
   if ( _IsNode ) {
     RetVal = DataFlowNode()->XCoordinate() ;
   }
@@ -593,9 +593,9 @@ long CNode_Impl::X() {
 //  endService( "CNode_Impl::X" );
   return RetVal ;
 }
-long CNode_Impl::Y() {
+CORBA::Long CNode_Impl::Y() {
 //  beginService( "CNode_Impl::Y" );
-  long RetVal ;
+  CORBA::Long RetVal ;
   if ( _IsNode ) {
     RetVal = DataFlowNode()->YCoordinate() ;
   }
@@ -1488,9 +1488,9 @@ SUPERV::ListOfStreamLinks * CNode_Impl::StreamLinks() {
   return ( RetVal._retn() ) ;
 }
 
-long CNode_Impl::SubGraph() {
+CORBA::Long CNode_Impl::SubGraph() {
 //  beginService( "CNode_Impl::SubGraph" );
-  long RetVal = 0 ;
+  CORBA::Long RetVal = 0 ;
   if ( _IsNode ) {
     RetVal = DataFlowNode()->SubGraph() ;
   }
@@ -1498,9 +1498,9 @@ long CNode_Impl::SubGraph() {
   return RetVal ;
 }
 
-long CNode_Impl::SubStreamGraph() {
+CORBA::Long CNode_Impl::SubStreamGraph() {
 //  beginService( "CNode_Impl::SubStreamGraph" );
-  long RetVal = 0 ;
+  CORBA::Long RetVal = 0 ;
   if ( _IsNode ) {
     RetVal = DataFlowNode()->SubStreamGraph() ;
   }
@@ -1540,9 +1540,9 @@ SUPERV::GraphState CNode_Impl::State() {
 //  endService( "CNode_Impl::State" );
   return RetVal ;
 }
-long CNode_Impl::Thread() {
+CORBA::Long CNode_Impl::Thread() {
 //  beginService( "CNode_Impl::Thread" );
-  long RetVal = 0 ;
+  CORBA::Long RetVal = 0 ;
   GraphExecutor::DataFlow * aDataFlowExecutor = DataFlowEditor()->Executor() ;
   if ( aDataFlowExecutor ) {
     if ( _IsNode ) {
@@ -1864,8 +1864,8 @@ bool CNode_Impl::Resume() {
   return RetVal ;
 }
 
-long CNode_Impl::CpuUsed() {
-  long RetVal = 0 ;
+CORBA::Long CNode_Impl::CpuUsed() {
+  CORBA::Long RetVal = 0 ;
   GraphExecutor::DataFlow * aDataFlowExecutor = DataFlowEditor()->Executor() ;
   if ( aDataFlowExecutor ) {
     if ( _IsNode ) {
index 19ca441cf2da737c411210d74c5002ffcb4989b3..23c53d45082b83652395519c521184dfd2de74ce 100644 (file)
@@ -158,9 +158,9 @@ class CNode_Impl : public POA_SUPERV::CNode ,
             }
           } ;
 
-    virtual void Coords( const long X , const long Y ) ;
-    virtual long X() ;
-    virtual long Y() ;
+    virtual void Coords( CORBA::Long X , CORBA::Long Y ) ;
+    virtual CORBA::Long X() ;
+    virtual CORBA::Long Y() ;
 
     virtual SUPERV::Port_ptr Port( const char * aParameterName ) ;
 
@@ -202,7 +202,7 @@ class CNode_Impl : public POA_SUPERV::CNode ,
     virtual bool IsFlowMacro() ;
     virtual bool IsStreamMacro() ;
     virtual bool IsHeadGraph() ;
-    virtual long GraphLevel() ;
+    virtual CORBA::Long GraphLevel() ;
     virtual bool IsComputing() ;
     virtual bool IsFactory() ;
     virtual bool IsInLine() ;
@@ -212,8 +212,8 @@ class CNode_Impl : public POA_SUPERV::CNode ,
     virtual bool IsSwitch() ;
     virtual bool IsEndSwitch() ;
 
-    virtual long SubGraph() ;
-    virtual long SubStreamGraph() ;
+    virtual CORBA::Long SubGraph() ;
+    virtual CORBA::Long SubStreamGraph() ;
 
   // mkr : PAL8060 : this method is not used
   //virtual bool IsLinked(const char * ToServiceParameterName ) ;
@@ -232,7 +232,7 @@ class CNode_Impl : public POA_SUPERV::CNode ,
     virtual SUPERV::ControlState Control() ;
     virtual void ControlClear() ;
 
-    virtual long Thread() ;
+    virtual CORBA::Long Thread() ;
 
     GraphExecutor::AutomatonState AutoState() ;
 
@@ -251,9 +251,9 @@ class CNode_Impl : public POA_SUPERV::CNode ,
     virtual bool SuspendDone() ;
     virtual bool Resume() ;
 
-    virtual long CpuUsed() ;
+    virtual CORBA::Long CpuUsed() ;
 
-    virtual bool IsExecuting();
+    virtual CORBA::Boolean IsExecuting();
 
 } ;
 
index a00e43fd791c8bbf36ec48cacd66db7348d0173b..5eb33e4115de4dc2c3dd4e85649985eaa880fba5 100644 (file)
@@ -1743,16 +1743,16 @@ bool Graph_Impl::IsReadOnly() {
   return RetVal ;
 }
 
-long Graph_Impl::LevelMax() {
+CORBA::Long Graph_Impl::LevelMax() {
 //  beginService( "Graph_Impl::LevelMax" );
-  long RetVal = 0 ;
+  CORBA::Long RetVal = 0 ;
   if ( !IsMacro() ) {
     RetVal = DataFlowEditor()->LevelMax() ;
   }
 //  endService( "Graph_Impl::LevelMax" );
   return RetVal ;
 }
-SUPERV::ListOfNodes * Graph_Impl::LevelNodes(long aLevel ) {
+SUPERV::ListOfNodes * Graph_Impl::LevelNodes(CORBA::Long aLevel ) {
 //  beginService( "Graph_Impl::LevelNodes" );
   SUPERV::ListOfNodes_var RetVal = new SUPERV::ListOfNodes;
   if ( !IsMacro() ) {
@@ -1778,27 +1778,27 @@ SUPERV::ListOfNodes * Graph_Impl::LevelNodes(long aLevel ) {
 //  endService( "Graph_Impl::LevelNodes" );
   return ( RetVal._retn() ) ;
 }
-long Graph_Impl::ThreadsMax() {
+CORBA::Long Graph_Impl::ThreadsMax() {
 //  beginService( "Graph_Impl::ThreadsMax" );
-  long RetVal = 0 ;
+  CORBA::Long RetVal = 0 ;
   if ( !IsMacro() ) {
     RetVal =  DataFlowEditor()->ThreadsMax() ;
   }
 //  endService( "Graph_Impl::ThreadsMax" );
   return RetVal ;
 }
-long Graph_Impl::Threads() {
+CORBA::Long Graph_Impl::Threads() {
 //  beginService( "Node_Impl::Threads" );
-  long RetVal = false ;
+  CORBA::Long RetVal = false ;
   if ( !IsMacro() ) {
     RetVal = DataFlowExecutor()->Threads() ;
   }
 //  endService( "Node_Impl::Threads" );
   return RetVal ;
 }
-long Graph_Impl::SuspendedThreads() {
+CORBA::Long Graph_Impl::SuspendedThreads() {
 //  beginService( "Node_Impl::SuspendedThreads" );
-  long RetVal = false ;
+  CORBA::Long RetVal = false ;
   if ( !IsMacro() ) {
     RetVal = DataFlowExecutor()->SuspendedThreads() ;
   }
@@ -2021,9 +2021,9 @@ bool Graph_Impl::EventW( SUPERV::CNode_out aNode ,
   return RetVal ;
 }
 
-long Graph_Impl::EventQSize() {
+CORBA::Long Graph_Impl::EventQSize() {
 //  beginService( "Graph_Impl::EventQSize" );
-  long QSize = -1 ;
+  CORBA::Long QSize = -1 ;
   if ( pthread_mutex_lock( &_MutexExecutorWait ) ) {
     perror("pthread_mutex_lock _MutexExecutorWait") ;
     exit( 0 ) ;
@@ -2039,13 +2039,13 @@ long Graph_Impl::EventQSize() {
   return QSize ;
 }
 
-long Graph_Impl::LastLevelDone() {
+CORBA::Long Graph_Impl::LastLevelDone() {
 //  beginService( "Graph_Impl::LastLevelDone" );
   if ( pthread_mutex_lock( &_MutexExecutorWait ) ) {
     perror("pthread_mutex_lock _MutexExecutorWait") ;
     exit( 0 ) ;
   }
-  long RetVal = 0 ;
+  CORBA::Long RetVal = 0 ;
   if ( DataFlowExecutor() && !IsMacro() ) {
     RetVal = DataFlowExecutor()->LastLevelDone() ;
   }
@@ -2057,9 +2057,9 @@ long Graph_Impl::LastLevelDone() {
   return RetVal ;
 }
 
-long Graph_Impl::SubGraphsNumber() {
+CORBA::Long Graph_Impl::SubGraphsNumber() {
 //  beginService( "Graph_Impl::SubGraphsNumber" );
-  long RetVal = 0 ;
+  CORBA::Long RetVal = 0 ;
   if ( DataFlowEditor()->IsExecutable() && !IsMacro() ) {
     RetVal = DataFlowEditor()->SubGraphsNumber() ;
   }
@@ -2067,7 +2067,7 @@ long Graph_Impl::SubGraphsNumber() {
   return RetVal ;
 }
 
-SUPERV::ListOfNodes * Graph_Impl::SubGraphsNodes( const long aSubGraphNumber ) {
+SUPERV::ListOfNodes * Graph_Impl::SubGraphsNodes( CORBA::Long aSubGraphNumber ) {
   beginService( "Graph_Impl::SubGraphsNodes" );
   SUPERV::ListOfNodes_var RetVal = new SUPERV::ListOfNodes ;
   if ( DataFlowEditor()->IsEditing() && !IsMacro() ) {
@@ -2459,9 +2459,9 @@ bool Graph_Impl::Merge(const SUPERV::Graph_ptr aGraph , map< string , int > & aM
                                            DataFlowEditor()->Graph()->GetGraphNode( aMapOfNodes[ aLinkToNodeName->c_str() ] )->Name() ,
                                            InPort->Name() ) ;
         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 ;
index b8515c7dc18ab6a9ee4fa34c3d35b7892e512918..e8060f0e1a4aee7d40e1b5bf021e36f053532ac8 100644 (file)
@@ -176,21 +176,21 @@ class Graph_Impl : public POA_SUPERV::Graph ,
     virtual bool IsExecutable() ;
 
     virtual bool IsEditing() ;
-    virtual bool IsExecuting() ;
+    virtual CORBA::Boolean IsExecuting() ;
 
     virtual bool IsReadOnly() ;
 
-    virtual long LevelMax() ;
-    virtual SUPERV::ListOfNodes * LevelNodes(long aLevel ) ;
-    virtual long ThreadsMax() ;
-    virtual long Threads() ;
-    virtual long SuspendedThreads() ;
+    virtual CORBA::Long LevelMax() ;
+    virtual SUPERV::ListOfNodes * LevelNodes(CORBA::Long aLevel ) ;
+    virtual CORBA::Long ThreadsMax() ;
+    virtual CORBA::Long Threads() ;
+    virtual CORBA::Long SuspendedThreads() ;
 
     virtual bool Run() ;   // called on "Execute Graph" command
     virtual bool Start() ; // called on "Execute Graph Step-by-Step" command
  
     virtual bool Begin() ;
-    virtual long LastLevelDone() ;
+    virtual CORBA::Long LastLevelDone() ;
 
     virtual bool EventNoW( SUPERV::CNode_out aNode ,
                            SUPERV::GraphEvent & anEvent ,
@@ -201,10 +201,10 @@ class Graph_Impl : public POA_SUPERV::Graph ,
     virtual bool EventW( SUPERV::CNode_out aNode ,
                          SUPERV::GraphEvent & anEvent ,
                          SUPERV::GraphState & aState ) ;
-    virtual long EventQSize() ;
+    virtual CORBA::Long EventQSize() ;
 
-    virtual long SubGraphsNumber() ;
-    virtual SUPERV::ListOfNodes * SubGraphsNodes( const long aSubGraphNumber ) ;
+    virtual CORBA::Long SubGraphsNumber() ;
+    virtual SUPERV::ListOfNodes * SubGraphsNodes( CORBA::Long aSubGraphNumber ) ;
 
     virtual bool Merge(const SUPERV::Graph_ptr aGraph ) ;
     virtual bool Merge(const SUPERV::Graph_ptr aGraph , map< string , int > & aMapOfNodes ) ;
index cf360251561d752133aeabbea2750c3de468a804..ed09d8e7653296ce4646785f8674598e02574986 100644 (file)
@@ -217,18 +217,18 @@ GraphBase::SLink * Link_Impl::Info() {
   return RetVal ;
 }
 
-long Link_Impl::CoordsSize() {
+CORBA::Long Link_Impl::CoordsSize() {
 //  beginService( "Link_Impl::CoordsSize" ) ;
-  long RetVal = _DataFlowEditor->GetLinkCoordSize( _DataFlowOutNode->Name() ,
+  CORBA::Long RetVal = _DataFlowEditor->GetLinkCoordSize( _DataFlowOutNode->Name() ,
                                                    _OutputParameterName ,
                                                    _DataFlowNode->Name() ,
                                                    _InputParameterName ) ;
 //  endService( "Link_Impl::CoordsSize" );
   return RetVal ;
 }
-bool Link_Impl::AddCoord( const long index ,
-                          const long X ,
-                          const long Y ) {
+bool Link_Impl::AddCoord( CORBA::Long index ,
+                          CORBA::Long X ,
+                          CORBA::Long Y ) {
 //  beginService( "Link_Impl::AddCoord" ) ;
   bool RetVal = _DataFlowEditor->AddLinkCoord( _DataFlowOutNode->Name() ,
                                                _OutputParameterName ,
@@ -238,9 +238,9 @@ bool Link_Impl::AddCoord( const long index ,
 //  endService( "Link_Impl::AddCoord" );
   return RetVal ;
 }
-bool Link_Impl::ChangeCoord( const long index ,
-                             const long X ,
-                             const long Y ) {
+bool Link_Impl::ChangeCoord( CORBA::Long index ,
+                             CORBA::Long X ,
+                             CORBA::Long Y ) {
 //  beginService( "Link_Impl::ChangeCoord" ) ;
   bool RetVal = _DataFlowEditor->ChangeLinkCoord( _DataFlowOutNode->Name() ,
                                                   _OutputParameterName ,
@@ -250,7 +250,7 @@ bool Link_Impl::ChangeCoord( const long index ,
 //  endService( "Link_Impl::ChangeCoord" );
   return RetVal ;
 }
-bool Link_Impl::RemoveCoord( const long index ) {
+bool Link_Impl::RemoveCoord( CORBA::Long index ) {
 //  beginService( "Link_Impl::RemoveCoord" ) ;
   bool RetVal = _DataFlowEditor->RemoveLinkCoord( _DataFlowOutNode->Name() ,
                                                   _OutputParameterName ,
@@ -260,7 +260,7 @@ bool Link_Impl::RemoveCoord( const long index ) {
 //  endService( "Link_Impl::RemoveCoord" );
   return RetVal ;
 }
-bool Link_Impl::Coords( const long index , long & X , long & Y ) {
+bool Link_Impl::Coords( CORBA::Long index , CORBA::Long & X , CORBA::Long & Y ) {
 //  beginService( "Link_Impl::Coords" ) ;
   bool RetVal = _DataFlowEditor->GetLinkCoord( _DataFlowOutNode->Name() ,
                                                _OutputParameterName ,
index 059cb6b6edf3085dc73f3f6c6c809a45553d1f46..1f58e3a377e554b5d575c6b7064d8d1dec4801d9 100644 (file)
@@ -98,15 +98,15 @@ class Link_Impl : public POA_SUPERV::Link ,
 
     virtual GraphBase::SLink * Info() ;
 
-    virtual long CoordsSize() ;
-    virtual bool AddCoord( const long index ,
-                           const long X ,
-                           const long Y ) ;
-    virtual bool ChangeCoord( const long index ,
-                              const long X ,
-                              const long Y ) ;
-    virtual bool RemoveCoord( const long index ) ;
-    virtual bool Coords( const long index , long & X , long & Y ) ;
+    virtual CORBA::Long CoordsSize() ;
+    virtual bool AddCoord( CORBA::Long index ,
+                           CORBA::Long X ,
+                           CORBA::Long Y ) ;
+    virtual bool ChangeCoord( CORBA::Long index ,
+                              CORBA::Long X ,
+                              CORBA::Long Y ) ;
+    virtual bool RemoveCoord( CORBA::Long index ) ;
+    virtual bool Coords( CORBA::Long index , CORBA::Long & X , CORBA::Long & Y ) ;
 
     virtual bool IsValid(); // returns true if inPort() and outPort() are type-compatible
     
index d123cf02f46d2a6630fd7ac332b5c8a4fda80a10..49993051cc77fc51ac5213eb213aa9663edc568a 100644 (file)
@@ -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 ;
index 58bca48818789c7aca0c19a9e86d0f2bca29a6ce..474a4e34e64f571d5f346b4cc91de1839ddb5647 100644 (file)
@@ -80,15 +80,15 @@ class StreamGraph_Impl : public POA_SUPERV::StreamGraph ,
     virtual SUPERV::ListOfStreamLinks * StreamLinks( GraphBase::ComputingNode * aNode ,
                                                      const char * anInputParam ) ;
 
-    virtual bool SetStreamParams( const long Timeout ,
+    virtual bool SetStreamParams( CORBA::Long Timeout ,
                                   const SUPERV::KindOfDataStreamTrace DataStreamTrace ,
-                                  const double  DeltaTime ) ;
-    virtual void StreamParams( long & Timeout ,
+                                  CORBA::Double  DeltaTime ) ;
+    virtual void StreamParams( CORBA::Long & Timeout ,
                                SUPERV::KindOfDataStreamTrace & DataStreamTrace ,
-                               double & DeltaTime ) ;
+                               CORBA::Double & DeltaTime ) ;
 
-    virtual long SubStreamGraphsNumber() ;
-    virtual SUPERV::ListOfNodes * SubStreamGraphsNodes( const long aSubStreamGraphNumber ) ;
+    virtual CORBA::Long SubStreamGraphsNumber() ;
+    virtual SUPERV::ListOfNodes * SubStreamGraphsNodes( CORBA::Long aSubStreamGraphNumber ) ;
 
     virtual SUPERV::Graph_ptr ToFlowGraph() ;
 
index 9ca389155a2ea7a45d0209550ba4dccc537403ad..4fb7a7944e17afa30916346b9a143d76f959d9b4 100644 (file)
@@ -225,7 +225,7 @@ bool StreamPort_Impl::Params( SUPERV::KindOfSchema & aKindOfSchema ,
   return RetVal ;
 }
 
-bool StreamPort_Impl::SetNumberOfValues( const long aNumberOfValues ) {
+bool StreamPort_Impl::SetNumberOfValues( CORBA::Long aNumberOfValues ) {
 //  beginService( "StreamPort_Impl::SetNumberOfValues" );
   bool RetVal = false ;
   if ( !IsInput() ) {
@@ -241,9 +241,9 @@ bool StreamPort_Impl::SetNumberOfValues( const long aNumberOfValues ) {
   return RetVal ;
 }
 
-long StreamPort_Impl::NumberOfValues() {
+CORBA::Long StreamPort_Impl::NumberOfValues() {
 //  beginService( "StreamPort_Impl::NumberOfValues" );
-  long RetVal = -1 ;
+  CORBA::Long RetVal = -1 ;
   if ( !IsInput() ) {
     GraphBase::OutDataStreamPort * anOutStreamPort = (GraphBase::OutDataStreamPort * ) DataFlowPort() ;
     RetVal = anOutStreamPort->NumberOfValues() ;
index f3515355fdd2beb0a41d00e8333c00000ebf0888..2b000674a89496126d312bebef32636c581f2ba0 100644 (file)
@@ -77,8 +77,8 @@ class StreamPort_Impl : public Port_Impl ,
                          SUPERV::KindOfInterpolation & aKindOfInterpolation ,
                          SUPERV::KindOfExtrapolation & aKindOfExtrapolation ) ;
 
-    virtual bool SetNumberOfValues( const long aNumberOfValues ) ;
-    virtual long NumberOfValues() ;
+    virtual bool SetNumberOfValues( CORBA::Long aNumberOfValues ) ;
+    virtual CORBA::Long NumberOfValues() ;
 
 } ;