Home
last modified time | relevance | path

Searched refs:signals2 (Results 1 – 25 of 79) sorted by relevance

1234

/third_party/boost/libs/signals2/test/
Dsignal_n_test.cpp81 boost::signals2::signal0<int, max_or_default<int>, std::string> s0; in test_zero_args()
82 boost::signals2::connection c2 = s0.connect(i2); in test_zero_args()
83 boost::signals2::connection c72 = s0.connect("72", i72); in test_zero_args()
84 boost::signals2::connection c62 = s0.connect("6x", i62); in test_zero_args()
85 boost::signals2::connection c42 = s0.connect(i42); in test_zero_args()
86 boost::signals2::connection c37 = s0.connect(&get_37); in test_zero_args()
118 boost::signals2::signal0<int, max_or_default<int> > s0; in test_zero_args()
119 boost::signals2::connection c2 = s0.connect(i2); in test_zero_args()
120 boost::signals2::connection c72 = s0.connect(i72); in test_zero_args()
121 boost::signals2::connection c62 = s0.connect(i62); in test_zero_args()
[all …]
Dsignal_test.cpp76 boost::signals2::signal<int (), max_or_default<int> > s0; in test_zero_args()
79 boost::signals2::connection c2 = s0.connect(i2); in test_zero_args()
80 boost::signals2::connection c72 = s0.connect(72, i72); in test_zero_args()
81 boost::signals2::connection c62 = s0.connect(60, i62); in test_zero_args()
82 boost::signals2::connection c42 = s0.connect(i42); in test_zero_args()
111 boost::signals2::signal<int (), max_or_default<int> > s0; in test_zero_args()
112 boost::signals2::connection c2 = s0.connect(i2); in test_zero_args()
113 boost::signals2::connection c72 = s0.connect(i72); in test_zero_args()
114 boost::signals2::connection c62 = s0.connect(i62); in test_zero_args()
115 boost::signals2::connection c42 = s0.connect(i42); in test_zero_args()
[all …]
Ddeconstruct_test.cpp17 class X: public boost::signals2::postconstructible {
34 class Y: public boost::signals2::predestructible {
53 class by_deconstruct_only: public boost::signals2::postconstructible {
68 friend class boost::signals2::deconstruct_access;
103 friend class boost::signals2::deconstruct_access;
117 boost::shared_ptr<X> x = boost::signals2::deconstruct_ptr(new X); in deconstruct_ptr_test()
120 boost::shared_ptr<Y> x = boost::signals2::deconstruct_ptr(new Y); in deconstruct_ptr_test()
123 boost::shared_ptr<Z> z = boost::signals2::deconstruct_ptr(new Z); in deconstruct_ptr_test()
140 boost::shared_ptr<X> x = boost::signals2::deconstruct<X>(); in deconstruct_test()
143 boost::shared_ptr<Y> x = boost::signals2::deconstruct<Y>(); in deconstruct_test()
[all …]
Dthreading_models_test.cpp77 …typedef boost::signals2::signal<void (), slot_counter, int, std::less<int>, boost::function<void (… in BOOST_AUTO_TEST_CASE()
78 …boost::function<void (const boost::signals2::connection &)>, recursion_checking_dummy_mutex> sig0_… in BOOST_AUTO_TEST_CASE()
80 …typedef boost::signals2::signal<void (), slot_counter, int, std::less<int>, boost::function<void (… in BOOST_AUTO_TEST_CASE()
81 boost::function<void (const boost::signals2::connection &)>, boost::mutex> sig0_mt_type; in BOOST_AUTO_TEST_CASE()
83 …typedef boost::signals2::signal<void (), slot_counter, int, std::less<int>, boost::function<void (… in BOOST_AUTO_TEST_CASE()
84 …boost::function<void (const boost::signals2::connection &)>, boost::signals2::dummy_mutex> sig0_st… in BOOST_AUTO_TEST_CASE()
Dshared_connection_block_test.cpp20 static boost::array<boost::signals2::connection, 4> connections;
37 boost::signals2::signal<void ()> s0; in BOOST_AUTO_TEST_CASE()
47 boost::signals2::shared_connection_block block(connections.at(2)); in BOOST_AUTO_TEST_CASE()
61 const boost::signals2::connection conn = connections.at(1); in BOOST_AUTO_TEST_CASE()
62 boost::signals2::shared_connection_block block(conn); in BOOST_AUTO_TEST_CASE()
77 boost::signals2::shared_connection_block block(connections.at(3), false); in BOOST_AUTO_TEST_CASE()
91 boost::signals2::shared_connection_block block; in BOOST_AUTO_TEST_CASE()
101 boost::signals2::shared_connection_block block2(connections.at(0)); in BOOST_AUTO_TEST_CASE()
Ddeletion_test.cpp17 static boost::signals2::connection connections[5];
44 boost::signals2::signal<void ()> s0; in test_remove_self()
119 boost::signals2::signal<void ()> s0; in test_remove_prior()
158 boost::signals2::signal<void ()> s0; in test_remove_after()
197 boost::signals2::signal<void ()> s0; in test_bloodbath()
218 boost::signals2::signal<void ()> s0; in test_disconnect_equal()
247 sig = new boost::signals2::signal<void(void)>(); in signal_deletion_tester()
270 boost::signals2::signal<void(void)> *sig;
272 boost::signals2::connection connection0;
273 boost::signals2::connection connection1;
Dtrackable_test.cpp22 struct short_lived : public boost::signals2::trackable {
51 struct self_deleting : public boost::signals2::trackable {
52 void delete_myself(boost::signals2::connection connection) in delete_myself()
66 boost::signals2::signal<void () > sig; in test_immediate_disconnect_on_delete()
74 typedef boost::signals2::signal<int (int), max_or_default<int> > sig_type; in BOOST_AUTO_TEST_CASE()
Ddeadlock_regression_test.cpp18 #define BOOST_TEST_MODULE signals2 deadlock regression test
25 namespace bs2 = boost::signals2;
61 boost::signals2::connection m_conReleaseSelf;
62 boost::signals2::connection m_conDoNothing;
Dregression_test.cpp17 typedef boost::signals2::signal<void ()> sig0_type;
68 typedef boost::signals2::signal<void (), slot_counter> signal_type; in scoped_connection_test()
71 boost::signals2::scoped_connection conn(sig.connect(&my_slot)); in scoped_connection_test()
95 boost::signals2::signal<int& ()> rTest; in reference_return_test()
Dordering_test.cpp73 boost::signals2::signal in test_group_compare()
76 boost::signals2::last_value<int>, in test_group_compare()
94 boost::signals2::signal<void ()> sig; in BOOST_AUTO_TEST_CASE()
115 sig.connect(emit_int(17), boost::signals2::at_front); in BOOST_AUTO_TEST_CASE()
Dmutex_test.cpp264 test_lock<boost::signals2::mutex>()(); in do_test_mutex()
267 test_trylock<boost::signals2::mutex>()(); in do_test_mutex()
269 test_lock_exclusion<boost::signals2::mutex>()(); in do_test_mutex()
279 test_lock<boost::signals2::dummy_mutex>()(); in do_test_dummy_mutex()
280 test_trylock<boost::signals2::dummy_mutex>()(); in do_test_dummy_mutex()
Ddead_slot_test.cpp18 typedef boost::signals2::signal<int (int)> sig_type;
37 boost::signals2::connection c = sig.connect(slot); in do_delayed_connect()
Dtrack_test.cpp59 typedef boost::signals2::signal<int (int), max_or_default<int> > sig_type; in BOOST_AUTO_TEST_CASE()
61 boost::signals2::connection connection; in BOOST_AUTO_TEST_CASE()
90 boost::signals2::slot<int (double)> other_slot(&myfunc, boost::cref(*shorty.get()), _1); in BOOST_AUTO_TEST_CASE()
/third_party/boost/boost/signals2/detail/
Dlwm_win32_cs.hpp38 namespace signals2 namespace
96 boost::signals2::detail::critical_section cs_;
106 …boost::signals2::detail::InitializeCriticalSectionEx(reinterpret_cast< boost::signals2::detail::rt… in mutex()
108 …boost::signals2::detail::InitializeCriticalSection(reinterpret_cast< boost::signals2::detail::rtl_… in mutex()
114 …boost::signals2::detail::DeleteCriticalSection(reinterpret_cast< boost::signals2::detail::rtl_crit… in ~mutex()
119 …boost::signals2::detail::EnterCriticalSection(reinterpret_cast< boost::signals2::detail::rtl_criti… in lock()
125 …return boost::signals2::detail::TryEnterCriticalSection(reinterpret_cast< boost::signals2::detail:… in try_lock()
136 …boost::signals2::detail::LeaveCriticalSection(reinterpret_cast< boost::signals2::detail::rtl_criti… in unlock()
Dpreprocessed_arg_type.hpp19 #define BOOST_PP_FILENAME_1 <boost/signals2/detail/preprocessed_arg_type_template.hpp>
24 namespace signals2 namespace
/third_party/boost/libs/signals2/
DREADME.md16signals2/tree/master) | [![Build Status](https://travis-ci.org/boostorg/signals2.svg?branch=master…
17signals2/tree/develop) | [![Build Status](https://travis-ci.org/boostorg/signals2.svg?branch=devel…
31 * [Ask questions](http://stackoverflow.com/questions/ask?tags=c%2B%2B,boost,boost-signals2)
32 * [Report bugs](https://github.com/boostorg/signals2/issues): Be sure to mention Boost version, pla…
34 …ttp://www.boost.org/community/policy.html) before posting and add the `[signals2]` tag at the begi…
/third_party/boost/libs/signals2/example/
Ddisconnect_and_block.cpp25 boost::signals2::signal<void ()> sig; in disconnect_example()
28 boost::signals2::connection c = sig.connect(HelloWorld()); in disconnect_example()
40 boost::signals2::signal<void ()> sig; in block_example()
43 boost::signals2::connection c = sig.connect(HelloWorld()); in block_example()
48 boost::signals2::shared_connection_block block(c); // block the slot in block_example()
67 boost::signals2::signal<void ()> sig; in scoped_connection_example()
71 boost::signals2::scoped_connection c(sig.connect(ShortLived())); in scoped_connection_example()
86 boost::signals2::signal<void()> sig; in disconnect_by_slot_example()
Ddoc_view_acm_deconstruct.cpp25 typedef boost::signals2::signal<void ()> signal_t;
33 boost::signals2::connection connect(const signal_t::slot_type &subscriber) in connect()
76 friend class boost::signals2::deconstruct_access;
113 friend class boost::signals2::deconstruct_access;
121 namespace bs2 = boost::signals2;
Ddoc_view.cpp20 typedef boost::signals2::signal<void ()> signal_t;
28 boost::signals2::connection connect(const signal_t::slot_type &subscriber) in connect()
70 boost::signals2::connection m_connection;
101 boost::signals2::connection m_connection;
Dpassing_slots.cpp19 typedef boost::signals2::signal<void (int x, int y)> OnClick;
23 boost::signals2::connection doOnClick(const OnClickSlotType & slot);
31 boost::signals2::connection Button::doOnClick(const OnClickSlotType & slot) in doOnClick()
/third_party/boost/boost/signals2/
Dshared_connection_block.hpp20 namespace signals2 namespace
25 shared_connection_block(const signals2::connection &conn = signals2::connection(), in shared_connection_block()
53 signals2::connection connection() const in connection()
55 return signals2::connection(_weak_connection_body); in connection()
Dvariadic_signal.hpp28 namespace signals2 namespace
38 typedef boost::function<R (const boost::signals2::connection &, Args...)> function_type;
Dpostconstructible.hpp22 namespace signals2 namespace
30 …void do_postconstruct(const boost::signals2::postconstructible_adl_barrier::postconstructible *ptr…
Ddeconstruct_ptr.hpp27 namespace signals2 namespace
71 shared_ptr<T> shared(ptr, boost::signals2::predestructing_deleter<T>()); in deconstruct_ptr()
Dpreprocessed_signal.hpp29 #define BOOST_PP_FILENAME_1 <boost/signals2/detail/signal_template.hpp>
34 namespace signals2 namespace

1234