Salome HOME
Join modifications from branch V3_1_0_For_CCRT
authorjfa <jfa@opencascade.com>
Tue, 14 Mar 2006 08:21:49 +0000 (08:21 +0000)
committerjfa <jfa@opencascade.com>
Tue, 14 Mar 2006 08:21:49 +0000 (08:21 +0000)
48 files changed:
adm_local/unix/make_commence.in
adm_local/unix/make_conclude.in
build_configure
configure.in.base
src/AddComponent/AddComponent_CheckOfUndefined.cxx
src/AddComponent/AddComponent_Impl.cxx
src/AddComponent/AddComponent_Impl.hxx
src/AddComponent/Adder_Impl.cxx
src/AddComponent/Adder_Impl.hxx
src/AddComponent/Makefile.in
src/AdditionComponent/AdditionComponent_CheckOfUndefined.cxx
src/AdditionComponent/AdditionComponent_Impl.cxx
src/AdditionComponent/AdditionComponent_Impl.hxx
src/AdditionComponent/Addition_Adder_Impl.cxx
src/AdditionComponent/Addition_Adder_Impl.hxx
src/AdditionComponent/Makefile.in
src/CalculatorComponent/CalculatorEngine.cxx
src/CalculatorComponent/CalculatorEngine.hxx
src/CalculatorComponent/Makefile.in
src/DataStreamComponent/DataStreamComponent_CheckOfUndefined.cxx
src/DataStreamComponent/DataStreamComponent_Impl.cxx
src/DataStreamComponent/DataStreamComponent_Impl.hxx
src/DataStreamComponent/Makefile.in
src/DivComponent/DivComponent.cxx
src/DivComponent/Makefile.in
src/MulComponent/Makefile.in
src/MulComponent/MulComponent.cxx
src/SIGNALSComponent/Makefile.in
src/SIGNALSComponent/SIGNALSComponent.cxx
src/SIGNALSComponent/SIGNALSComponent.hxx
src/SIGNALSComponent/SIGNALSComponent_CheckOfUndefined.cxx
src/SIGNALSComponent/SIGNALSComponent_Impl.cxx
src/SIGNALSComponent/SIGNALSComponent_Impl.hxx
src/SIGNALSComponent_Swig/Makefile.in
src/SubComponent/Makefile.in
src/SubComponent/SubComponent.cxx
src/SyrComponent/Makefile.in
src/SyrComponent/SyrComponent_CheckOfUndefined.cxx
src/SyrComponent/SyrComponent_Impl.cxx
src/SyrComponent/SyrComponent_Impl.hxx
src/TestFunctions/Makefile.in
src/TypesCheck/Makefile.in
src/TypesCheck/TypesCheck_CheckOfUndefined.cxx
src/TypesCheck/TypesCheck_Impl.cxx
src/TypesCheck/TypesCheck_Impl.hxx
src/UndefinedSymbolComponent/Makefile.in
src/UndefinedSymbolComponent/UndefinedSymbolComponent.cxx
src/UndefinedSymbolComponent/UndefinedSymbolComponent.hxx

index 1d2ee72102df834100b3f79b22e3ee65e09af53e..9d94dad7dbe53623433aefd8c900740a22a435dc 100644 (file)
@@ -2,7 +2,7 @@
 inc_builddir=$(top_builddir)/include/salome
 
 @SET_MAKE@
-SHELL=/bin/sh
+SHELL=@SHELL@
 
 # header missing
 
@@ -11,11 +11,11 @@ HAVE_SSTREAM=@HAVE_SSTREAM@
 
 LIBS=@LIBS@
 LIBSFORBIN=@LIBS@
-LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib/salome -Xlinker -rpath-link -Xlinker $(top_builddir)/lib/salome
-LDFLAGSFORBIN=@LDFLAGS@ -L$(top_builddir)/lib/salome -Xlinker -rpath-link -Xlinker $(KERNEL_ROOT_DIR)/lib/salome
+LDFLAGS=@LDFLAGS@ -L$(top_builddir)/lib/salome
+LDFLAGSFORBIN=@LDFLAGS@ -L$(top_builddir)/lib/salome
 # add libstdc++ to link c++ library with libtool !
-LDFLAGS+= -lstdc++
-LDFLAGSFORBIN+= -lstdc++
+LDFLAGS+= @STDLIB@
+LDFLAGSFORBIN+= @STDLIB@
 
 CP=@CP@
 
index 9eac1df82d9369dde8411078c708681f6338d3a5..af62081727461067f3f4d96c494e35b61597f079 100644 (file)
@@ -58,7 +58,7 @@ $(LIB_BUILD): $(top_builddir)/lib/salome/%.la: %.la
        ln -sf $(patsubst %.la, %.so, $(CURDIR)/.libs/$<).0 \
              $(patsubst %.la, %.so, $@).0 || true
 
-       if ! test -z $(LIB_SWIG) ; then \
+       if test "X$(LIB_SWIG)" != "X"; then \
           ln -sf $(patsubst %.la,%.so, $(CURDIR)/.libs/$<) $(top_builddir)/lib/salome/_$(LIB_SWIG) || true;\
        fi;
 
