CatapultServer
v0.5.0.1 (Elephant)
|
Go to the documentation of this file.
28 namespace catapult {
namespace observers {
32 #define NOTIFY_MODE_LIST \
39 #define ENUM_VALUE(LABEL) LABEL,
ObserverStatementBuilder & StatementBuilder()
Statement builder.
Definition: ObserverContext.cpp:82
cache::CatapultCacheDelta & Cache
Catapult cache.
Definition: ObserverContext.h:64
cache::CatapultCacheDelta & Cache
Catapult cache.
Definition: ObserverContext.h:86
Context passed to all the observers.
Definition: ObserverContext.h:78
model::ResolverContext Bind(const model::ResolverContext &resolverContext, model::BlockStatementBuilder &statementBuilder)
Binds resolverContext to statementBuilder.
Definition: ObserverStatementBuilder.cpp:50
Delta on top of a catapult cache.
Definition: CatapultCacheDelta.h:31
Context used to resolve unresolved types.
Definition: ResolverContext.h:28
ObserverStatementBuilder m_statementBuilder
Definition: ObserverContext.h:105
state::CatapultState & State
Catapult state.
Definition: ObserverContext.h:67
NotifyMode
Enumeration of possible notification modes.
Definition: ObserverContext.h:41
model::BlockStatementBuilder * pBlockStatementBuilder
Optional block statement builder.
Definition: ObserverContext.h:70
ObserverState(cache::CatapultCacheDelta &cache, state::CatapultState &state)
Creates an observer state around cache and state.
Definition: ObserverContext.cpp:38
const model::ResolverContext Resolvers
Alias resolvers.
Definition: ObserverContext.h:98
Block independent mutable state passed to all observers.
Definition: ObserverContext.h:54
ObserverContext(const ObserverState &state, Height height, NotifyMode mode, const model::ResolverContext &resolvers)
Definition: ObserverContext.cpp:69
Collection of receipts scoped to a block.
Definition: BlockStatementBuilder.h:27
Stateful catapult information.
Definition: CatapultState.h:27
const NotifyMode Mode
Notification mode.
Definition: ObserverContext.h:95
Definition: AddressExtractionExtension.cpp:28
std::ostream & operator<<(std::ostream &out, NotifyMode value)
Insertion operator for outputting value to out.
Facade on top of a block statement builder that is accessible by observers.
Definition: ObserverStatementBuilder.h:28
const catapult::Height Height
Current height.
Definition: ObserverContext.h:92
state::CatapultState & State
Catapult state.
Definition: ObserverContext.h:89