DART
6.10.1
|
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. More... | |
Connection | connect (const SlotType &_slot) |
Connect a slot to the signal. More... | |
Private Attributes | |
T::SignalType & | mSignal |
Signal. More... | |
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.
using dart::common::SlotRegister< T >::SignalType = typename T::SignalType |
using dart::common::SlotRegister< T >::SlotType = typename T::SlotType |
dart::common::SlotRegister< T >::SlotRegister | ( | typename T::SignalType & | _signal | ) |
Constructor given signal.
Connection dart::common::SlotRegister< T >::connect | ( | const SlotType & | _slot | ) |
Connect a slot to the signal.
|
private |