Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 10:08:48

0001 // Boost.Signals2 library
0002 
0003 // Copyright Frank Mori Hess 2007-2008.
0004 // Use, modification and
0005 // distribution is subject to the Boost Software License, Version
0006 // 1.0. (See accompanying file LICENSE_1_0.txt or copy at
0007 // http://www.boost.org/LICENSE_1_0.txt)
0008 
0009 // For more information, see http://www.boost.org
0010 
0011 #ifndef BOOST_SIGNALS2_SIGNAL_BASE_HPP
0012 #define BOOST_SIGNALS2_SIGNAL_BASE_HPP
0013 
0014 #include <boost/core/noncopyable.hpp>
0015 #include <boost/shared_ptr.hpp>
0016 
0017 namespace boost {
0018   namespace signals2 {
0019     class slot_base;
0020 
0021     class signal_base : public noncopyable
0022     {
0023     public:
0024       friend class slot_base;
0025 
0026       virtual ~signal_base() {}
0027     protected:
0028       virtual shared_ptr<void> lock_pimpl() const = 0;
0029     };
0030   } // end namespace signals2
0031 } // end namespace boost
0032 
0033 #endif // BOOST_SIGNALS2_SIGNAL_BASE_HPP