Kagome
Polkadot Runtime Engine in C++17
kagome::runtime::binaryen::CoreApiFactoryImpl Class Referencefinal

#include <core_api_factory_impl.hpp>

Inheritance diagram for kagome::runtime::binaryen::CoreApiFactoryImpl:
Collaboration diagram for kagome::runtime::binaryen::CoreApiFactoryImpl:

Public Member Functions

 CoreApiFactoryImpl (std::shared_ptr< const InstanceEnvironmentFactory > instance_env_factory, std::shared_ptr< const blockchain::BlockHeaderRepository > header_repo, std::shared_ptr< storage::changes_trie::ChangesTracker > changes_tracker, std::shared_ptr< runtime::RuntimePropertiesCache > cache)
 
std::unique_ptr< Coremake (std::shared_ptr< const crypto::Hasher > hasher, const std::vector< uint8_t > &runtime_code) const override
 
- Public Member Functions inherited from kagome::runtime::CoreApiFactory
virtual ~CoreApiFactory ()=default
 

Private Attributes

std::shared_ptr< const InstanceEnvironmentFactoryinstance_env_factory_
 
std::shared_ptr< const blockchain::BlockHeaderRepositoryheader_repo_
 
std::shared_ptr< storage::changes_trie::ChangesTrackerchanges_tracker_
 
std::shared_ptr< runtime::RuntimePropertiesCachecache_
 

Detailed Description

Definition at line 36 of file core_api_factory_impl.hpp.

Constructor & Destructor Documentation

kagome::runtime::binaryen::CoreApiFactoryImpl::CoreApiFactoryImpl ( std::shared_ptr< const InstanceEnvironmentFactory instance_env_factory,
std::shared_ptr< const blockchain::BlockHeaderRepository header_repo,
std::shared_ptr< storage::changes_trie::ChangesTracker changes_tracker,
std::shared_ptr< runtime::RuntimePropertiesCache cache 
)

Definition at line 65 of file core_api_factory_impl.cpp.

Member Function Documentation

std::unique_ptr< Core > kagome::runtime::binaryen::CoreApiFactoryImpl::make ( std::shared_ptr< const crypto::Hasher hasher,
const std::vector< uint8_t > &  runtime_code 
) const
overridevirtual

Implements kagome::runtime::CoreApiFactory.

Definition at line 80 of file core_api_factory_impl.cpp.

Member Data Documentation

std::shared_ptr<runtime::RuntimePropertiesCache> kagome::runtime::binaryen::CoreApiFactoryImpl::cache_
private

Definition at line 54 of file core_api_factory_impl.hpp.

std::shared_ptr<storage::changes_trie::ChangesTracker> kagome::runtime::binaryen::CoreApiFactoryImpl::changes_tracker_
private

Definition at line 53 of file core_api_factory_impl.hpp.

std::shared_ptr<const blockchain::BlockHeaderRepository> kagome::runtime::binaryen::CoreApiFactoryImpl::header_repo_
private

Definition at line 52 of file core_api_factory_impl.hpp.

std::shared_ptr<const InstanceEnvironmentFactory> kagome::runtime::binaryen::CoreApiFactoryImpl::instance_env_factory_
private

Definition at line 51 of file core_api_factory_impl.hpp.


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