Go to the source code of this file.
|
#define | DECLARE_OBSERVER(NAME, NOTIFICATION_TYPE) observers::NotificationObserverPointerT<NOTIFICATION_TYPE> Create##NAME##Observer |
| Declares an observer with NAME for notifications of type NOTIFICATION_TYPE. More...
|
|
#define | MAKE_OBSERVER(NAME, NOTIFICATION_TYPE, HANDLER) std::make_unique<observers::FunctionalNotificationObserverT<NOTIFICATION_TYPE>>(#NAME "Observer", HANDLER); |
| Makes a functional observer with NAME for notifications of type NOTIFICATION_TYPE around HANDLER. More...
|
|
#define | DEFINE_OBSERVER(NAME, NOTIFICATION_TYPE, HANDLER) |
| Defines a functional observer with NAME for notifications of type NOTIFICATION_TYPE around HANDLER. More...
|
|
◆ DECLARE_OBSERVER
#define DECLARE_OBSERVER |
( |
|
NAME, |
|
|
|
NOTIFICATION_TYPE |
|
) |
| observers::NotificationObserverPointerT<NOTIFICATION_TYPE> Create##NAME##Observer |
Declares an observer with NAME for notifications of type NOTIFICATION_TYPE.
◆ DEFINE_OBSERVER
#define DEFINE_OBSERVER |
( |
|
NAME, |
|
|
|
NOTIFICATION_TYPE, |
|
|
|
HANDLER |
|
) |
| |
Value:
Defines a functional observer with NAME for notifications of type NOTIFICATION_TYPE around HANDLER.
◆ MAKE_OBSERVER
#define MAKE_OBSERVER |
( |
|
NAME, |
|
|
|
NOTIFICATION_TYPE, |
|
|
|
HANDLER |
|
) |
| std::make_unique<observers::FunctionalNotificationObserverT<NOTIFICATION_TYPE>>(#NAME "Observer", HANDLER); |
Makes a functional observer with NAME for notifications of type NOTIFICATION_TYPE around HANDLER.