# BOOST Library
BOOST_CPPFLAGS = @BOOST_CPPFLAGS@
+BOOST_LIBSUFFIX = @BOOST_LIBSUFFIX@
BOOST_LIBS = @BOOST_LIBS@
-BOOST_LIBTHREAD = @BOOST_LIBTHREAD@
# JAVA
$(BOOST_CPPFLAGS)
LDFLAGS+= $(VTK_LIBS) $(QT_LIBS) \
- $(BOOST_LIBS) -lboost_thread${BOOST_LIBTHREAD} \
+ $(BOOST_LIBS) -lboost_thread${BOOST_LIBSUFFIX} \
-L${MED_ROOT_DIR}/lib/salome -lMEDWrapper \
-L${GUI_ROOT_DIR}/lib/salome -lVTKViewer
@COMMENCE@
EXPORT_HEADERS = \
+ VISU_BoostSignals.h \
VISU_ActorFactory.h \
VISU_GaussPtsSettings.h \
VISU_GaussPtsActorFactory.h \
-L${KERNEL_ROOT_DIR}/lib/salome
LIBS+= \
- -lboost_signals${BOOST_LIBTHREAD} \
+ -lboost_signals${BOOST_LIBSUFFIX} \
-lSalomeObject \
-lVisuPipeLine \
-lSVTK
#include "SALOME_Actor.h"
#include "VISU_ActorFactory.h"
+#include "VISU_BoostSignals.h"
#include <string>
#include <vtkSmartPointer.h>
-#include <boost/signals/signal1.hpp>
-#include <boost/signals/trackable.hpp>
class vtkProp;
class vtkProperty;
//----------------------------------------------------------------------------
class VTKOCC_EXPORT VISU_Actor :
public SALOME_Actor,
- public boost::BOOST_SIGNALS_NAMESPACE::trackable
+ public boost::signalslib::trackable
{
public:
vtkTypeMacro(VISU_Actor,SALOME_Actor);
#ifndef VISU_ACTOR_FACTORY_H
#define VISU_ACTOR_FACTORY_H
-#include <boost/signals/trackable.hpp>
+#include "VISU_BoostSignals.h"
class VISU_Actor;
This interface inherits from boost::bsignals::trackable in order to provide automatic
diconnection from defined signals if the object is destroyed.
*/
- struct TActorFactory: public virtual boost::BOOST_SIGNALS_NAMESPACE::trackable
+ struct TActorFactory: public virtual boost::signalslib::trackable
{
//! Just to make this class virtual
virtual
--- /dev/null
+// VISU OBJECT : interactive object for VISU entities implementation
+//
+// 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 :
+// Author :
+// Module : VISU
+// $Header$
+
+#ifndef VISU_BOOST_SIGNALS_H
+#define VISU_BOOST_SIGNALS_H
+
+#ifdef signals
+# ifndef QOBJECTDEFS_H
+# error "Cannot recover the siganlas macro definition"
+# else
+# define EXTERNAL_SIGNALS_DEFINITION
+# undef signals
+# endif
+#endif
+
+#include <boost/signals.hpp>
+
+namespace boost {
+ namespace signalslib = BOOST_SIGNALS_NAMESPACE;
+}
+
+#ifdef EXTERNAL_SIGNALS_DEFINITION
+# undef EXTERNAL_SIGNALS_DEFINITION
+# ifdef QT_MOC_CPP
+# define signals signals
+# else
+# define signals protected
+# endif
+#endif
+
+#endif //VISU_BOOST_SIGNALS_H
-L${GUI_ROOT_DIR}/lib/salome \
-L${MED_ROOT_DIR}/lib/salome
-LIBS+= -lboost_signals${BOOST_LIBTHREAD} \
+LIBS+= -lboost_signals${BOOST_LIBSUFFIX} \
-lSalomeHDFPersist \
-lSalomeGenericObj \
-lSalomeContainer \
#include "SALOME_GenericObj_i.hh"
#include "SALOME_InteractiveObject.hxx"
-#include <boost/signals/signal0.hpp>
#include <vtkSmartPointer.h>
class VISU_PipeLine;
#define __VISU_RESULT_I_H__
#include "VISUConfig.hh"
+#include "VISU_BoostSignals.h"
#include "SALOME_GenericObj_i.hh"
-#include <boost/signals/trackable.hpp>
-#include <boost/signals/signal0.hpp>
-
#include <gp_Dir.hxx>
#include <vector>
namespace VISU
{
//----------------------------------------------------------------------------
- class MinMaxCunsomer: public virtual boost::BOOST_SIGNALS_NAMESPACE::trackable
+ class MinMaxCunsomer: public virtual boost::signalslib::trackable
{
protected:
bool myMinMaxIsInitilized;