CatapultServer  v0.5.0.1 (Elephant)
StateChangeInfo.h
Go to the documentation of this file.
1 
21 #pragma once
24 #include "catapult/types.h"
25 
26 namespace catapult { namespace subscribers {
27 
29  struct StateChangeInfo {
30  public:
32  StateChangeInfo(cache::CacheChanges&& cacheChanges, const model::ChainScore& scoreDelta, Height height)
33  : CacheChanges(std::move(cacheChanges))
34  , ScoreDelta(scoreDelta)
35  , Height(height)
36  {}
37 
38  public:
41 
44 
47  };
48 }}
catapult::utils::BaseValue< uint64_t, Height_tag >
catapult::model::ChainScore
Definition: ChainScore.h:30
catapult::cache::CacheChanges
Provides common view of aggregate cache changes.
Definition: CacheChanges.h:111
catapult::subscribers::StateChangeInfo::StateChangeInfo
StateChangeInfo(cache::CacheChanges &&cacheChanges, const model::ChainScore &scoreDelta, Height height)
Creates state change information around cacheChanges, scoreDelta and height.
Definition: StateChangeInfo.h:32
catapult::subscribers::StateChangeInfo::ScoreDelta
const model::ChainScore ScoreDelta
Chain score delta.
Definition: StateChangeInfo.h:43
ChainScore.h
CacheChanges.h
catapult::subscribers::StateChangeInfo
State change information.
Definition: StateChangeInfo.h:29
types.h
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::subscribers::StateChangeInfo::Height
const catapult::Height Height
New chain height.
Definition: StateChangeInfo.h:46
catapult::subscribers::StateChangeInfo::CacheChanges
const cache::CacheChanges CacheChanges
Cache changes.
Definition: StateChangeInfo.h:40