CatapultServer  v0.5.0.1 (Elephant)
catapult::observers::ObserverState Struct Reference

Block independent mutable state passed to all observers. More...

Collaboration diagram for catapult::observers::ObserverState:

Public Member Functions

 ObserverState (cache::CatapultCacheDelta &cache, state::CatapultState &state)
 Creates an observer state around cache and state. More...
 
 ObserverState (cache::CatapultCacheDelta &cache, state::CatapultState &state, model::BlockStatementBuilder &blockStatementBuilder)
 Creates an observer state around cache, state and blockStatementBuilder. More...
 

Public Attributes

cache::CatapultCacheDeltaCache
 Catapult cache. More...
 
state::CatapultStateState
 Catapult state. More...
 
model::BlockStatementBuilderpBlockStatementBuilder
 Optional block statement builder. More...
 

Detailed Description

Block independent mutable state passed to all observers.

Constructor & Destructor Documentation

◆ ObserverState() [1/2]

catapult::observers::ObserverState::ObserverState ( cache::CatapultCacheDelta cache,
state::CatapultState state 
)

Creates an observer state around cache and state.

◆ ObserverState() [2/2]

catapult::observers::ObserverState::ObserverState ( cache::CatapultCacheDelta cache,
state::CatapultState state,
model::BlockStatementBuilder blockStatementBuilder 
)

Creates an observer state around cache, state and blockStatementBuilder.

Member Data Documentation

◆ Cache

cache::CatapultCacheDelta& catapult::observers::ObserverState::Cache

Catapult cache.

◆ pBlockStatementBuilder

model::BlockStatementBuilder* catapult::observers::ObserverState::pBlockStatementBuilder

Optional block statement builder.

◆ State

state::CatapultState& catapult::observers::ObserverState::State

Catapult state.


The documentation for this struct was generated from the following files: