~ubuntu-branches/ubuntu/trusty/plee-the-bear/trusty-proposed

« back to all changes in this revision

Viewing changes to bear-engine/core/src/engine/variable/var_map.hpp

  • Committer: Package Import Robot
  • Author(s): Vincent Cheng, Evgeni Golov, Gonéri Le Bouder, Julien Jorge, Vincent Cheng
  • Date: 2014-01-23 13:20:52 UTC
  • mfrom: (6.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20140123132052-r0kg74mh6egto11t
Tags: 0.6.0-2
* Team upload.

[ Evgeni Golov ]
* Correct Vcs-* URLs to point to anonscm.debian.org

[ Gonéri Le Bouder ]
* import patches by Julien Jorge to fix a FTBFS  with the current
  Boost.FileSystem (closes: #720819)
* Add myself in Uploaders
* Indent the B-D

[ Julien Jorge ]
* Add mipsn32el mips64 mips64el in the architecures (closes: #726176)
* Add a patch to use the full path to the icon in the menu files
  (closes: #726853)

[ Vincent Cheng ]
* Refresh patches.
* Update to Standards version 3.9.5.
* Update to source format "3.0 (quilt)".

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
#include <claw/meta/type_list.hpp>
37
37
 
38
38
#include <string>
39
 
#include <boost/signal.hpp>
 
39
#include <boost/signals2.hpp>
40
40
 
41
41
namespace bear
42
42
{
59
59
 
60
60
      /** \brief The types of the signals used to observe the variables. */
61
61
      typedef claw::meta::type_list_maker
62
 
      < boost::signal<void (int)>*, boost::signal<void (unsigned int)>*,
63
 
        boost::signal<void (bool)>*, boost::signal<void (double)>*,
64
 
        boost::signal<void (std::string)>* >::result signal_types;
 
62
      < boost::signals2::signal<void (int)>*, boost::signals2::signal<void (unsigned int)>*,
 
63
        boost::signals2::signal<void (bool)>*, boost::signals2::signal<void (double)>*,
 
64
        boost::signals2::signal<void (std::string)>* >::result signal_types;
65
65
 
66
66
      /**
67
67
       * \brief The map containing the signals associated with the variables.
78
78
      public:
79
79
        template<typename T>
80
80
        void operator()
81
 
        ( const std::string& name, boost::signal<void (T)>* value ) const;
 
81
        ( const std::string& name, boost::signals2::signal<void (T)>* value ) const;
82
82
 
83
83
      }; // class delete_signal
84
84
 
133
133
      var_map& operator=( const var_map& that );
134
134
 
135
135
      template<typename T>
136
 
      boost::signal<void (T)>& variable_changed( const std::string& name );
 
136
      boost::signals2::signal<void (T)>& variable_changed( const std::string& name );
137
137
 
138
138
      template<typename T>
139
139
      void set( const std::string& k, const T& v );