I was implementing a wrapper that would allow me to perfectly forward my handler (in this case Widget object) into a callable that I can then use as a ...
I was implementing a wrapper that would allow me to perfectly forward my handler (in this case Widget object) into a callable that I can then use as a ...
like in the title: does anyone know how to properly write Doxygen documentation of the signature of a boost::signals2 /** * @brief aSignal * void ...
For a project, I try to create asynchronous boost signals, it seems to work, but valgrind tells me the opposite. In the following example you can see ...
Is it possible to configure (at compile time) boost::signals2 to use std::shared_ptr instead of boost::shared_ptr, for e.g. in calls like boost::signa ...
How can one call a boost signals2 slot on a separate thread without blocking the thread that is emitting the signal? I would like to get the functiona ...
I have the following class which uses a simple boost::Signals2::Signal: I use the class like the following: But the Function demo is not disconn ...
I wondered whether the following code is safe with respect to the fact that the signal might be triggered by a different thread: EDIT: added an ima ...
I have written a small test program to understand the signal and slot mechanism provided by boost and their behavior when posted in different thread. ...
I'm a research programmer developing autonomy systems for unmanned vehicles and I'm in the middle of modifying some open source code from another proj ...
I have the following template class. Since R can be void I get an invalid indirection compile error on line It seems it cannot be solved by a ru ...
I am trying to connect a gui to my logic thread using boosts signals and slots, the logic class has a neat method to connect functions to the signal. ...
As can be seen in the code below (implemented as an illustration of the problem), I'm trying to send a signal from an inner class to a mid class, whic ...
In my basic c++ book, there is no class declaration like below. the strange code for me is ... the things in round brackets (const std:::string...) ...
I have the following: class B listens to a boost::signal2 of class C and when triggered will execute a callback given by class A and that executes a ...
Suppose I have four threads, with the following objects: Thread 1: manages a boost::signals2 object. Call it s. Thread 2: manages a X object and a r ...
I'm working on a game at the moment, and I'm planning on using the signals2 library for event handling in C++. However, I don't understand how it all ...
I am currently trying to implement a member function of a class which allows for setting a callback that is either itself a member function (of a pote ...
I'm using boost::signals2 and have a connection management issue. I'm storing scoped_connections in a list that is later pruned. However, I have found ...
My (boost.msm) state machine appears to 'roll-back' when using signal handlers to trigger events. However, when I use direct calls to trigger events t ...
I'd like to wrap the result of a std::bind() or a lambda in a helper function that tracks the execution time of calls to the function. I'd like a gene ...