CatapultServer  v0.5.0.1 (Elephant)
LocalNodeStateRef.h
Go to the documentation of this file.
1 
21 #pragma once
22 
23 namespace catapult {
24  namespace cache { class CatapultCache; }
25  namespace config { class CatapultConfiguration; }
26  namespace extensions { class LocalNodeChainScore; }
27  namespace io { class BlockStorageCache; }
28  namespace state { struct CatapultState; }
29 }
30 
31 namespace catapult { namespace extensions {
32 
35  public:
39  const config::CatapultConfiguration& config,
40  state::CatapultState& state,
41  cache::CatapultCache& cache,
42  io::BlockStorageCache& storage,
43  LocalNodeChainScore& score)
44  : Config(config)
45  , State(state)
46  , Cache(cache)
47  , Storage(storage)
48  , Score(score)
49  {}
50 
51  public:
54 
57 
60 
63 
66  };
67 }}
catapult::extensions::LocalNodeStateRef
A reference to a local node's basic state.
Definition: LocalNodeStateRef.h:34
catapult::extensions::LocalNodeStateRef::Config
const config::CatapultConfiguration & Config
Catapult configuration.
Definition: LocalNodeStateRef.h:53
catapult::extensions::LocalNodeStateRef::State
state::CatapultState & State
Local node state.
Definition: LocalNodeStateRef.h:56
catapult::extensions::LocalNodeStateRef::LocalNodeStateRef
LocalNodeStateRef(const config::CatapultConfiguration &config, state::CatapultState &state, cache::CatapultCache &cache, io::BlockStorageCache &storage, LocalNodeChainScore &score)
Definition: LocalNodeStateRef.h:38
catapult::config::CatapultConfiguration
Comprehensive configuration for a catapult process.
Definition: CatapultConfiguration.h:34
catapult::io::BlockStorageCache
Definition: BlockStorageCache.h:97
catapult::cache::CatapultCache
Central cache holding all sub caches.
Definition: CatapultCache.h:40
catapult::state::CatapultState
Stateful catapult information.
Definition: CatapultState.h:27
catapult::extensions::LocalNodeStateRef::Cache
cache::CatapultCache & Cache
Local node cache.
Definition: LocalNodeStateRef.h:59
catapult::extensions::LocalNodeChainScore
Definition: LocalNodeChainScore.h:29
catapult
Definition: AddressExtractionExtension.cpp:28
catapult::extensions::LocalNodeStateRef::Score
LocalNodeChainScore & Score
Local node score.
Definition: LocalNodeStateRef.h:65
catapult::extensions::LocalNodeStateRef::Storage
io::BlockStorageCache & Storage
Local node storage.
Definition: LocalNodeStateRef.h:62