Signal dispatcher.
More...
#include <base/Listener.h>
Inherits UnaryOperation< LISTENER *, void >.
|
typedef LISTENER * | Argument |
|
typedef void | Result |
|
template<class SENDER, class LISTENER>
class Signal< SENDER, LISTENER >
Signal dispatcher.
Class responsible for dispatching a signal to a listener.
- Version
- 1.0
◆ Signal() [1/2]
template<class SENDER , class LISTENER >
Signal< SENDER, LISTENER >::Signal |
( |
const Sender * |
_sender, |
|
|
Member |
_member |
|
) |
| |
|
inlinenoexcept |
Initializes the signal.
- Parameters
-
sender | The sender. |
member | The end-point of the signal. |
◆ Signal() [2/2]
template<class SENDER , class LISTENER >
Initialize signal from other signal.
◆ operator()()
template<class SENDER , class LISTENER >
void Signal< SENDER, LISTENER >::operator() |
( |
Listener * |
listener | ) |
const |
|
inline |