CatapultServer  v0.5.0.1 (Elephant)
catapult::observers::EntityObserver Class Referenceabstract
Inheritance diagram for catapult::observers::EntityObserver:

Public Member Functions

virtual ~EntityObserver ()=default
 
virtual const std::string & name () const =0
 Gets the observer name. More...
 
virtual void notify (const model::WeakEntityInfo &entityInfo, ObserverContext &context) const =0
 Notifies the observer with an entityInfo to process and an observer context. More...
 

Detailed Description

A weakly typed entity observer.

Note
This intended to be used only for execution-only situations (e.g. block loading and rollback).

Constructor & Destructor Documentation

◆ ~EntityObserver()

virtual catapult::observers::EntityObserver::~EntityObserver ( )
virtualdefault

Member Function Documentation

◆ name()

virtual const std::string& catapult::observers::EntityObserver::name ( ) const
pure virtual

◆ notify()

virtual void catapult::observers::EntityObserver::notify ( const model::WeakEntityInfo entityInfo,
ObserverContext context 
) const
pure virtual

Notifies the observer with an entityInfo to process and an observer context.

Implemented in catapult::observers::NotificationObserverAdapter, and catapult::observers::ReverseNotificationObserverAdapter.


The documentation for this class was generated from the following file: