Kagome
Polkadot Runtime Engine in C++17
|
#include <module_factory_impl.hpp>
Public Member Functions | |
ModuleFactoryImpl (std::shared_ptr< InstanceEnvironmentFactory > env_factory, std::shared_ptr< storage::trie::TrieStorage > storage, std::shared_ptr< crypto::Hasher > hasher) | |
outcome::result< std::unique_ptr< Module > > | make (gsl::span< const uint8_t > code) const override |
Public Member Functions inherited from kagome::runtime::ModuleFactory | |
virtual | ~ModuleFactory ()=default |
Private Attributes | |
std::shared_ptr< InstanceEnvironmentFactory > | env_factory_ |
std::shared_ptr< storage::trie::TrieStorage > | storage_ |
std::shared_ptr< crypto::Hasher > | hasher_ |
Definition at line 39 of file module_factory_impl.hpp.
kagome::runtime::binaryen::ModuleFactoryImpl::ModuleFactoryImpl | ( | std::shared_ptr< InstanceEnvironmentFactory > | env_factory, |
std::shared_ptr< storage::trie::TrieStorage > | storage, | ||
std::shared_ptr< crypto::Hasher > | hasher | ||
) |
Definition at line 18 of file module_factory_impl.cpp.
|
overridevirtual |
Implements kagome::runtime::ModuleFactory.
Definition at line 29 of file module_factory_impl.cpp.
|
private |
Definition at line 49 of file module_factory_impl.hpp.
|
private |
Definition at line 51 of file module_factory_impl.hpp.
|
private |
Definition at line 50 of file module_factory_impl.hpp.