Kagome
Polkadot Runtime Engine in C++17
kagome::injector::KagomeNodeInjector Class Referencefinal

#include <application_injector.hpp>

Collaboration diagram for kagome::injector::KagomeNodeInjector:

Public Member Functions

 KagomeNodeInjector (const application::AppConfiguration &)
 
std::shared_ptr< application::ChainSpecinjectChainSpec ()
 
std::shared_ptr< blockchain::BlockStorageinjectBlockStorage ()
 
std::shared_ptr< application::AppStateManagerinjectAppStateManager ()
 
std::shared_ptr< boost::asio::io_context > injectIoContext ()
 
std::shared_ptr< metrics::ExposerinjectOpenMetricsService ()
 
std::shared_ptr< network::RouterinjectRouter ()
 
std::shared_ptr< network::PeerManagerinjectPeerManager ()
 
std::shared_ptr< api::ApiServiceinjectRpcApiService ()
 
std::shared_ptr< clock::SystemClockinjectSystemClock ()
 
std::shared_ptr< consensus::babe::BabeinjectBabe ()
 
std::shared_ptr< network::StateProtocolObserverinjectStateObserver ()
 
std::shared_ptr< network::SyncProtocolObserverinjectSyncObserver ()
 
std::shared_ptr< parachain::ParachainObserverImplinjectParachainObserver ()
 
std::shared_ptr< parachain::ParachainProcessorImplinjectParachainProcessor ()
 
std::shared_ptr< consensus::grandpa::GrandpainjectGrandpa ()
 
std::shared_ptr< soralog::LoggingSystem > injectLoggingSystem ()
 
std::shared_ptr< storage::trie::TrieStorageinjectTrieStorage ()
 
std::shared_ptr< metrics::MetricsWatcherinjectMetricsWatcher ()
 
std::shared_ptr< telemetry::TelemetryServiceinjectTelemetryService ()
 
std::shared_ptr< blockchain::BlockTreeinjectBlockTree ()
 
std::shared_ptr< runtime::ExecutorinjectExecutor ()
 
std::shared_ptr< storage::BufferStorageinjectStorage ()
 
std::shared_ptr< application::mode::PrintChainInfoModeinjectPrintChainInfoMode ()
 
std::shared_ptr< application::mode::RecoveryModeinjectRecoveryMode ()
 

Protected Attributes

std::shared_ptr< class KagomeNodeInjectorImplpimpl_
 

Detailed Description

Dependency injector for a universal node. Provides all major components required by the kagome application.

Definition at line 87 of file application_injector.hpp.

Constructor & Destructor Documentation

kagome::injector::KagomeNodeInjector::KagomeNodeInjector ( const application::AppConfiguration app_config)
explicit

Definition at line 1517 of file application_injector.cpp.

Member Function Documentation

sptr< application::AppStateManager > kagome::injector::KagomeNodeInjector::injectAppStateManager ( )

Definition at line 1532 of file application_injector.cpp.

std::shared_ptr< consensus::babe::Babe > kagome::injector::KagomeNodeInjector::injectBabe ( )

Definition at line 1587 of file application_injector.cpp.

std::shared_ptr< blockchain::BlockStorage > kagome::injector::KagomeNodeInjector::injectBlockStorage ( )

Definition at line 1527 of file application_injector.cpp.

std::shared_ptr< blockchain::BlockTree > kagome::injector::KagomeNodeInjector::injectBlockTree ( )

Definition at line 1629 of file application_injector.cpp.

sptr< application::ChainSpec > kagome::injector::KagomeNodeInjector::injectChainSpec ( )

Definition at line 1522 of file application_injector.cpp.

std::shared_ptr< runtime::Executor > kagome::injector::KagomeNodeInjector::injectExecutor ( )

Definition at line 1633 of file application_injector.cpp.

std::shared_ptr< consensus::grandpa::Grandpa > kagome::injector::KagomeNodeInjector::injectGrandpa ( )

Definition at line 1592 of file application_injector.cpp.

sptr< boost::asio::io_context > kagome::injector::KagomeNodeInjector::injectIoContext ( )

Definition at line 1536 of file application_injector.cpp.

std::shared_ptr< soralog::LoggingSystem > kagome::injector::KagomeNodeInjector::injectLoggingSystem ( )

Definition at line 1597 of file application_injector.cpp.

std::shared_ptr< metrics::MetricsWatcher > kagome::injector::KagomeNodeInjector::injectMetricsWatcher ( )

Definition at line 1609 of file application_injector.cpp.

sptr< metrics::Exposer > kagome::injector::KagomeNodeInjector::injectOpenMetricsService ( )

Definition at line 1540 of file application_injector.cpp.

std::shared_ptr< parachain::ParachainObserverImpl > kagome::injector::KagomeNodeInjector::injectParachainObserver ( )

Definition at line 1578 of file application_injector.cpp.

std::shared_ptr< parachain::ParachainProcessorImpl > kagome::injector::KagomeNodeInjector::injectParachainProcessor ( )

Definition at line 1583 of file application_injector.cpp.

sptr< network::PeerManager > kagome::injector::KagomeNodeInjector::injectPeerManager ( )

Definition at line 1555 of file application_injector.cpp.

std::shared_ptr< application::mode::PrintChainInfoMode > kagome::injector::KagomeNodeInjector::injectPrintChainInfoMode ( )

Definition at line 1619 of file application_injector.cpp.

std::shared_ptr< application::mode::RecoveryMode > kagome::injector::KagomeNodeInjector::injectRecoveryMode ( )

Definition at line 1625 of file application_injector.cpp.

sptr< network::Router > kagome::injector::KagomeNodeInjector::injectRouter ( )

Definition at line 1551 of file application_injector.cpp.

sptr< api::ApiService > kagome::injector::KagomeNodeInjector::injectRpcApiService ( )

Definition at line 1559 of file application_injector.cpp.

std::shared_ptr< network::StateProtocolObserver > kagome::injector::KagomeNodeInjector::injectStateObserver ( )

Definition at line 1568 of file application_injector.cpp.

std::shared_ptr< storage::BufferStorage > kagome::injector::KagomeNodeInjector::injectStorage ( )

Definition at line 1637 of file application_injector.cpp.

std::shared_ptr< network::SyncProtocolObserver > kagome::injector::KagomeNodeInjector::injectSyncObserver ( )

Definition at line 1573 of file application_injector.cpp.

std::shared_ptr< clock::SystemClock > kagome::injector::KagomeNodeInjector::injectSystemClock ( )

Definition at line 1563 of file application_injector.cpp.

std::shared_ptr< telemetry::TelemetryService > kagome::injector::KagomeNodeInjector::injectTelemetryService ( )

Definition at line 1614 of file application_injector.cpp.

std::shared_ptr< storage::trie::TrieStorage > kagome::injector::KagomeNodeInjector::injectTrieStorage ( )

Definition at line 1604 of file application_injector.cpp.

Member Data Documentation

std::shared_ptr<class KagomeNodeInjectorImpl> kagome::injector::KagomeNodeInjector::pimpl_
protected

Definition at line 120 of file application_injector.hpp.


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