]> Creatis software - bbtk.git/commitdiff
#2495 BBTK Bug New Normal - Boost signals deprecated -> signals2
authordavila <eduardo.davila@creatis.insa-lyon.fr>
Mon, 29 Dec 2014 09:31:33 +0000 (10:31 +0100)
committerdavila <eduardo.davila@creatis.insa-lyon.fr>
Mon, 29 Dec 2014 09:31:33 +0000 (10:31 +0100)
kernel/src/bbtkBlackBox.h
kernel/src/bbtkInterpreterVirtual.h
kernel/src/bbtkPackage.cxx
kernel/src/bbtkWx.h

index 17f59999f2296b6ab9159df9a75917298f139007..7ce4db38bf19210d33a0864711746d94a4198165 100644 (file)
@@ -56,7 +56,7 @@
 #include <set>
 
 // Signal/slot mechanism for output change events
-#include <boost/signal.hpp>
+#include <boost/signals2/signal.hpp>
 #include <boost/bind.hpp>
 
 
@@ -84,8 +84,8 @@ namespace bbtk
     //==================================================================
     // Types
     //==================================================================
-    typedef boost::signals::trackable OutputChangeObserverType;
-    typedef boost::signal<void (bbtk::BlackBox::Pointer,
+    typedef boost::signals2::trackable OutputChangeObserverType;
+    typedef boost::signals2::signal<void (bbtk::BlackBox::Pointer,
                                const std::string&,
                                IOStatus)>  OutputChangeSignalType;
     typedef OutputChangeSignalType::slot_function_type
index eedfe03b6f9b895b33b7864ee602ce677c1a25f1..8370cc2b3025926aa6202000644fd87780521bcb 100644 (file)
@@ -58,7 +58,7 @@
 #include <deque>
 
 // Signal/slot mechanism for 'break' commands
-#include <boost/signal.hpp>
+//#include <boost/signals2/signal.hpp>
 #include <boost/bind.hpp>
 
 namespace bbtk
index 16f4ffbf692335afcb22c3d115116272ff7b0403..f2929573f4a53cca6312bf340632f68da3b59935 100644 (file)
@@ -396,6 +396,7 @@ namespace bbtk
     bbtkDebugMessage("package",3,"* Symbol ["<<getvername
                     <<"] found"<<std::endl);
     // version matches ?
+
     if (getbbtkversion() != bbtk::GetVersion())
       {
        bbtkMessage("package",0,
index 7b306658649dbc8a373009979db58a1e7acb9967..52eca34bd2365486c8308aeb7ecd4835cf86353b 100644 (file)
@@ -77,7 +77,7 @@ typedef void wxBusyCursor;
 // SIGNAL/SLOT MECHANISM 
 // FOR bbtk WINDOWS CREATION/DESTRUCTION OBSERVATION 
 // BBTKWXSIG
-#include <boost/signal.hpp>
+#include <boost/signals2/signal.hpp>
 #include <boost/bind.hpp>
 // \BBTKWXSIG
 //===========================================================================
@@ -99,8 +99,8 @@ namespace bbtk
   {    
   public:
     // BBTKWXSIG
-    typedef boost::signals::trackable SignalObserver;
-    typedef boost::signal<void ()>  Signal_type;
+    typedef boost::signals2::trackable SignalObserver;
+    typedef boost::signals2::signal<void ()>  Signal_type;
     typedef Signal_type::slot_function_type Slot_function_type;
     // \BBTKWXSIG