20 May
2015
20 May
'15
10:20 p.m.
Edward Diener wrote:
I understand that with Synapse you are merely making a call at a convenient point in order to emit a signal, whereas with signals2 you need to have a boost::signals2::signal object somewhere for the particular signal triggering before you can emit a signal or have connections to handle the signal. But in Synapse you also must have a signal emitter which is accesible for the event handlers making the connection to the event. This to me is equivalent to boost::signals2 having a signal object.
You can use an already existing object as the emitter, such as a HWND, or a third-party UI button object.