From dc634226c35a21007e3c8d37c03c7d39c21a3894 Mon Sep 17 00:00:00 2001 From: smh Date: Mon, 26 Jan 2004 14:21:23 +0000 Subject: [PATCH] MPV: Merge V1.2c --- src/GenericObj/Makefile.in | 46 +++++++++++ src/GenericObj/SALOME_GenericObj_i.cc | 61 ++++++++++++++ src/GenericObj/SALOME_GenericObj_i.hh | 56 +++++++++++++ src/Makefile.in | 2 +- src/SALOMEDS/Makefile.in | 2 +- src/Utils/utilities.h | 109 -------------------------- 6 files changed, 165 insertions(+), 111 deletions(-) create mode 100644 src/GenericObj/Makefile.in create mode 100644 src/GenericObj/SALOME_GenericObj_i.cc create mode 100644 src/GenericObj/SALOME_GenericObj_i.hh delete mode 100644 src/Utils/utilities.h diff --git a/src/GenericObj/Makefile.in b/src/GenericObj/Makefile.in new file mode 100644 index 000000000..5839dfaee --- /dev/null +++ b/src/GenericObj/Makefile.in @@ -0,0 +1,46 @@ +# Copyright (C) 2003 CEA/DEN, EDF R&D +# +# +# +# File : Makefile.in +# Author : Alexey Petrov +# Module : VISU +# $Header: + +top_srcdir=@top_srcdir@ +top_builddir=../.. +srcdir=@srcdir@ +VPATH=.:@srcdir@:@top_srcdir@/idl + + +@COMMENCE@ + +# Libraries targets +LIB = libSalomeGenericObj.la +LIB_SRC = SALOME_GenericObj_i.cc + +LIB_SERVER_IDL = SALOME_GenericObj.idl +LIB_CLIENT_IDL = + +# Executables targets +BIN = +BIN_SRC = + +BIN_CLIENT_IDL = +BIN_SERVER_IDL = + +EXPORT_HEADERS = SALOME_GenericObj_i.hh + +# additionnal information to compil and link file +CPPFLAGS += + +LDFLAGS += + +LIBS += + +# additional file to be cleaned +MOSTLYCLEAN += +CLEAN += +DISTCLEAN += + +@CONCLUDE@ \ No newline at end of file diff --git a/src/GenericObj/SALOME_GenericObj_i.cc b/src/GenericObj/SALOME_GenericObj_i.cc new file mode 100644 index 000000000..93aaa9d8e --- /dev/null +++ b/src/GenericObj/SALOME_GenericObj_i.cc @@ -0,0 +1,61 @@ +// SALOME_GenericObj_i_CC +// +// Copyright (C) 2003 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, +// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.opencascade.org/SALOME/ or email : webmaster.salome@opencascade.org +// +// +// File : SALOME_GenericObj_i.cc +// Author : Alexey PETROV +// Module : SALOME + +#include "SALOME_GenericObj_i.hh" +#include "utilities.h" + +using namespace SALOME; + +GenericObj_i::GenericObj_i(PortableServer::POA_ptr thePOA): myRefCounter(1){ + INFOS("GenericObj_i::GenericObj_i() - this = "< -#include -#include "SALOME_Log.hxx" - -/* --- INFOS is always defined (without _DEBUG_): to be used for warnings, with release version --- */ - -#define INFOS(msg) {SLog.putMessage(SLog<<__FILE__<<" ["<<__LINE__<<"] : "<