DART
6.10.1
|
class ConnectionBody More...
#include <ConnectionBody.hpp>
Public Types | |
using | SlotType = typename SignalType::SlotType |
Public Member Functions | |
ConnectionBody (SignalType &signal, const SlotType &_slot) | |
Constructor given slot. More... | |
ConnectionBody (SignalType &signal, SlotType &&_slot) | |
Move constructor given slot. More... | |
virtual | ~ConnectionBody () |
Destructor. More... | |
void | disconnect () override |
Disconnect. More... | |
const SlotType & | getSlot () const |
Get slot. More... | |
Private Attributes | |
SignalType & | mSignal |
Signal of this connection. More... | |
SlotType | mSlot |
Slot. More... | |
class ConnectionBody
using dart::common::signal::detail::ConnectionBody< SignalType >::SlotType = typename SignalType::SlotType |
dart::common::signal::detail::ConnectionBody< SignalType >::ConnectionBody | ( | SignalType & | signal, |
const SlotType & | _slot | ||
) |
Constructor given slot.
dart::common::signal::detail::ConnectionBody< SignalType >::ConnectionBody | ( | SignalType & | signal, |
SlotType && | _slot | ||
) |
Move constructor given slot.
|
virtual |
Destructor.
|
overridevirtual |
Disconnect.
Implements dart::common::signal::detail::ConnectionBodyBase.
const ConnectionBody< SignalType >::SlotType & dart::common::signal::detail::ConnectionBody< SignalType >::getSlot |
Get slot.
|
private |
Signal of this connection.
|
private |
Slot.