CatapultServer  v0.5.0.1 (Elephant)
AliasedDataObservers.cpp File Reference
Include dependency graph for AliasedDataObservers.cpp:

Namespaces

 catapult
 
 catapult::observers
 

Macros

#define DEFINE_ALIASED_DATA_OBSERVER(OBSERVER_NAME, NOTIFICATION)
 

Macro Definition Documentation

◆ DEFINE_ALIASED_DATA_OBSERVER

#define DEFINE_ALIASED_DATA_OBSERVER (   OBSERVER_NAME,
  NOTIFICATION 
)
Value:
DEFINE_OBSERVER(OBSERVER_NAME, NOTIFICATION, [](const auto& notification, const ObserverContext& context) { \
AliasedObserverHandler(context, notification); \
})
DEFINE_OBSERVER
#define DEFINE_OBSERVER(NAME, NOTIFICATION_TYPE, HANDLER)
Defines a functional observer with NAME for notifications of type NOTIFICATION_TYPE around HANDLER.
Definition: ObserverTypes.h:51