@@ -144,7 +144,7 @@ install: $(LIB) $(BIN) $(TEST_PROGS) $(libdir) $(includedir) $(bindir) $(datadir
              ($(LT_INSTALL_LIB) $$f $(libdir)/. || exit 1);                  \
           fi;                                                                \
        done
-       @if ! test -z $(LIB_SWIG) ; then                                      \
+       @if test "X$(LIB_SWIG)" != "X"; then                                  \
          (cd $(libdir); ln -sf $(patsubst %.so, %cmodule.so, $(LIB_SWIG)) _$(LIB_SWIG)  || true); \
         fi;                                                                  
        @for f in X $(BIN); do                                                \
index 5e75cdd0cfa1bf230c3bf5ae07e0a9bb76ccc0bb..8dc1b2dbf325381acbcc5a7c0b9bbb5e83e05bb6 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
 
 #
 # Tool for updating list of .in file for the SALOME project 
@@ -58,8 +58,8 @@ fi
 
 find_in()
 {
-  local i
-  local f=$2
+  i=0
+  f=$2
 
 # if the first argument is not a directory, returns
 
@@ -110,8 +110,10 @@ ABS_CONF_DIR=`pwd`
 # Common part of the configure.in file
 #
 chmod u+w configure.in.base
-if \cp -f configure.in.base configure.in_tmp1 
+if \cp -f configure.in.base configure.in_tmp1 
 then
+        echo
+else
        echo
        echo "error : can't create files in" ${CONF_DIR}
        echo "aborting ..."
@@ -194,8 +196,10 @@ then
        fi
 else
        echo -n "Updating 'configure.in' file ... "
-       if \cp configure.in configure.in_old >& /dev/null
+       if \cp configure.in configure.in_old >& /dev/null
        then
+                echo
+       else
                echo
                echo
                echo "Can't backup previous configure.in"
index b4a000cac4a8b59220d6b3525f5acb5fd85f2390..510b7704df78754591574012b95c8f3475dad487 100644 (file)
@@ -44,6 +44,9 @@ echo Build  root directory : $ROOT_BUILDDIR
 echo
 echo
 
+AC_CHECK_PROG(SHELL,sh)
+AC_SUBST(SHELL)
+
 if test -z "$AR"; then
    AC_CHECK_PROGS(AR,ar xar,:,$PATH)
 fi
@@ -82,7 +85,7 @@ dnl Fix up the INSTALL macro if it s a relative path. We want the
 dnl full-path to the binary instead.
 case "$INSTALL" in
    *install-sh*)
-      INSTALL='\${KERNEL_ROOT_DIR}'/salome_adm/unix/config_files/install-sh
+      INSTALL="${KERNEL_ROOT_DIR}/salome_adm/unix/config_files/install-sh -c"
       ;;
 esac
 
@@ -96,6 +99,8 @@ cc_ok=no
 dnl inutil car libtool
 dnl AC_PROG_CC
 AC_PROG_CXX
+AC_CXX_WARNINGS
+AC_CXX_TEMPLATE_OPTIONS
 AC_DEPEND_FLAG
 # AC_CC_WARNINGS([ansi])
 cc_ok=yes
@@ -103,23 +108,98 @@ cc_ok=yes
 dnl Library libdl :
 AC_CHECK_LIB(dl,dlopen)
 
+dnl Library librt : for alpha/osf
+AC_CHECK_LIB(rt,nanosleep)
+
 dnl add library libm :
 AC_CHECK_LIB(m,ceil)
 
-dnl 
-dnl Well we use sstream which is not in gcc pre-2.95.3
-dnl We must test if it exists. If not, add it in include !
+AC_CXX_USE_STD_IOSTREAM
+AC_CXX_HAVE_SSTREAM
+
+dnl
+dnl ---------------------------------------------
+dnl testing linker
+dnl ---------------------------------------------
 dnl
 
-AC_CXX_HAVE_SSTREAM
+AC_LINKER_OPTIONS
+
+AC_LINKER_OPTIONS
+
+echo
+echo ---------------------------------------------
+echo testing threads
+echo ---------------------------------------------
+echo
+
+ENABLE_PTHREADS
+
+dnl
+dnl ---------------------------------------------
+dnl testing WITHIHM
+dnl ---------------------------------------------
+dnl
+
+CHECK_WITHIHM
 
 dnl
 dnl ---------------------------------------------
-dnl testing MPICH
+dnl testing MPI
 dnl ---------------------------------------------
 dnl
 
-CHECK_MPICH
+CHECK_MPI
+
+dnl
+dnl ---------------------------------------------
+dnl testing sockets
+dnl ---------------------------------------------
+dnl
+
+CHECK_SOCKETS
+
+dnl
+dnl ---------------------------------------------
+dnl testing OpenPBS
+dnl ---------------------------------------------
+dnl
+
+echo
+echo ---------------------------------------------
+echo testing OpenPBS
+echo ---------------------------------------------
+echo
+
+openpbs_ok=no
+CHECK_OPENPBS
+dnl openpbs_ok is set to yes by CHECK_OPENPBS
+
+dnl
+dnl ---------------------------------------------
+dnl testing LSF
+dnl ---------------------------------------------
+dnl
+
+echo
+echo ---------------------------------------------
+echo testing LSF
+echo ---------------------------------------------
+echo
+
+lsf_ok=no
+CHECK_LSF
+dnl lsf_ok is set to yes by CHECK_LSF
+
+dnl
+dnl ---------------------------------------------
+dnl testing Batch
+dnl ---------------------------------------------
+dnl
+
+WITH_BATCH=no
+test x$openpbs_ok = xyes || test x$lsf_ok = xyes && WITH_BATCH=yes
+AC_SUBST(WITH_BATCH)
 
 echo
 echo ---------------------------------------------
@@ -156,14 +236,6 @@ echo
 
 CHECK_SWIG
 
-echo
-echo ---------------------------------------------
-echo testing threads
-echo ---------------------------------------------
-echo
-
-ENABLE_PTHREADS
-
 echo
 echo ---------------------------------------------
 echo testing omniORB
@@ -193,14 +265,6 @@ AC_SUBST_FILE(CORBA)
 corba=make_$ORB
 CORBA=adm_local/unix/$corba
 
-echo
-echo ---------------------------------------------
-echo testing openGL
-echo ---------------------------------------------
-echo
-
-CHECK_OPENGL
-
 echo
 echo ---------------------------------------------
 echo testing QT
@@ -209,13 +273,47 @@ echo
 
 CHECK_QT
 
-echo
-echo ---------------------------------------------
-echo testing VTK
-echo ---------------------------------------------
-echo
+if test "X$WITHIHM" = "Xyes"; then
+       echo
+       echo ---------------------------------------------
+       echo Testing sip
+       echo ---------------------------------------------
+       echo
+
+       CHECK_SIP
+
+       echo
+       echo ---------------------------------------------
+       echo testing openGL
+       echo ---------------------------------------------
+       echo
+
+       CHECK_OPENGL
+
+       echo
+       echo ---------------------------------------------
+       echo testing VTK
+       echo ---------------------------------------------
+       echo
+
+       CHECK_VTK
+
+       echo
+       echo ---------------------------------------------
+       echo Testing pyqt
+       echo ---------------------------------------------
+       echo
 
-CHECK_VTK
+       CHECK_PYQT
+
+       echo
+       echo ---------------------------------------------
+       echo Testing qwt
+       echo ---------------------------------------------
+       echo
+
+       CHECK_QWT
+fi
 
 echo
 echo ---------------------------------------------
@@ -225,7 +323,7 @@ echo
 
 CHECK_HDF5
 
-#echo
+echo
 echo ---------------------------------------------
 echo testing MED
 echo ---------------------------------------------
@@ -233,6 +331,7 @@ echo
 
 CHECK_MED
 
+echo
 echo ---------------------------------------------
 echo testing MED2
 echo ---------------------------------------------
@@ -291,7 +390,12 @@ echo ---------------------------------------------
 echo
 
 echo Configure
-variables="cc_ok lex_yacc_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok med2_ok omniORB_ok occ_ok doxygen_ok graphviz_ok Kernel_ok"
+if test "X$WITHIHM" = "Xyes"; then
+variables="cc_ok lex_yacc_ok mpi_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok vtk_ok hdf5_ok med2_ok omniORB_ok occ_ok sip_ok pyqt_ok qwt_ok"
+fi
+if test "X$WITHIHM" = "Xno"; then
+variables="cc_ok mpi_ok python_ok swig_ok threads_ok OpenGL_ok qt_ok hdf5_ok med2_ok omniORB_ok occ_ok "
+fi
 
 for var in $variables
 do
@@ -299,6 +403,18 @@ do
    eval echo \$$var
 done
 
+echo "---Optional:"
+variables="cppunit_ok openpbs_ok lsf_ok doxygen_ok graphviz_ok"
+for var in $variables
+do
+   eval toto=\$$var
+   if test x$toto != "x"; then
+     printf "   %10s : " `echo \$var | sed -e "s,_ok,,"`
+     eval echo \$$var
+   fi
+done
+
 echo
 echo "Default ORB   : $DEFAULT_ORB"
 echo
@@ -356,13 +472,13 @@ dnl directory
 
 mkdir -p bin/salome
 cd bin/salome
-for i in $ROOT_SRCDIR/bin/*
+for i in `find $ROOT_SRCDIR/bin`
 do
-  local_bin=`echo $i | sed -e "s,$ROOT_SRCDIR,.,"`
+  local_bin=`echo $i | sed -e "s,$ROOT_SRCDIR/bin,.,"`
   case "$local_bin" in
         *.in | *~)                    ;;
-        ./bin/CVS | ./bin/salome)                    ;;
-        *) /usr/bin/install -c $i .; echo $local_bin ;;
+        . | */CVS | */CVS/* | ./salome) ;;
+        *) $INSTALL $i $local_bin; echo $local_bin ;;
   esac
 done
 cd $ROOT_BUILDDIR
@@ -388,7 +504,8 @@ echo ---------------------------------------------
 echo
 
 AC_OUTPUT_COMMANDS([ \
-       chmod +x ./bin/* \
+      chmod +x ./bin/*; \
+      chmod +x ./bin/salome/* \
 ])
 
 ## do not delete this line
index 791b0767e41519bc24657e9709d63771f13352cd..c9f518b05eeb3b2c5bb49f52edd1622f0f790d79 100644 (file)
@@ -1,4 +1,4 @@
-//  SALOME Container : implementation of container and engine for Kernel
+//  SuperVisionTest AddComponent : example of component that adds two numbers
 //
 //  Copyright (C) 2003  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 //  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS 
 //
 //
 //
-//  File   : SALOME_Container.cxx
-//  Author : Paul RASCLE, EDF - MARC TAJCHMAN, CEA
-//  Module : SALOME
+//  File   : AddComponent_CheckOfUndefined.cxx
+//  Author : Jean Rahuel
+//  Module : SuperVisionTest
 //  $Header$
 
 #include <iostream>
+#include <strstream>
 #include <string>
 #include <stdio.h>
 
 #include <mpi.h>
 #endif
 
+//CCRT
+#include <sstream>
+#include <time.h>
+#include <sys/time.h>
+#include <sys/stat.h>
+//end-CCRT
+
 #include "Container_init_python.hxx"
 
 using namespace std;
@@ -106,9 +114,9 @@ int main(int argc, char* argv[])
 
       // add new container to the kill list
 #ifndef WNT
-      char aCommand[40];
-      sprintf(aCommand, "addToKillList.py %d SALOME_Container", getpid());
-      system(aCommand);
+      ostrstream aCommand ;
+      aCommand << "addToKillList.py " << getpid() << " SALOME_Container" << ends ;
+      system(aCommand.str());
 #endif
       
       Engines_Container_i * myContainer 
index 44723dcc1ff350e9e28b745d85b917f0d0747674..60862dc1b6170829cd0cdf658ddce6c3fa0184ab 100644 (file)
@@ -25,7 +25,6 @@
 //  Author : Jean Rahuel, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -41,6 +40,8 @@ using namespace std;
 #include "AddComponent_Impl.hxx"
 #include "Adder_Impl.hxx"
 
+using namespace std;
+
 AddComponent_Impl::AddComponent_Impl( CORBA::ORB_ptr orb,
                                      PortableServer::POA_ptr poa,
                                      PortableServer::ObjectId * contId, 
@@ -62,7 +63,7 @@ AddComponent_Impl::AddComponent_Impl() {
 AddComponent_Impl::~AddComponent_Impl() {
 }
 
-double AddComponent_Impl::Add( double x , double y , double & z ) {
+CORBA::Double AddComponent_Impl::Add( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) {
   beginService( " AddComponent_Impl::Add" );
   z = x + y ;
   int S;
@@ -80,7 +81,7 @@ double AddComponent_Impl::Add( double x , double y , double & z ) {
   return (x - y) ;
 }
 
-double AddComponent_Impl::AddWithoutSleep( double x , double y , double & z ) {
+CORBA::Double AddComponent_Impl::AddWithoutSleep( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) {
   beginService( " AddComponent_Impl::AddWithoutSleep" );
   z = x + y ;
   LastAddition = z ;
@@ -88,7 +89,7 @@ double AddComponent_Impl::AddWithoutSleep( double x , double y , double & z ) {
   return (x - y) ;
 }
 
-long AddComponent_Impl::Sigma( long n ) {
+CORBA::Long AddComponent_Impl::Sigma( CORBA::Long n ) {
   long sigma = 0 ;
   int i , j ;
   beginService( " AddComponent_Impl::Sigma" );
@@ -102,7 +103,7 @@ long AddComponent_Impl::Sigma( long n ) {
   return sigma ;
 }
 
-void AddComponent_Impl::Setx( double x ) {
+void AddComponent_Impl::Setx( CORBA::Double x ) {
   int S = 1+(int) (15.0*rand()/(RAND_MAX+1.0));
   while ( S ) {
     S = sleep(S);
@@ -110,7 +111,7 @@ void AddComponent_Impl::Setx( double x ) {
   xx = x ;
 }
 
-void AddComponent_Impl::Sety( double y ) {
+void AddComponent_Impl::Sety( CORBA::Double y ) {
   int S = 1+(int) (15.0*rand()/(RAND_MAX+1.0));
   while ( S ) {
     S = sleep(S);
@@ -118,7 +119,7 @@ void AddComponent_Impl::Sety( double y ) {
   yy = y ;
 }
 
-double AddComponent_Impl::Addxy() {
+CORBA::Double AddComponent_Impl::Addxy() {
   int S = 1+(int) (15.0*rand()/(RAND_MAX+1.0));
   while ( S ) {
     S = sleep(S);
@@ -128,7 +129,7 @@ double AddComponent_Impl::Addxy() {
   return zz;
 }
 
-double AddComponent_Impl::AddyTox( double y ) {
+CORBA::Double AddComponent_Impl::AddyTox( CORBA::Double y ) {
   int S = 1+(int) (15.0*rand()/(RAND_MAX+1.0));
   while ( S ) {
     S = sleep(S);
@@ -138,7 +139,7 @@ double AddComponent_Impl::AddyTox( double y ) {
   return zz;
 }
 
-double AddComponent_Impl::LastResult() {
+CORBA::Double AddComponent_Impl::LastResult() {
   beginService( " AddComponent_Impl::LastResult" );
   sendMessage(NOTIF_STEP, "AddComponent_Impl::LastResult is Computing");
   endService( " AddComponent_Impl::LastResult"  );
@@ -161,7 +162,7 @@ SuperVisionTest::Adder_ptr AddComponent_Impl::Addition() {
 //  return SuperVisionTest::Adder::_duplicate(iobject) ;
 }
 
-bool AddComponent_Impl::AdditionObjRef1( SuperVisionTest::Adder_out aAdder ) {
+CORBA::Boolean AddComponent_Impl::AdditionObjRef1( SuperVisionTest::Adder_out aAdder ) {
   beginService( "AddComponent_Impl::Addition" );
   sendMessage(NOTIF_STEP, "AddComponent_Impl creates Adder_Impl");
   Adder_Impl * myAdder ;
@@ -177,7 +178,7 @@ bool AddComponent_Impl::AdditionObjRef1( SuperVisionTest::Adder_out aAdder ) {
   return true ;
 }
 
-void AddComponent_Impl::AdditionObjRef2( bool & FuncValue ,
+void AddComponent_Impl::AdditionObjRef2( CORBA::Boolean & FuncValue ,
                                          SuperVisionTest::Adder_out aAdder ) {
   beginService( "AddComponent_Impl::Addition" );
   sendMessage(NOTIF_STEP, "AddComponent_Impl creates Adder_Impl");
@@ -194,12 +195,12 @@ void AddComponent_Impl::AdditionObjRef2( bool & FuncValue ,
   FuncValue = true ;
 }
 
-bool AddComponent_Impl::AdditionObjRefs( const SuperVisionTest::AddComponent_ptr AddComponent1 ,
-                                         const SuperVisionTest::AddComponent_ptr Adder2 ,
-                                         const SuperVisionTest::AddComponent_ptr Adder3 ,
-                                         SuperVisionTest::AddComponent_out RetAddComponent1 ,
-                                         SuperVisionTest::AddComponent_out RetAdder2 ,
-                                         SuperVisionTest::AddComponent_out RetAdder3 ) {
+CORBA::Boolean AddComponent_Impl::AdditionObjRefs( SuperVisionTest::AddComponent_ptr AddComponent1 ,
+                                                   SuperVisionTest::AddComponent_ptr Adder2 ,
+                                                   SuperVisionTest::AddComponent_ptr Adder3 ,
+                                                   SuperVisionTest::AddComponent_out RetAddComponent1 ,
+                                                   SuperVisionTest::AddComponent_out RetAdder2 ,
+                                                   SuperVisionTest::AddComponent_out RetAdder3 ) {
   bool RetVal = true ;
   beginService( "AddComponent_Impl::AdditionObjRefs" );
   cout << "beginService AddComponent_Impl::AdditionObjRefs" << endl ;
index 84d719eca8fbf905897db49def288bf0c54c39a0..f66667c9efe2795ef9e5bf11e62b34f35727b466 100644 (file)
@@ -47,30 +47,30 @@ public:
 
   virtual ~AddComponent_Impl();
 
-  virtual double Add( double x , double y , double & z ) ;
-  virtual double AddWithoutSleep( double x , double y , double & z ) ;
+  virtual CORBA::Double Add( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) ;
+  virtual CORBA::Double AddWithoutSleep( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) ;
 
-  virtual void Setx( double x ) ;
-  virtual void Sety( double y ) ;
-  virtual double Addxy() ;
-  virtual double AddyTox( double y ) ;
+  virtual void Setx( CORBA::Double x ) ;
+  virtual void Sety( CORBA::Double y ) ;
+  virtual CORBA::Double Addxy() ;
+  virtual CORBA::Double AddyTox( CORBA::Double y ) ;
 
-  virtual long Sigma( long n ) ;
+  virtual CORBA::Long Sigma( CORBA::Long n ) ;
 
-  virtual double LastResult() ;
+  virtual CORBA::Double LastResult() ;
 
   virtual SuperVisionTest::Adder_ptr Addition() ;
 
-  virtual bool AdditionObjRef1( SuperVisionTest::Adder_out ) ;
+  virtual CORBA::Boolean AdditionObjRef1( SuperVisionTest::Adder_out ) ;
 
-  virtual void AdditionObjRef2( bool & FuncValue , SuperVisionTest::Adder_out ) ;
+  virtual void AdditionObjRef2( CORBA::Boolean & FuncValue , SuperVisionTest::Adder_out ) ;
 
-  virtual bool AdditionObjRefs( const SuperVisionTest::AddComponent_ptr AddComponent1 ,
-                                const SuperVisionTest::AddComponent_ptr Adder2 ,
-                                const SuperVisionTest::AddComponent_ptr Adder3 ,
-                                SuperVisionTest::AddComponent_out RetAddComponent1 ,
-                                SuperVisionTest::AddComponent_out RetAdder2 ,
-                                SuperVisionTest::AddComponent_out RetAdder3 ) ;
+  virtual CORBA::Boolean AdditionObjRefs( SuperVisionTest::AddComponent_ptr AddComponent1 ,
+                                          SuperVisionTest::AddComponent_ptr Adder2 ,
+                                          SuperVisionTest::AddComponent_ptr Adder3 ,
+                                          SuperVisionTest::AddComponent_out RetAddComponent1 ,
+                                          SuperVisionTest::AddComponent_out RetAdder2 ,
+                                          SuperVisionTest::AddComponent_out RetAdder3 ) ;
 
 private:
 
index eb19c65a09966f37a94eea85e4d785be46d6f55d..0dd51c7dd4e984d55027b865c94f49e5a8efcb01 100644 (file)
@@ -25,7 +25,6 @@
 //  Author : Jean Rahuel, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -40,6 +39,8 @@ using namespace std;
 
 #include "Adder_Impl.hxx"
 
+using namespace std;
+
 Adder_Impl::Adder_Impl( CORBA::ORB_ptr orb ,
                        PortableServer::POA_ptr poa ,
                        PortableServer::ObjectId * contId , 
@@ -76,7 +77,7 @@ void Adder_Impl::destroy() {
   _thisObj->_remove_ref();
 }
 
-double Adder_Impl::Add( double x , double y , double & z ) {
+CORBA::Double Adder_Impl::Add( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) {
   beginService( " Adder_Impl::Add" );
   z = x + y ;
   int S;
@@ -94,16 +95,16 @@ double Adder_Impl::Add( double x , double y , double & z ) {
   return -(x - y) ;
 }
 
-double Adder_Impl::AddWithoutSleep( double x , double y , double & z ) {
+CORBA::Double Adder_Impl::AddWithoutSleep( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) {
   beginService( " Adder_Impl::AddWithoutSleep" );
   z = x + y ;
   endService( " Adder_Impl::AddWithoutSleep"  );
   return -(x - y) ;
 }
 
-double Adder_Impl::AddAndCompare( const double x , const double y ,
-                                  const SuperVisionTest::Adder_ptr anOtherAdder ,
-                                  double & z ) {
+CORBA::Double Adder_Impl::AddAndCompare( CORBA::Double x , CORBA::Double y ,
+                                         SuperVisionTest::Adder_ptr anOtherAdder ,
+                                         CORBA::Double & z ) {
   beginService( " Adder_Impl::AddAndCompare" );
   z = x + y ;
   int S;
@@ -133,7 +134,7 @@ double Adder_Impl::AddAndCompare( const double x , const double y ,
   return ValFunc ;
 }
 
-void Adder_Impl::SetLastResult( double z ) {
+void Adder_Impl::SetLastResult( CORBA::Double z ) {
   beginService( " Adder_Impl::SetLastResult" );
   sendMessage(NOTIF_STEP, "Adder_Impl::SetLastResult is Computing");
   int S;
@@ -147,7 +148,7 @@ void Adder_Impl::SetLastResult( double z ) {
   return ;
 }
 
-void Adder_Impl::LastResult( double & z ) {
+void Adder_Impl::LastResult( CORBA::Double & z ) {
   beginService( " Adder_Impl::LastResult" );
   sendMessage(NOTIF_STEP, "Adder_Impl::LastResult is Computing");
   int S;
index 17c1eb9a6a75ca5c915ee83d350398f37cc6a149..e10917e39406dca885cfd2939f34a7daa17236a1 100644 (file)
@@ -51,17 +51,17 @@ class Adder_Impl :  public POA_SuperVisionTest::Adder ,
 
     virtual void destroy() ;
 
-    virtual double Add( double x , double y , double & z ) ;
+    virtual CORBA::Double Add( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) ;
 
-    virtual double AddWithoutSleep( double x , double y , double & z ) ;
+    virtual CORBA::Double AddWithoutSleep( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) ;
 
-    virtual double AddAndCompare( const double x , const double y ,
-                                  const SuperVisionTest::Adder_ptr anOtherAdder ,
-                                  double & z ) ;
+    virtual CORBA::Double AddAndCompare( CORBA::Double x , CORBA::Double y ,
+                                         SuperVisionTest::Adder_ptr anOtherAdder ,
+                                          CORBA::Double & z ) ;
 
-    virtual void SetLastResult( double z ) ;
+    virtual void SetLastResult( CORBA::Double z ) ;
 
-    virtual void LastResult( double & z ) ;
+    virtual void LastResult( CORBA::Double & z ) ;
 
     virtual Engines::Component_ptr LccAddComponent( const char * aContainer ,
                                                     const char * aComponentName ) ;
index 5895c1aab6def64ed941b061bc0f9ae8d60eb70e..177478680c0b9b13eb8675eadf39a78a1d10ebf5 100755 (executable)
@@ -54,9 +54,9 @@ BIN_SRC = HandleServerSideSignals.cxx
 BIN_SERVER_IDL =
 
 CPPFLAGS+= $(PYTHON_INCLUDES)  -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS+= -g -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -lSalomeNS -lSalomeLifeCycleCORBA 
+LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -lSalomeNS -lSalomeLifeCycleCORBA 
 
+LIBSFORBIN= $(LIBS)
 LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
 @CONCLUDE@
index 2bba7f4bfe5bb6d8af68a2e9b0da44c89f3a9626..5e1c27e8e2f7389d91dbc7f29fdf376beeffd276 100644 (file)
 //  File   : AddComponent_CheckOfUndefined.cxx
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <iostream>
 #include <fstream>
 #include <unistd.h>
 
 #include "AdditionComponent_Impl.hxx"
 
+using namespace std;
+
 int main(int argc, char **argv) {
   return 0;
 }
index e6f73913511c85cf56c18a50475c074875cbb45c..6a1ef41bf56d44778e9ecac5b3edc49274c6a170 100644 (file)
@@ -25,7 +25,6 @@
 //  Author : Jean Rahuel, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -41,6 +40,8 @@ using namespace std;
 #include "AdditionComponent_Impl.hxx"
 #include "Adder_Impl.hxx"
 
+using namespace std;
+
 AdditionInterface_Impl::AdditionInterface_Impl( CORBA::ORB_ptr orb,
                                      PortableServer::POA_ptr poa,
                                      PortableServer::ObjectId * contId, 
@@ -62,7 +63,7 @@ AdditionInterface_Impl::AdditionInterface_Impl() {
 AdditionInterface_Impl::~AdditionInterface_Impl() {
 }
 
-double AdditionInterface_Impl::Add( double x , double y , double & z ) {
+CORBA::Double AdditionInterface_Impl::Add( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) {
   beginService( " AdditionInterface_Impl::Add" );
   z = x + y ;
   int S;
@@ -80,7 +81,7 @@ double AdditionInterface_Impl::Add( double x , double y , double & z ) {
   return (x - y) ;
 }
 
-double AdditionInterface_Impl::AddWithoutSleep( double x , double y , double & z ) {
+CORBA::Double AdditionInterface_Impl::AddWithoutSleep( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) {
   beginService( " AdditionInterface_Impl::AddWithoutSleep" );
   z = x + y ;
   LastAddition = z ;
@@ -88,7 +89,7 @@ double AdditionInterface_Impl::AddWithoutSleep( double x , double y , double & z
   return (x - y) ;
 }
 
-long AdditionInterface_Impl::Sigma( long n ) {
+CORBA::Long AdditionInterface_Impl::Sigma( CORBA::Long n ) {
   long sigma = 0 ;
   int i , j ;
   beginService( " AdditionInterface_Impl::Sigma" );
@@ -102,7 +103,7 @@ long AdditionInterface_Impl::Sigma( long n ) {
   return sigma ;
 }
 
-void AdditionInterface_Impl::Setx( double x ) {
+void AdditionInterface_Impl::Setx( CORBA::Double x ) {
   int S = 1+(int) (15.0*rand()/(RAND_MAX+1.0));
   while ( S ) {
     S = sleep(S);
@@ -110,7 +111,7 @@ void AdditionInterface_Impl::Setx( double x ) {
   xx = x ;
 }
 
-void AdditionInterface_Impl::Sety( double y ) {
+void AdditionInterface_Impl::Sety( CORBA::Double y ) {
   int S = 1+(int) (15.0*rand()/(RAND_MAX+1.0));
   while ( S ) {
     S = sleep(S);
@@ -118,7 +119,7 @@ void AdditionInterface_Impl::Sety( double y ) {
   yy = y ;
 }
 
-double AdditionInterface_Impl::Addxy() {
+CORBA::Double AdditionInterface_Impl::Addxy() {
   int S = 1+(int) (15.0*rand()/(RAND_MAX+1.0));
   while ( S ) {
     S = sleep(S);
@@ -128,7 +129,7 @@ double AdditionInterface_Impl::Addxy() {
   return zz;
 }
 
-double AdditionInterface_Impl::AddyTox( double y ) {
+CORBA::Double AdditionInterface_Impl::AddyTox( CORBA::Double y ) {
   int S = 1+(int) (15.0*rand()/(RAND_MAX+1.0));
   while ( S ) {
     S = sleep(S);
@@ -138,7 +139,7 @@ double AdditionInterface_Impl::AddyTox( double y ) {
   return zz;
 }
 
-double AdditionInterface_Impl::LastResult() {
+CORBA::Double AdditionInterface_Impl::LastResult() {
   beginService( " AdditionInterface_Impl::LastResult" );
   sendMessage(NOTIF_STEP, "AdditionInterface_Impl::LastResult is Computing");
   endService( " AdditionInterface_Impl::LastResult"  );
@@ -177,8 +178,8 @@ bool AdditionInterface_Impl::AdditionObjRef1( AdditionComponent::Adder_out aAdde
   return true ;
 }
 
-void AdditionInterface_Impl::AdditionObjRef2( bool & FuncValue ,
-                                         AdditionComponent::Adder_out aAdder ) {
+void AdditionInterface_Impl::AdditionObjRef2( CORBA::Boolean & FuncValue ,
+                                              AdditionComponent::Adder_out aAdder ) {
   beginService( "AdditionInterface_Impl::Addition" );
   sendMessage(NOTIF_STEP, "AdditionInterface_Impl creates Adder_Impl");
   Adder_Impl * myAdder ;
@@ -194,12 +195,12 @@ void AdditionInterface_Impl::AdditionObjRef2( bool & FuncValue ,
   FuncValue = true ;
 }
 
-bool AdditionInterface_Impl::AdditionObjRefs( const AdditionComponent::AdditionInterface_ptr AdditionInterface1 ,
-                                         const AdditionComponent::AdditionInterface_ptr Adder2 ,
-                                         const AdditionComponent::AdditionInterface_ptr Adder3 ,
-                                         AdditionComponent::AdditionInterface_out RetAdditionInterface1 ,
-                                         AdditionComponent::AdditionInterface_out RetAdder2 ,
-                                         AdditionComponent::AdditionInterface_out RetAdder3 ) {
+CORBA::Boolean AdditionInterface_Impl::AdditionObjRefs( AdditionComponent::AdditionInterface_ptr AdditionInterface1 ,
+                                                        AdditionComponent::AdditionInterface_ptr Adder2 ,
+                                                        AdditionComponent::AdditionInterface_ptr Adder3 ,
+                                                        AdditionComponent::AdditionInterface_out RetAdditionInterface1 ,
+                                                        AdditionComponent::AdditionInterface_out RetAdder2 ,
+                                                        AdditionComponent::AdditionInterface_out RetAdder3 ) {
   bool RetVal = true ;
   beginService( "AdditionInterface_Impl::AdditionObjRefs" );
   cout << "beginService AdditionInterface_Impl::AdditionObjRefs" << endl ;
index a151b09bd6293b119abf772490d717a03f493953..b6f2f11c203892477a2b49bfb50a4216ed833726 100644 (file)
@@ -47,30 +47,30 @@ public:
 
   virtual ~AdditionInterface_Impl();
 
-  virtual double Add( double x , double y , double & z ) ;
-  virtual double AddWithoutSleep( double x , double y , double & z ) ;
+  virtual CORBA::Double Add( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) ;
+  virtual CORBA::Double AddWithoutSleep( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) ;
 
-  virtual void Setx( double x ) ;
-  virtual void Sety( double y ) ;
-  virtual double Addxy() ;
-  virtual double AddyTox( double y ) ;
+  virtual void Setx( CORBA::Double x ) ;
+  virtual void Sety( CORBA::Double y ) ;
+  virtual CORBA::Double Addxy() ;
+  virtual CORBA::Double AddyTox( CORBA::Double y ) ;
 
-  virtual long Sigma( long n ) ;
+  virtual CORBA::Long Sigma( CORBA::Long n ) ;
 
-  virtual double LastResult() ;
+  virtual CORBA::Double LastResult() ;
 
   virtual AdditionComponent::Adder_ptr Addition() ;
 
   virtual bool AdditionObjRef1( AdditionComponent::Adder_out ) ;
 
-  virtual void AdditionObjRef2( bool & FuncValue , AdditionComponent::Adder_out ) ;
+  virtual void AdditionObjRef2( CORBA::Boolean & FuncValue , AdditionComponent::Adder_out ) ;
 
-  virtual bool AdditionObjRefs( const AdditionComponent::AdditionInterface_ptr AdditionInterface1 ,
-                                const AdditionComponent::AdditionInterface_ptr Adder2 ,
-                                const AdditionComponent::AdditionInterface_ptr Adder3 ,
-                                AdditionComponent::AdditionInterface_out RetAdditionInterface1 ,
-                                AdditionComponent::AdditionInterface_out RetAdder2 ,
-                                AdditionComponent::AdditionInterface_out RetAdder3 ) ;
+  virtual CORBA::Boolean AdditionObjRefs( AdditionComponent::AdditionInterface_ptr AdditionInterface1 ,
+                                          AdditionComponent::AdditionInterface_ptr Adder2 ,
+                                          AdditionComponent::AdditionInterface_ptr Adder3 ,
+                                          AdditionComponent::AdditionInterface_out RetAdditionInterface1 ,
+                                          AdditionComponent::AdditionInterface_out RetAdder2 ,
+                                          AdditionComponent::AdditionInterface_out RetAdder3 ) ;
 
 private:
 
index e2aa0e89be5d1f19a91e25149a8dc95008276c38..ee6ff7ae517f76cbc882c3187558d14c8e006321 100644 (file)
@@ -25,7 +25,6 @@
 //  Author : Jean Rahuel, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -40,6 +39,8 @@ using namespace std;
 
 #include "Addition_Adder_Impl.hxx"
 
+using namespace std;
+
 Adder_Impl::Adder_Impl( CORBA::ORB_ptr orb ,
                        PortableServer::POA_ptr poa ,
                        PortableServer::ObjectId * contId , 
@@ -76,7 +77,7 @@ void Adder_Impl::destroy() {
   _thisObj->_remove_ref();
 }
 
-double Adder_Impl::Add( double x , double y , double & z ) {
+CORBA::Double Adder_Impl::Add( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) {
   beginService( " Adder_Impl::Add" );
   z = x + y ;
   int S;
@@ -94,16 +95,16 @@ double Adder_Impl::Add( double x , double y , double & z ) {
   return -(x - y) ;
 }
 
-double Adder_Impl::AddWithoutSleep( double x , double y , double & z ) {
+CORBA::Double Adder_Impl::AddWithoutSleep( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) {
   beginService( " Adder_Impl::AddWithoutSleep" );
   z = x + y ;
   endService( " Adder_Impl::AddWithoutSleep"  );
   return -(x - y) ;
 }
 
-double Adder_Impl::AddAndCompare( const double x , const double y ,
-                                  const AdditionComponent::Adder_ptr anOtherAdder ,
-                                  double & z ) {
+CORBA::Double Adder_Impl::AddAndCompare( CORBA::Double x , CORBA::Double y ,
+                                         AdditionComponent::Adder_ptr anOtherAdder ,
+                                  CORBA::Double & z ) {
   beginService( " Adder_Impl::AddAndCompare" );
   z = x + y ;
   int S;
@@ -133,7 +134,7 @@ double Adder_Impl::AddAndCompare( const double x , const double y ,
   return ValFunc ;
 }
 
-void Adder_Impl::SetLastResult( double z ) {
+void Adder_Impl::SetLastResult( CORBA::Double z ) {
   beginService( " Adder_Impl::SetLastResult" );
   sendMessage(NOTIF_STEP, "Adder_Impl::SetLastResult is Computing");
   int S;
@@ -147,7 +148,7 @@ void Adder_Impl::SetLastResult( double z ) {
   return ;
 }
 
-void Adder_Impl::LastResult( double & z ) {
+void Adder_Impl::LastResult( CORBA::Double & z ) {
   beginService( " Adder_Impl::LastResult" );
   sendMessage(NOTIF_STEP, "Adder_Impl::LastResult is Computing");
   int S;
@@ -161,8 +162,8 @@ void Adder_Impl::LastResult( double & z ) {
   return ;
 }
 
-Engines::Component_ptr Adder_Impl::LccAdditionInterface( const char * aContainer ,
-                                                    const char * aComponentName ) {
+Engines::Component_ptr Adder_Impl::LccAdditionInterface( char * aContainer ,
+                                                         char * aComponentName ) {
   beginService( "Adder_Impl::LccAddComponent" );
   Engines::Component_ptr objComponent ;
   objComponent = Engines::Component::_nil() ;
index 6ebb5d40d77a49a5b0d982560c3b6628f89b4263..4544abfe03b3000900712a40c1d2ec3032e236ef 100644 (file)
@@ -51,20 +51,20 @@ class Adder_Impl :  public POA_AdditionComponent::Adder ,
 
     virtual void destroy() ;
 
-    virtual double Add( double x , double y , double & z ) ;
+    virtual CORBA::Double Add( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) ;
 
-    virtual double AddWithoutSleep( double x , double y , double & z ) ;
+    virtual CORBA::Double AddWithoutSleep( CORBA::Double x , CORBA::Double y , CORBA::Double & z ) ;
 
-    virtual double AddAndCompare( const double x , const double y ,
-                                  const AdditionComponent::Adder_ptr anOtherAdder ,
-                                  double & z ) ;
+    virtual CORBA::Double AddAndCompare( CORBA::Double x , CORBA::Double y ,
+                                  AdditionComponent::Adder_ptr anOtherAdder ,
+                                  CORBA::Double & z ) ;
 
-    virtual void SetLastResult( double z ) ;
+    virtual void SetLastResult( CORBA::Double z ) ;
 
-    virtual void LastResult( double & z ) ;
+    virtual void LastResult( CORBA::Double & z ) ;
 
-    virtual Engines::Component_ptr LccAdditionInterface( const char * aContainer ,
-                                                    const char * aComponentName ) ;
+    virtual Engines::Component_ptr LccAdditionInterface( char * aContainer ,
+                                                         char * aComponentName ) ;
 
   private:
 
index 36bd8865b7f90c5002a6c88496cc5334fa3b8a6e..c2ae83ec1a981e82b575630db2231e61e1d25253 100755 (executable)
@@ -46,6 +46,7 @@ LIB_SRC = \
 
 LIB_SERVER_IDL = SALOME_ContainerManager.idl \
                  SALOME_Component.idl \
+                 AddComponent.idl \
                  AdditionComponent.idl
 
 # Executables targets
@@ -54,9 +55,9 @@ BIN_SRC =
 BIN_SERVER_IDL = SALOME_Exception.idl
 
 CPPFLAGS+= $(PYTHON_INCLUDES)  -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
 LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -lSalomeNS -lSalomeLifeCycleCORBA 
 
+LIBSFORBIN= $(LIBS)
 LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
 @CONCLUDE@
index b3c70c77ee11b74c4afde86a566bb19694ae9c21..7c8e79227216c261d11e7dc64958e89fae75ace4 100644 (file)
@@ -110,7 +110,7 @@ CalculatorEngine::~CalculatorEngine()
 
 static omni_mutex aPutToStudyMutex;
 SALOME_MED::FIELDDOUBLE_ptr CalculatorEngine::PutToStudy(SALOME_MED::FIELDDOUBLE_ptr theField1,
-                                                        long int theStudyId) {
+                                                        CORBA::Long theStudyId) {
   omni_mutex_lock aLock(aPutToStudyMutex);
 
   CORBA::Object_var anObj = _NS->Resolve("/myStudyManager");
index 1a74f1b5fc2e97e04858bae46836eb095ebaa3c6..d5228273d0034f22bb6ccb0ba44708f557f65e68 100644 (file)
@@ -56,7 +56,7 @@ public:
 
 
   SALOME_MED::FIELDDOUBLE_ptr PutToStudy(SALOME_MED::FIELDDOUBLE_ptr theField,
-                                        long int theStudyId);
+                                        CORBA::Long theStudyId);
 
   SALOME_MED::FIELDDOUBLE_ptr Add(SALOME_MED::FIELDDOUBLE_ptr FirstField,
                                  SALOME_MED::FIELDDOUBLE_ptr SecondField);
index 3d1b54e50d15d933993f3034e57df8b950a0be31..9f8623e9f20fa215323b27cf5098d4085faf47c3 100755 (executable)
@@ -39,7 +39,7 @@ VPATH=.:@srcdir@:@top_srcdir@/idl
 LIB = libCalculatorEngine.la
 LIB_SRC = CalculatorEngine.cxx
 #LIB_SERVER_IDL = Calculator.idl SALOME_Exception.idl SALOME_Component.idl SALOMEDS.idl SALOMEDS_Attributes.idl MED.idl 
-LIB_SERVER_IDL = Calculator.idl  
+LIB_SERVER_IDL = Calculator.idl SALOME_Comm.idl SALOME_ContainerManager.idl
 LIB_CLIENT_IDL = SALOME_Exception.idl SALOME_Component.idl SALOMEDS.idl SALOME_GenericObj.idl SALOMEDS_Attributes.idl MED.idl 
 # Executables targets
 BIN = 
@@ -50,7 +50,6 @@ BIN_SERVER_IDL =
 EXPORT_HEADERS =
 
 CPPFLAGS+= $(PYTHON_INCLUDES) $(HDF5_INCLUDES) $(MED2_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome -I${MED_ROOT_DIR}/include/salome
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome -I${MED_ROOT_DIR}/include/salome
 LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -L${MED_ROOT_DIR}/lib/salome -lMEDEngine -lMEDClientcmodule
 
 
index 05cfb16f6f372e512492d5ef8ac185af98327333..6898a68e1786d6de373de2644338ac5533c61d4d 100644 (file)
 //  File   : DataStreamComponent_CheckOfUndefined.cxx
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <iostream>
 #include <fstream>
 #include <unistd.h>
 
 #include "DataStreamComponent_Impl.hxx"
 
+using namespace std;
+
 int main(int argc, char **argv) {
   return 0;
 }
index 0cfff2aa9203604d35e0ac5106a77cfe6d883948..5218c089ede302f774452d2a042c00e7db2ec5be 100644 (file)
@@ -25,7 +25,6 @@
 //  Author : Jean Rahuel
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -34,6 +33,8 @@ using namespace std;
 
 #include "DataStreamComponent_Impl.hxx"
 
+using namespace std;
+
 DataStreamFactory_Impl::DataStreamFactory_Impl( CORBA::ORB_ptr orb,
                                                PortableServer::POA_ptr poa,
                                                PortableServer::ObjectId * contId, 
@@ -53,26 +54,26 @@ DataStreamFactory_Impl::DataStreamFactory_Impl() {
 DataStreamFactory_Impl::~DataStreamFactory_Impl() {
 }
 
-void DataStreamFactory_Impl::Setxy( const long x , const long y ) {
+void DataStreamFactory_Impl::Setxy( CORBA::Long x , CORBA::Long y ) {
   _x = x ;
   _y = y ;
 }
 
-void DataStreamFactory_Impl::Getxy( long & x , long & y ) {
+void DataStreamFactory_Impl::Getxy( CORBA::Long & x , CORBA::Long & y ) {
   x = _x ;
   y = _y ;
 }
 
-void DataStreamFactory_Impl::Add( const long x , const long y , long & z ) {
+void DataStreamFactory_Impl::Add( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) {
   z = x+y ;
 }
-void DataStreamFactory_Impl::Sub( const long x , const long y , long & z ) {
+void DataStreamFactory_Impl::Sub( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) {
   z = x-y ;
 }
-void DataStreamFactory_Impl::Mul( const long x , const long y , long & z ) {
+void DataStreamFactory_Impl::Mul( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) {
   z = x*y ;
 }
-void DataStreamFactory_Impl::Div( const long x , const long y , long & z ) {
+void DataStreamFactory_Impl::Div( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) {
   z = x/y ;
 }
 
@@ -135,26 +136,26 @@ DataStream_Impl::~DataStream_Impl() {
   endService( "DataStream_Impl::~DataStream_Impl" );
 }
 
-void DataStream_Impl::StreamSetxy( const long x , const long y ) {
+void DataStream_Impl::StreamSetxy( CORBA::Long x , CORBA::Long y ) {
   _x = x ;
   _y = y ;
 }
 
-void DataStream_Impl::StreamGetxy( long & x , long & y ) {
+void DataStream_Impl::StreamGetxy( CORBA::Long & x , CORBA::Long & y ) {
   x = _x ;
   y = _y ;
 }
 
-void DataStream_Impl::StreamAdd( const long x , const long y , long & z ) {
+void DataStream_Impl::StreamAdd( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) {
   z = x+y ;
 }
-void DataStream_Impl::StreamSub( const long x , const long y , long & z ) {
+void DataStream_Impl::StreamSub( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) {
   z = x-y ;
 }
-void DataStream_Impl::StreamMul( const long x , const long y , long & z ) {
+void DataStream_Impl::StreamMul( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) {
   z = x*y ;
 }
-void DataStream_Impl::StreamDiv( const long x , const long y , long & z ) {
+void DataStream_Impl::StreamDiv( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) {
   z = x/y ;
 }
 
index 69981438ff3a91623c3c7cbe14ccea48852cc2e2..6b2054cf3f9673e736dbe959ce6d2cb39498ee42 100644 (file)
@@ -46,14 +46,14 @@ public:
 
   virtual ~DataStreamFactory_Impl();
 
-  virtual void Setxy( const long x , const long y ) ;
+  virtual void Setxy( CORBA::Long x , CORBA::Long y ) ;
 
-  virtual void Getxy( long & x , long & y ) ;
+  virtual void Getxy( CORBA::Long & x , CORBA::Long & y ) ;
 
-  virtual void Add( const long x , const long y , long & z ) ;
-  virtual void Sub( const long x , const long y , long & z ) ;
-  virtual void Mul( const long x , const long y , long & z ) ;
-  virtual void Div( const long x , const long y , long & z ) ;
+  virtual void Add( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) ;
+  virtual void Sub( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) ;
+  virtual void Mul( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) ;
+  virtual void Div( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) ;
 
   virtual DataStreamComponent::DataStream_ptr NewDataStream() ;
 
@@ -87,14 +87,14 @@ public:
 
   virtual ~DataStream_Impl();
 
-  virtual void StreamSetxy( const long x , const long y ) ;
+  virtual void StreamSetxy( CORBA::Long x , CORBA::Long y ) ;
 
-  virtual void StreamGetxy( long & x , long & y ) ;
+  virtual void StreamGetxy( CORBA::Long & x , CORBA::Long & y ) ;
 
-  virtual void StreamAdd( const long x , const long y , long & z ) ;
-  virtual void StreamSub( const long x , const long y , long & z ) ;
-  virtual void StreamMul( const long x , const long y , long & z ) ;
-  virtual void StreamDiv( const long x , const long y , long & z ) ;
+  virtual void StreamAdd( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) ;
+  virtual void StreamSub( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) ;
+  virtual void StreamMul( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) ;
+  virtual void StreamDiv( CORBA::Long x , CORBA::Long y , CORBA::Long & z ) ;
 
 private:
 
index 3ceb993fd104d1663328c1d9d0acfe3fe58be633..8a7b15b6b591c3688e4225903a834141f29674ba 100644 (file)
@@ -54,6 +54,7 @@ CPPFLAGS+= $(PYTHON_INCLUDES) \
        -I${KERNEL_ROOT_DIR}/include/salome
 LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
+LIBSFORBIN= $(LIBS)
 LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
 @CONCLUDE@
index 9d65455ca4e2e6d98510a6c4a27534a52c46b910..c963256abdd0f093f8b2ff0403854d5dce0bd1f8 100644 (file)
@@ -25,7 +25,6 @@
 //  Author : MARC TAJCHMAN, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -35,6 +34,8 @@ using namespace std;
 //#include "utilities.h"
 #include "DivComponent.hxx"
 
+using namespace std;
+
 DivComponentEngine::DivComponentEngine( CORBA::ORB_ptr orb,
                                    PortableServer::POA_ptr poa,
                                    PortableServer::ObjectId * contId, 
index 179ac1c6aec2573ec307729fef0cf1ca057d90c9..3e4f1a106d1316b2cf9bdc167d1d481597bdebea 100755 (executable)
@@ -51,10 +51,7 @@ BIN_SRC =
 BIN_SERVER_IDL =
 
 CPPFLAGS+= $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-#CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wno-deprecated
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS+= -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -L${KERNEL_ROOT_DIR}/lib/salome
-
+LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification
 
 @CONCLUDE@
 
index 3f65435cc5abe6e08814f73e83f4fb051b5615bc..29a67588d6ac7e2aeb88ff95bfb06cbba3075098 100755 (executable)
@@ -51,10 +51,9 @@ BIN_SRC =
 BIN_SERVER_IDL =
 
 CPPFLAGS+= $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-#CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wno-deprecated
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS+= -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -L${KERNEL_ROOT_DIR}/lib/salome
+LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification
 
+LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
 @CONCLUDE@
 
index a840afcc19474c2cef920e8d193363f42d44ed6b..9d28e5c936bcd7a5c59b3b5cd3d0330f79a1fea8 100644 (file)
@@ -25,7 +25,6 @@
 //  Author : MARC TAJCHMAN, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -35,6 +34,8 @@ using namespace std;
 //#include "utilities.h"
 #include "MulComponent.hxx"
 
+using namespace std;
+
 MulComponentEngine::MulComponentEngine( CORBA::ORB_ptr orb,
                                    PortableServer::POA_ptr poa,
                                    PortableServer::ObjectId * contId, 
index f5d5565328adcb7e932436a83b2e404326874225..dd935eaece52e7b48ebcb903d95ae0a611e8aa28 100755 (executable)
@@ -51,10 +51,10 @@ BIN_SRC = HandleServerSideSignals.cxx
 BIN_SERVER_IDL =
 
 CPPFLAGS+= $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-#CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wno-deprecated
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS+= -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -L${KERNEL_ROOT_DIR}/lib/salome
+LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification
 
+LIBSFORBIN= $(LIBS)
+LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
 @CONCLUDE@
 
index 0da7521cc5c3533040c814508625009c6381d571..6427510e8bb3d4a7622d9dd5218897641179037f 100755 (executable)
@@ -25,7 +25,6 @@
 //  Author : MARC TAJCHMAN, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -35,6 +34,8 @@ using namespace std;
 //#include "utilities.h"
 #include "SIGNALSComponent.hxx"
 
+using namespace std;
+
 SIGNALSComponentEngine::SIGNALSComponentEngine( CORBA::ORB_ptr orb,
                                    PortableServer::POA_ptr poa,
                                    PortableServer::ObjectId * contId, 
@@ -59,7 +60,7 @@ SIGNALSComponentEngine::~SIGNALSComponentEngine()
 {
 }
 
-long SIGNALSComponentEngine::SIGSEGVfunc() {
+CORBA::Long SIGNALSComponentEngine::SIGSEGVfunc() {
   beginService( " SIGNALSComponentEngine::SIGSEGVfunc" );
   int S = 10 ;
   while ( S ) {
@@ -70,7 +71,7 @@ long SIGNALSComponentEngine::SIGSEGVfunc() {
   return nullptr ;
 }
 
-long SIGNALSComponentEngine::SIGFPEfunc( long a , long b ) {
+CORBA::Long SIGNALSComponentEngine::SIGFPEfunc( CORBA::Long a , CORBA::Long b ) {
   beginService( " SIGNALSComponentEngine::SIGFPEfunc" );
   int S = 10 ;
   while ( S ) {
index 8de056cacc070fbd1816dfc8e15af505f6f8fde8..da062133dabe9103b9e43e03eba1d659d31ef1f9 100755 (executable)
@@ -47,8 +47,8 @@ public:
 
   virtual ~SIGNALSComponentEngine();
 
-  long SIGSEGVfunc() ;
-  long SIGFPEfunc( long a , long b ) ;
+  CORBA::Long SIGSEGVfunc() ;
+  CORBA::Long SIGFPEfunc( CORBA::Long a , CORBA::Long b ) ;
 
 private:
 
index 3926c30e2bfd641bee32e67eb94eebf4ee080195..ee239da398c90875aafbde965cc65fe3829eb69b 100644 (file)
 #include <mpi.h>
 #endif
 
+//CCRT
+#include <sstream>
+#include <time.h>
+#include <sys/time.h>
+#include <sys/stat.h>
+//end-CCRT
+
 #include "Container_init_python.hxx"
 
 using namespace std;
index 72614193ff9f4f0cc139b691ba840a521bac64a3..5d716f7b264a5b6f211e3660530c8ad5569c4bf6 100755 (executable)
@@ -25,7 +25,6 @@
 //  Author : MARC TAJCHMAN, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -35,6 +34,8 @@ using namespace std;
 //#include "utilities.h"
 #include "SIGNALSComponent_Impl.hxx"
 
+using namespace std;
+
 SIGNALSComponent_Impl::SIGNALSComponent_Impl( CORBA::ORB_ptr orb,
                                    PortableServer::POA_ptr poa,
                                    PortableServer::ObjectId * contId, 
@@ -59,7 +60,7 @@ SIGNALSComponent_Impl::~SIGNALSComponent_Impl()
 {
 }
 
-long SIGNALSComponent_Impl::SIGSEGVfunc() {
+CORBA::Long SIGNALSComponent_Impl::SIGSEGVfunc() {
   beginService( " SIGNALSComponent_Impl::SIGSEGVfunc" );
   cout << pthread_self() << "SIGNALSComponent_Impl::SIGSEGVfunc" << endl ;
   int S = 1+(int) (15.0*rand()/(RAND_MAX+1.0));
@@ -71,7 +72,7 @@ long SIGNALSComponent_Impl::SIGSEGVfunc() {
   return nullptr ;
 }
 
-long SIGNALSComponent_Impl::SIGFPEfunc( long a , long b ) {
+CORBA::Long SIGNALSComponent_Impl::SIGFPEfunc( CORBA::Long a , CORBA::Long b ) {
   beginService( " SIGNALSComponent_Impl::SIGFPEfunc" );
   cout << pthread_self() << "SIGNALSComponent_Impl::SIGFPEfunc" << endl ;
   int S = 1+(int) (15.0*rand()/(RAND_MAX+1.0));
index 7b2a2c54f9c5072720fe3e49b3c7917ea3a0fe0a..f0edda44df5e998ac16c6ca4497fbbea966de5e6 100755 (executable)
@@ -47,8 +47,8 @@ public:
 
   virtual ~SIGNALSComponent_Impl();
 
-  long SIGSEGVfunc() ;
-  long SIGFPEfunc( long a , long b ) ;
+  CORBA::Long SIGSEGVfunc() ;
+  CORBA::Long SIGFPEfunc( CORBA::Long a , CORBA::Long b ) ;
   void MethodToKill() ;
   void WaitKill() ;
 
index 509a389460dbd5d6b97e15b750a3df609030b673..86eb4ccf250bcfa07b0ed65c5e8250692271fc11 100644 (file)
@@ -41,7 +41,10 @@ LIB = libSIGNALSComponent_Swigcmodule.la
 SWIG_DEF = libSIGNALSComponent_Swig.i
 EXPORT_PYSCRIPTS = libSIGNALSComponent_Swig.py
 
-LIB_SERVER_IDL = 
+LIB_SERVER_IDL = SALOME_Component.idl \
+              SIGNALSComponent.idl \
+              UndefinedSymbolComponent.idl
+
 
 # Executables targets
 BIN = 
@@ -49,10 +52,9 @@ BIN_SRC =
 BIN_SERVER_IDL =
 
 CPPFLAGS+= $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-#CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wno-deprecated
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS+= -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -L${KERNEL_ROOT_DIR}/lib/salome -lSIGNALSComponentEngine
+LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSIGNALSComponentEngine
 
+LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
 @CONCLUDE@
 
index 93cbd8835edd1b0dd0565bb17266fbab15ee0995..3f3fc38b7386b76cac95d1a8335450ba186d0f74 100755 (executable)
@@ -51,10 +51,9 @@ BIN_SRC =
 BIN_SERVER_IDL =
 
 CPPFLAGS+= $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-#CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wno-deprecated
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS+= -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -L${KERNEL_ROOT_DIR}/lib/salome
+LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification
 
+LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
 @CONCLUDE@
 
index 7b35c6dbdd533ee5f8b540ca0e39f4a21fec6fb1..4a9a01dee3ee68372eb7720158c5245c86f8f2e5 100644 (file)
@@ -25,7 +25,6 @@
 //  Author : MARC TAJCHMAN, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -35,6 +34,8 @@ using namespace std;
 //#include "utilities.h"
 #include "SubComponent.hxx"
 
+using namespace std;
+
 SubComponentEngine::SubComponentEngine( CORBA::ORB_ptr orb,
                                    PortableServer::POA_ptr poa,
                                    PortableServer::ObjectId * contId, 
index a5054095154b62eb752de71f2c900ed135780693..aa5e139a5f24be80f0dbb0689a0985f8db4a124d 100755 (executable)
@@ -44,7 +44,8 @@ LIB = libSyrComponentEngine.la
 LIB_SRC = \
        SyrComponent_Impl.cxx 
 
-LIB_SERVER_IDL = SALOME_Component.idl \
+LIB_SERVER_IDL = AddComponent.idl \
+                 SALOME_Component.idl \
                  SyrComponent.idl
 
 # Executables targets
@@ -53,9 +54,7 @@ BIN_SRC =
 BIN_SERVER_IDL =
 
 CPPFLAGS+= $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-#CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wno-deprecated
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS+= -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -L${KERNEL_ROOT_DIR}/lib/salome
+LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
 LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
index 7142a33892108aff0647995c7d055ea2cb860e60..ba948cb93ec161740113aca2c83035e1dfb7a72e 100755 (executable)
@@ -24,7 +24,6 @@
 //  File   : SyrComponent_CheckOfUndefined.cxx
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <iostream>
@@ -33,6 +32,8 @@ using namespace std;
 #include <string>
 #include <math.h>
 
+using namespace std;
+
 // ------------------------------------------------------------------
 // NextPrime : Compute the first prime number greater or equal than an integer
 // ------------------------------------------------------------------
index c4bd484285b4f0a363f52509db6eabf4ec586e1f..d1a01fb0a234d2d9532d484b3a28b0bbab6b2bd8 100755 (executable)
@@ -25,7 +25,6 @@
 //  Author : Jean Rahuel, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -37,6 +36,8 @@ using namespace std;
 #include "SyrComponent_Impl.hxx"
 #include "Adder_Impl.hxx"
 
+using namespace std;
+
 SyrComponent_Impl::SyrComponent_Impl( CORBA::ORB_ptr orb ,
                                      PortableServer::POA_ptr poa ,
                                      PortableServer::ObjectId * contId , 
@@ -59,7 +60,7 @@ SyrComponent_Impl::SyrComponent_Impl() {
 SyrComponent_Impl::~SyrComponent_Impl() {
 }
 
-long SyrComponent_Impl::C_ISEVEN( const long anInteger ) {
+CORBA::Long SyrComponent_Impl::C_ISEVEN( CORBA::Long anInteger ) {
   bool RetVal ;
   beginService( " SyrComponent_Impl::C_ISEVEN" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::C_ISEVEN is Computing");
@@ -73,7 +74,7 @@ long SyrComponent_Impl::C_ISEVEN( const long anInteger ) {
   return RetVal ;
 }
 
-long SyrComponent_Impl::C_ISONE( const long anOddInteger ) {
+CORBA::Long SyrComponent_Impl::C_ISONE( CORBA::Long anOddInteger ) {
   bool RetVal ;
   beginService( " SyrComponent_Impl::C_ISONE" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::C_ISONE is Computing");
@@ -87,7 +88,7 @@ long SyrComponent_Impl::C_ISONE( const long anOddInteger ) {
   return RetVal ;
 }
 
-long SyrComponent_Impl::C_M3( const long anOddInteger ) {
+CORBA::Long SyrComponent_Impl::C_M3( CORBA::Long anOddInteger ) {
   beginService( " SyrComponent_Impl::C_M3" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::C_M3 is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -101,7 +102,7 @@ long SyrComponent_Impl::C_M3( const long anOddInteger ) {
   return ( 3*anOddInteger ) ;
 }
 
-long SyrComponent_Impl::C_M3P1( const long anOddInteger ) {
+CORBA::Long SyrComponent_Impl::C_M3P1( CORBA::Long anOddInteger ) {
   beginService( " SyrComponent_Impl::C_M3P1" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::C_M3P1 is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -115,7 +116,7 @@ long SyrComponent_Impl::C_M3P1( const long anOddInteger ) {
   return ( 3*anOddInteger + 1 ) ;
 }
 
-long SyrComponent_Impl::C_DIV2( const long anEvenInteger ) {
+CORBA::Long SyrComponent_Impl::C_DIV2( CORBA::Long anEvenInteger ) {
   beginService( " SyrComponent_Impl::C_DIV2" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::C_DIV2 is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -129,7 +130,7 @@ long SyrComponent_Impl::C_DIV2( const long anEvenInteger ) {
   return ( anEvenInteger >> 1 ) ;
 }
 
-long SyrComponent_Impl::C_INCR( const long aCount ) {
+CORBA::Long SyrComponent_Impl::C_INCR( CORBA::Long aCount ) {
   beginService( " SyrComponent_Impl::C_INCR" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::C_INCR is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -141,7 +142,7 @@ long SyrComponent_Impl::C_INCR( const long aCount ) {
   return ( aCount + 1 ) ;
 }
 
-void SyrComponent_Impl::CPP_SETLONG( const long aCount ) {
+void SyrComponent_Impl::CPP_SETLONG( CORBA::Long aCount ) {
   beginService( " SyrComponent_Impl::CPP_SETLONG" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::CPP_SETLONG is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -154,7 +155,7 @@ void SyrComponent_Impl::CPP_SETLONG( const long aCount ) {
   return ;
 }
 
-long SyrComponent_Impl::CPP_ADDTOLONG( const long anIncr ) {
+CORBA::Long SyrComponent_Impl::CPP_ADDTOLONG( CORBA::Long anIncr ) {
   beginService( " SyrComponent_Impl::CPP_ADDTOLONG" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::CPP_ADDTOLONG is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -166,7 +167,7 @@ long SyrComponent_Impl::CPP_ADDTOLONG( const long anIncr ) {
   return ( _Count + anIncr ) ;
 }
 
-long SyrComponent_Impl::C_MIN( const long aMinVal , const long anInteger ) {
+CORBA::Long SyrComponent_Impl::C_MIN( CORBA::Long aMinVal , CORBA::Long anInteger ) {
   beginService( " SyrComponent_Impl::C_MIN" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::C_MIN is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -187,7 +188,7 @@ long SyrComponent_Impl::C_MIN( const long aMinVal , const long anInteger ) {
   return min ;
 }
 
-long SyrComponent_Impl::C_MAX( const long aMaxVal , const long anInteger ) {
+CORBA::Long SyrComponent_Impl::C_MAX( CORBA::Long aMaxVal , CORBA::Long anInteger ) {
   beginService( " SyrComponent_Impl::C_MAX" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::C_MAX is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -229,10 +230,10 @@ SuperVisionTest::ListOfSyr_ptr SyrComponent_Impl::C_LISTOFSYR() {
 }
 
 SuperVisionTest::ListOfSyr_ptr SyrComponent_Impl::C_AVERAGE(
-                       const SuperVisionTest::ListOfSyr_ptr aListOfSyr ,
-                       const long anInteger ,
-                       const long aCount ,
-                       double & anAverage ) {
+                       SuperVisionTest::ListOfSyr_ptr aListOfSyr ,
+                       CORBA::Long anInteger ,
+                       CORBA::Long aCount ,
+                       CORBA::Double & anAverage ) {
   beginService( " SyrComponent_Impl::C_AVERAGE" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl::C_AVERAGE is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -259,7 +260,7 @@ SuperVisionTest::ListOfSyr_ptr SyrComponent_Impl::C_AVERAGE(
   return SuperVisionTest::ListOfSyr::_duplicate( aListOfSyr ) ;
 }
 
-SuperVisionTest::Syr_ptr SyrComponent_Impl::Init( const long anOddInteger ) {
+SuperVisionTest::Syr_ptr SyrComponent_Impl::Init( CORBA::Long anOddInteger ) {
   beginService( "SyrComponent_Impl::Init" );
   sendMessage(NOTIF_STEP, "SyrComponent_Impl creates Syr_Impl");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -340,7 +341,7 @@ Syr_Impl::Syr_Impl( CORBA::ORB_ptr orb ,
                     const char * interfaceName , 
                    const char * graphName ,
                     const char * nodeName ,
-                    const long anOddInteger ) :
+                    const CORBA::Long anOddInteger ) :
   SyrComponent_Impl(orb, poa, contId, instanceName, interfaceName,false) {
   Names( graphName , nodeName ) ;
   MESSAGE("Syr_Impl::Syr_Impl activate object instanceName("
@@ -364,7 +365,7 @@ Syr_Impl::~Syr_Impl() {
   endService( "Syr_Impl::~Syr_Impl" );
 }
 
-long Syr_Impl::Initial() {
+CORBA::Long Syr_Impl::Initial() {
   beginService( " Syr_Impl::Initial" );
   sendMessage(NOTIF_STEP, "Syr_Impl::Initial is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -376,7 +377,7 @@ long Syr_Impl::Initial() {
   return _InitialInteger ;
 }
 
-long Syr_Impl::Current() {
+CORBA::Long Syr_Impl::Current() {
   beginService( " Syr_Impl::Current" );
   sendMessage(NOTIF_STEP, "Syr_Impl::Current is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
@@ -388,7 +389,7 @@ long Syr_Impl::Current() {
   return _CurrentInteger ;
 }
 
-long Syr_Impl::IsEven() {
+CORBA::Long Syr_Impl::IsEven() {
   bool RetVal ;
   beginService( " Syr_Impl::IsEven" );
   sendMessage(NOTIF_STEP, "Syr_Impl::IsEven is Computing");
@@ -403,7 +404,7 @@ long Syr_Impl::IsEven() {
   return RetVal ;
 }
 
-long Syr_Impl::IsOne() {
+CORBA::Long Syr_Impl::IsOne() {
   bool RetVal ;
   beginService( " Syr_Impl::IsOne" );
   sendMessage(NOTIF_STEP, "Syr_Impl::IsOne is Computing");
@@ -418,7 +419,7 @@ long Syr_Impl::IsOne() {
   return RetVal ;
 }
 
-long Syr_Impl::Count() {
+CORBA::Long Syr_Impl::Count() {
   beginService( " Syr_Impl::Count" );
   sendMessage(NOTIF_STEP, "Syr_Impl::Count is Computing");
 //  int S = 1+(int) (2.0*rand()/(RAND_MAX+1.0));
index 80921e666760bfb411edcd7f45270844c084c535..7e76995d6b0a29c08da3fa4992b97cfd1d46c07a 100755 (executable)
@@ -48,35 +48,35 @@ public:
 
   virtual ~SyrComponent_Impl();
 
-  virtual long C_ISEVEN( const long anInteger ) ;
+  virtual CORBA::Long C_ISEVEN( CORBA::Long anInteger ) ;
 
-  virtual long C_ISONE( const long anOddInteger ) ;
+  virtual CORBA::Long C_ISONE( CORBA::Long anOddInteger ) ;
 
-  virtual long C_M3( const long anOddInteger ) ;
+  virtual CORBA::Long C_M3( CORBA::Long anOddInteger ) ;
 
-  virtual long C_M3P1( const long anOddInteger ) ;
+  virtual CORBA::Long C_M3P1( CORBA::Long anOddInteger ) ;
 
-  virtual long C_DIV2( const long anEvenInteger ) ;
+  virtual CORBA::Long C_DIV2( CORBA::Long anEvenInteger ) ;
 
-  virtual long C_INCR( const long aCount ) ;
+  virtual CORBA::Long C_INCR( CORBA::Long aCount ) ;
 
-  virtual void CPP_SETLONG( const long aLong ) ;
+  virtual void CPP_SETLONG( CORBA::Long aLong ) ;
 
-  virtual long CPP_ADDTOLONG( const long anIncr ) ;
+  virtual CORBA::Long CPP_ADDTOLONG( CORBA::Long anIncr ) ;
 
-  virtual long C_MIN( const long aMinVal , const long anInteger ) ;
+  virtual CORBA::Long C_MIN( CORBA::Long aMinVal , CORBA::Long anInteger ) ;
 
-  virtual long C_MAX( const long aMaxVal , const long anInteger ) ;
+  virtual CORBA::Long C_MAX( CORBA::Long aMaxVal , CORBA::Long anInteger ) ;
 
   virtual SuperVisionTest::ListOfSyr_ptr C_LISTOFSYR() ;
 
   virtual SuperVisionTest::ListOfSyr_ptr C_AVERAGE(
-                       const SuperVisionTest::ListOfSyr_ptr aListOfSyr ,
-                       const long anInteger ,
-                       const long aCount ,
-                       double & anAverage ) ;
+                       SuperVisionTest::ListOfSyr_ptr aListOfSyr ,
+                       CORBA::Long anInteger ,
+                       CORBA::Long aCount ,
+                       CORBA::Double & anAverage ) ;
 
-  virtual SuperVisionTest::Syr_ptr Init( const long anOddInteger ) ;
+  virtual SuperVisionTest::Syr_ptr Init( CORBA::Long anOddInteger ) ;
 
 private:
 
@@ -124,19 +124,19 @@ public:
             const char *interfaceName , 
             const char * graphName ,
             const char * nodeName ,
-            const long anOddInteger );
+            const CORBA::Long anOddInteger );
 
   virtual ~Syr_Impl();
 
-  virtual long Initial() ;
+  virtual CORBA::Long Initial() ;
 
-  virtual long Current() ;
+  virtual CORBA::Long Current() ;
 
-  virtual long IsEven() ;
+  virtual CORBA::Long IsEven() ;
 
-  virtual long IsOne() ;
+  virtual CORBA::Long IsOne() ;
 
-  virtual long Count() ;
+  virtual CORBA::Long Count() ;
 
   virtual void M3p1() ;
 
index 961205b5ab5d49d6973942ddbd38848e07dfac28..10559fdd9ea7061aff232aaeeb2aec4ebd50f363 100644 (file)
@@ -51,12 +51,13 @@ BIN = TestFunctions \
        TestFunctionsMemory4
 BIN_SRC = 
 BIN_CLIENT_IDL = SALOME_Component.idl \
+                 SALOME_ContainerManager.idl \
                  AddComponent.idl
 
 CPPFLAGS+= $(PYTHON_INCLUDES)  -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
 LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeNS -lOpUtil 
 
+LIBSFORBIN= $(LIBS)
 LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeLifeCycleCORBA -lSalomeNS -lOpUtil 
 
 @CONCLUDE@
index 519bea95cbcd24789e6b88eea01dd02e240fef6f..a80a3f55a10d4192f85dc661f88b2945cf3fde88 100755 (executable)
@@ -42,7 +42,8 @@ LIB = libTypesCheckEngine.la
 LIB_SRC = \
        TypesCheck_Impl.cxx 
 
-LIB_SERVER_IDL = TypesCheck.idl \
+LIB_SERVER_IDL = SALOME_Component.idl \
+                TypesCheck.idl \
                 AddComponent.idl
 
 # Executables targets
@@ -51,10 +52,10 @@ BIN_SRC =
 BIN_SERVER_IDL =
 
 CPPFLAGS+= $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS+= -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -L${KERNEL_ROOT_DIR}/lib/salome
+LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
-LDFLAGSFORBIN+= -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace -L${KERNEL_ROOT_DIR}/lib/salome
+LIBSFORBIN= $(LIBS)
+LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
 @CONCLUDE@
 
index 209a39d486e65b64faf19b78c7b597f8f32cb143..7b3c7fc960eef1e358f76def5ca1ac47466ea342 100644 (file)
 //  File   : TypesCheck_CheckOfUndefined.cxx
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <iostream>
 #include <fstream>
 #include <unistd.h>
 
 #include "TypesCheck_Impl.hxx"
 
+using namespace std;
+
 int main(int argc, char **argv) {
   return 0;
 }
index cda6c8c8360841d5f6c5e5bf254344e1b5e56ab1..0b081abe378b7893c450af4f4801606d4f120dc8 100644 (file)
@@ -25,7 +25,6 @@
 //  Author : Jean Rahuel
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -34,6 +33,8 @@ using namespace std;
 
 #include "TypesCheck_Impl.hxx"
 
+using namespace std;
+
 TypesCheck_Impl::TypesCheck_Impl( CORBA::ORB_ptr orb ,
                                  PortableServer::POA_ptr poa ,
                                  PortableServer::ObjectId * contId , 
@@ -66,31 +67,31 @@ void TypesCheck_Impl::StringCheck( const char * InString , _CORBA_String_out Out
   endService( "TypesCheck_Impl::StringCheck" );
 }
 
-void TypesCheck_Impl::BoolCheck( const bool InBool , bool & OutBool ) {
+void TypesCheck_Impl::BoolCheck( bool InBool , bool & OutBool ) {
   beginService( "TypesCheck_Impl::BoolCheck" );
   OutBool = InBool ;
   endService( "TypesCheck_Impl::BoolCheck" );
 }
 
-void TypesCheck_Impl::CharCheck( const unsigned char InChar , unsigned char & OutChar ) {
+void TypesCheck_Impl::CharCheck( unsigned char InChar , unsigned char & OutChar ) {
   beginService( "TypesCheck_Impl::CharCheck" );
   OutChar = InChar ;
   endService( "TypesCheck_Impl::CharCheck" );
 }
 
-void TypesCheck_Impl::ShortCheck( const short InShort , short & OutShort ) {
+void TypesCheck_Impl::ShortCheck( short InShort , short & OutShort ) {
   beginService( "TypesCheck_Impl::ShortCheck" );
   OutShort = InShort ;
   endService( "TypesCheck_Impl::ShortCheck" );
 }
 
-void TypesCheck_Impl::IntCheck( const int InInt , int & OutInt ) {
+void TypesCheck_Impl::IntCheck( int InInt , int & OutInt ) {
   beginService( "TypesCheck_Impl::IntCheck" );
   OutInt = InInt ;
   endService( "TypesCheck_Impl::IntCheck" );
 }
 
-void TypesCheck_Impl::LongCheck( const long InLong , long & OutLong ) {
+void TypesCheck_Impl::LongCheck( CORBA::Long InLong , CORBA::Long & OutLong ) {
   beginService( "TypesCheck_Impl::LongCheck" );
   int inInt = InLong ;
   int outInt = OutLong ;
@@ -99,25 +100,25 @@ void TypesCheck_Impl::LongCheck( const long InLong , long & OutLong ) {
   endService( "TypesCheck_Impl::LongCheck" );
 }
 
-void TypesCheck_Impl::FloatCheck( const float InFloat , float & OutFloat ) {
+void TypesCheck_Impl::FloatCheck( float InFloat , float & OutFloat ) {
   beginService( "TypesCheck_Impl::FloatCheck" );
   OutFloat = InFloat ;
   endService( "TypesCheck_Impl::FloatCheck" );
 }
 
-void TypesCheck_Impl::DoubleCheck( const double InDouble , double & OutDouble ) {
+void TypesCheck_Impl::DoubleCheck( double InDouble , double & OutDouble ) {
   beginService( "TypesCheck_Impl::DoubleCheck" );
   OutDouble = InDouble ;
   endService( "TypesCheck_Impl::DoubleCheck" );
 }
 
-void TypesCheck_Impl::ObjRefCheck( const SuperVisionTest::Adder_ptr InObjRef , SuperVisionTest::Adder_out OutObjRef ) {
+void TypesCheck_Impl::ObjRefCheck( SuperVisionTest::Adder_ptr InObjRef , SuperVisionTest::Adder_out OutObjRef ) {
   beginService( "TypesCheck_Impl::ObjRefCheck" );
   OutObjRef = SuperVisionTest::Adder::_duplicate( InObjRef ) ;
   endService( "TypesCheck_Impl::ObjRefCheck" );
 }
 
-void TypesCheck_Impl::MiscTypes( const char * InString , const bool InBool , const unsigned char InChar , const short InShort , const long InLong , const float InFloat , const double InDouble , const SuperVisionTest::Adder_ptr InObjRef , _CORBA_String_out OutString ,bool & OutBool , unsigned char & OutChar , short & OutShort , long & OutLong , float & OutFloat , double & OutDouble , SuperVisionTest::Adder_out OutObjRef ) {
+void TypesCheck_Impl::MiscTypes( const char * InString , bool InBool , unsigned char InChar , short InShort , CORBA::Long InLong , float InFloat , double InDouble , SuperVisionTest::Adder_ptr InObjRef , _CORBA_String_out OutString ,bool & OutBool , unsigned char & OutChar , short & OutShort , CORBA::Long & OutLong , float & OutFloat , double & OutDouble , SuperVisionTest::Adder_out OutObjRef ) {
   beginService( "TypesCheck_Impl::MiscTypes" );
   OutString = CORBA::string_dup( InString ) ;
   OutBool = InBool ;
index 987b7d6225ffbdff493a93f1a189a14b306a7769..a12035cc96d0c804db8bae31acc44b92bc58d469 100644 (file)
@@ -52,23 +52,23 @@ class TypesCheck_Impl : public POA_SuperVisionTest::TypesCheck ,
 
     virtual void StringCheck( const char * InString , _CORBA_String_out OutString ) ;
 
-    virtual void BoolCheck( const bool InBool , bool & OutBool ) ;
+    virtual void BoolCheck( CORBA::Boolean InBool , CORBA::Boolean & OutBool ) ;
 
-    virtual void CharCheck( const unsigned char InChar , unsigned char & OutChar ) ;
+    virtual void CharCheck( unsigned char InChar , unsigned char & OutChar ) ;
 
-    virtual void ShortCheck( const short InShort , short & OutShort ) ;
+    virtual void ShortCheck( short InShort , short & OutShort ) ;
 
-    virtual void IntCheck( const int InInt , int & OutInt ) ;
+    virtual void IntCheck( int InInt , int & OutInt ) ;
 
-    virtual void LongCheck( const long InLong , long & OutLong ) ;
+    virtual void LongCheck( CORBA::Long InLong , CORBA::Long & OutLong ) ;
 
-    virtual void FloatCheck( const float InFloat , float & OutFloat ) ;
+    virtual void FloatCheck( float InFloat , float & OutFloat ) ;
 
-    virtual void DoubleCheck( const double InDouble , double & OutDouble ) ;
+    virtual void DoubleCheck( double InDouble , double & OutDouble ) ;
 
-    virtual void ObjRefCheck( const SuperVisionTest::Adder_ptr InObjRef , SuperVisionTest::Adder_out OutObjRef ) ;
+    virtual void ObjRefCheck( SuperVisionTest::Adder_ptr InObjRef , SuperVisionTest::Adder_out OutObjRef ) ;
 
-    virtual void MiscTypes( const char * InString , const bool InBool , const unsigned char InChar , const short InShort , const long InLong , const float InFloat , const double InDouble , SuperVisionTest::Adder_ptr InObjRef , _CORBA_String_out OutString , bool & OutBool , unsigned char & OutChar , short & OutShort , long & OutLong , float & OutFloat , double & OutDouble , SuperVisionTest::Adder_out OutObjRef ) ;
+    virtual void MiscTypes( const char * InString , CORBA::Boolean InBool , unsigned char InChar , short InShort , CORBA::Long InLong , float InFloat , double InDouble , SuperVisionTest::Adder_ptr InObjRef , _CORBA_String_out OutString , CORBA::Boolean & OutBool , unsigned char & OutChar , short & OutShort , CORBA::Long & OutLong , float & OutFloat , double & OutDouble , SuperVisionTest::Adder_out OutObjRef ) ;
 
   private:
 
index dabcf4a446b54ab35381090621f5254191b3d502..ae1a1bba65f3634ff5bceccbabd0d73da134219a 100755 (executable)
@@ -51,10 +51,9 @@ BIN_SRC =
 BIN_SERVER_IDL =
 
 CPPFLAGS+= $(PYTHON_INCLUDES) -I${KERNEL_ROOT_DIR}/include/salome
-#CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wno-deprecated
-CXXFLAGS= -g -D_DEBUG_ -D__x86__ -D__linux__ $(PYTHON_INCLUDES) -ftemplate-depth-42 -Wall -I${KERNEL_ROOT_DIR}/include/salome
-LDFLAGS+= -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -L${KERNEL_ROOT_DIR}/lib/salome
+LDFLAGS+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification
 
+LDFLAGSFORBIN+= -L${KERNEL_ROOT_DIR}/lib/salome -lSalomeContainer -lSalomeNS -lOpUtil -lRegistry -lSalomeNotification -lSALOMELocalTrace
 
 @CONCLUDE@
 
index 283da605f1428ea4d020fc7fd3a9d5ec0308ab0d..4e126564148b8a04e355b3facfca6235b168f47e 100755 (executable)
@@ -25,7 +25,6 @@
 //  Author : MARC TAJCHMAN, CEA
 //  Module : SuperVisionTest
 
-using namespace std;
 #include <stdio.h>
 #include <unistd.h>
 #include <fstream>
@@ -35,6 +34,8 @@ using namespace std;
 //#include "utilities.h"
 #include "UndefinedSymbolComponent.hxx"
 
+using namespace std;
+
 UndefinedSymbolComponentEngine::UndefinedSymbolComponentEngine( CORBA::ORB_ptr orb,
                                    PortableServer::POA_ptr poa,
                                    PortableServer::ObjectId * contId, 
@@ -59,7 +60,7 @@ UndefinedSymbolComponentEngine::~UndefinedSymbolComponentEngine()
 
 extern "C" { long CallUndefined() ; } ;
 
-long UndefinedSymbolComponentEngine::UndefinedSymbol() {
+CORBA::Long UndefinedSymbolComponentEngine::UndefinedSymbol() {
   beginService( " UndefinedSymbolComponentEngine::UndefinedSymbol" );
   int S = 10 ;
   while ( S ) {
index 731354460f77b53579e8a9ca602aa57e5422b7c4..c871364a566c2fd83ca3187e391dec70b13c5599 100755 (executable)
@@ -47,7 +47,7 @@ public:
 
   virtual ~UndefinedSymbolComponentEngine();
 
-  long UndefinedSymbol() ;
+  CORBA::Long UndefinedSymbol() ;
 
 private: