Kagome
Polkadot Runtime Engine in C++17
kagome::application::KagomeApplicationImpl Class Reference

#include <kagome_application_impl.hpp>

Inheritance diagram for kagome::application::KagomeApplicationImpl:
Collaboration diagram for kagome::application::KagomeApplicationImpl:

Public Member Functions

 ~KagomeApplicationImpl () override=default
 
 KagomeApplicationImpl (const AppConfiguration &config)
 
int chainInfo () override
 Prints chain info. More...
 
int recovery () override
 Runs recovery mode. More...
 
void run () override
 Runs node. More...
 
- Public Member Functions inherited from kagome::application::KagomeApplication
virtual ~KagomeApplication ()=default
 

Private Types

template<class T >
using sptr = std::shared_ptr< T >
 
template<class T >
using uptr = std::unique_ptr< T >
 

Private Attributes

const AppConfigurationapp_config_
 
uptr< injector::KagomeNodeInjectorinjector_
 
log::Logger logger_
 
sptr< boost::asio::io_context > io_context_
 
sptr< AppStateManagerapp_state_manager_
 
sptr< ChainSpecchain_spec_
 
sptr< clock::SystemClockclock_
 
sptr< consensus::babe::Babebabe_
 
sptr< consensus::grandpa::Grandpagrandpa_
 
sptr< metrics::Exposerexposer_
 
sptr< network::Routerrouter_
 
sptr< network::PeerManagerpeer_manager_
 
sptr< api::ApiServicejrpc_api_service_
 
sptr< network::StateProtocolObserverstate_observer_
 
sptr< network::SyncProtocolObserversync_observer_
 
sptr< parachain::ParachainObserverImplparachain_observer_
 
sptr< parachain::ParachainProcessorImplparachain_processor_
 
sptr< metrics::MetricsWatchermetrics_watcher_
 
sptr< telemetry::TelemetryServicetelemetry_service_
 

Detailed Description

Definition at line 18 of file kagome_application_impl.hpp.

Member Typedef Documentation

template<class T >
using kagome::application::KagomeApplicationImpl::sptr = std::shared_ptr<T>
private

Definition at line 20 of file kagome_application_impl.hpp.

template<class T >
using kagome::application::KagomeApplicationImpl::uptr = std::unique_ptr<T>
private

Definition at line 23 of file kagome_application_impl.hpp.

Constructor & Destructor Documentation

kagome::application::KagomeApplicationImpl::~KagomeApplicationImpl ( )
overridedefault
kagome::application::KagomeApplicationImpl::KagomeApplicationImpl ( const AppConfiguration config)
explicit

Definition at line 20 of file kagome_application_impl.cpp.

Member Function Documentation

int kagome::application::KagomeApplicationImpl::chainInfo ( )
overridevirtual

Prints chain info.

Implements kagome::application::KagomeApplication.

Definition at line 31 of file kagome_application_impl.cpp.

int kagome::application::KagomeApplicationImpl::recovery ( )
overridevirtual

Runs recovery mode.

Implements kagome::application::KagomeApplication.

Definition at line 36 of file kagome_application_impl.cpp.

void kagome::application::KagomeApplicationImpl::run ( )
overridevirtual

Runs node.

Implements kagome::application::KagomeApplication.

Definition at line 43 of file kagome_application_impl.cpp.

Member Data Documentation

const AppConfiguration& kagome::application::KagomeApplicationImpl::app_config_
private

Definition at line 37 of file kagome_application_impl.hpp.

sptr<AppStateManager> kagome::application::KagomeApplicationImpl::app_state_manager_
private

Definition at line 42 of file kagome_application_impl.hpp.

sptr<consensus::babe::Babe> kagome::application::KagomeApplicationImpl::babe_
private

Definition at line 45 of file kagome_application_impl.hpp.

sptr<ChainSpec> kagome::application::KagomeApplicationImpl::chain_spec_
private

Definition at line 43 of file kagome_application_impl.hpp.

sptr<clock::SystemClock> kagome::application::KagomeApplicationImpl::clock_
private

Definition at line 44 of file kagome_application_impl.hpp.

sptr<metrics::Exposer> kagome::application::KagomeApplicationImpl::exposer_
private

Definition at line 47 of file kagome_application_impl.hpp.

sptr<consensus::grandpa::Grandpa> kagome::application::KagomeApplicationImpl::grandpa_
private

Definition at line 46 of file kagome_application_impl.hpp.

uptr<injector::KagomeNodeInjector> kagome::application::KagomeApplicationImpl::injector_
private

Definition at line 38 of file kagome_application_impl.hpp.

sptr<boost::asio::io_context> kagome::application::KagomeApplicationImpl::io_context_
private

Definition at line 41 of file kagome_application_impl.hpp.

sptr<api::ApiService> kagome::application::KagomeApplicationImpl::jrpc_api_service_
private

Definition at line 50 of file kagome_application_impl.hpp.

log::Logger kagome::application::KagomeApplicationImpl::logger_
private

Definition at line 39 of file kagome_application_impl.hpp.

sptr<metrics::MetricsWatcher> kagome::application::KagomeApplicationImpl::metrics_watcher_
private

Definition at line 55 of file kagome_application_impl.hpp.

sptr<parachain::ParachainObserverImpl> kagome::application::KagomeApplicationImpl::parachain_observer_
private

Definition at line 53 of file kagome_application_impl.hpp.

sptr<parachain::ParachainProcessorImpl> kagome::application::KagomeApplicationImpl::parachain_processor_
private

Definition at line 54 of file kagome_application_impl.hpp.

sptr<network::PeerManager> kagome::application::KagomeApplicationImpl::peer_manager_
private

Definition at line 49 of file kagome_application_impl.hpp.

sptr<network::Router> kagome::application::KagomeApplicationImpl::router_
private

Definition at line 48 of file kagome_application_impl.hpp.

sptr<network::StateProtocolObserver> kagome::application::KagomeApplicationImpl::state_observer_
private

Definition at line 51 of file kagome_application_impl.hpp.

sptr<network::SyncProtocolObserver> kagome::application::KagomeApplicationImpl::sync_observer_
private

Definition at line 52 of file kagome_application_impl.hpp.

sptr<telemetry::TelemetryService> kagome::application::KagomeApplicationImpl::telemetry_service_
private

Definition at line 56 of file kagome_application_impl.hpp.


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