dart
|
SlotRegister can be used as a public member for connecting slots to a private Signal member. More...
#include <Signal.hpp>
Public Types | |
using | SlotType = typename T::SlotType |
using | SignalType = typename T::SignalType |
Public Member Functions | |
SlotRegister (typename T::SignalType &_signal) | |
Constructor given signal. | |
Connection | connect (const SlotType &_slot) |
Connect a slot to the signal. | |
SlotRegister can be used as a public member for connecting slots to a private Signal member.
In this way you won't have to write forwarding connect/disconnect boilerplate for your classes.