CatapultServer
v0.5.0.1 (Elephant)
|
Public Member Functions | |
DefaultAggregateNotificationObserver (NotificationObserverPointerVector &&observers) | |
const std::string & | name () const override |
Gets the observer name. More... | |
std::vector< std::string > | names () const override |
Gets the names of all sub observers. More... | |
void | notify (const TNotification ¬ification, ObserverContext &context) const override |
Notifies the observer with a notification to process and an observer context. More... | |
Public Member Functions inherited from catapult::observers::NotificationObserverT< TNotification > | |
virtual | ~NotificationObserverT ()=default |
Private Member Functions | |
template<typename TIter > | |
void | notifyAll (TIter begin, TIter end, const TNotification ¬ification, ObserverContext &context) const |
Private Attributes | |
NotificationObserverPointerVector | m_observers |
std::string | m_name |
Additional Inherited Members | |
Public Types inherited from catapult::observers::NotificationObserverT< TNotification > | |
using | NotificationType = TNotification |
Notification type. More... | |
|
inlineexplicit |
|
inlineoverridevirtual |
Gets the observer name.
Implements catapult::observers::NotificationObserverT< TNotification >.
|
inlineoverridevirtual |
Gets the names of all sub observers.
Implements catapult::observers::AggregateNotificationObserverT< TNotification >.
|
inlineoverridevirtual |
Notifies the observer with a notification to process and an observer context.
Implements catapult::observers::NotificationObserverT< TNotification >.
|
inlineprivate |
|
private |
|
private |