file
Emitter.hClass Corrade::
Namespaces
- namespace Corrade
- Root namespace.
- namespace Corrade::Interconnect
- Signal/slot connections.
Classes
- class Corrade::Interconnect::Emitter
- Emitter object.
- class Corrade::Interconnect::Emitter::Signal
- Signature for signals.
Functions
-
template<class EmitterObject, class Emitter, class Functor, class ... Args>auto connect(EmitterObject& emitter, Interconnect::Emitter::Signal(Emitter::*)(Args...) signal, Functor&& slot) -> Connection
- Connect signal to function slot.
-
template<class EmitterObject, class Emitter, class Receiver, class ReceiverObject, class ... Args>auto connect(EmitterObject& emitter, Interconnect::Emitter::Signal(Emitter::*)(Args...) signal, ReceiverObject& receiver, void(Receiver::*)(Args...) slot) -> Connection
- Connect signal to member function slot.
- auto disconnect(Emitter& emitter, const Connection& connection) -> bool
- Disconnect a signal/slot connection.