Kagome
Polkadot Runtime Engine in C++17
|
#include <module_factory_impl.hpp>
Public Member Functions | |
ModuleFactoryImpl (std::shared_ptr< CompartmentWrapper > compartment, std::shared_ptr< ModuleParams > module_params, std::shared_ptr< const InstanceEnvironmentFactory > env_factory, std::shared_ptr< IntrinsicModule > intrinsic_module, std::optional< std::shared_ptr< ModuleCache >> module_cache, 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< CompartmentWrapper > | compartment_ |
std::shared_ptr< ModuleParams > | module_params_ |
std::shared_ptr< const InstanceEnvironmentFactory > | env_factory_ |
std::shared_ptr< IntrinsicModule > | intrinsic_module_ |
std::shared_ptr< crypto::Hasher > | hasher_ |
Definition at line 28 of file module_factory_impl.hpp.
kagome::runtime::wavm::ModuleFactoryImpl::ModuleFactoryImpl | ( | std::shared_ptr< CompartmentWrapper > | compartment, |
std::shared_ptr< ModuleParams > | module_params, | ||
std::shared_ptr< const InstanceEnvironmentFactory > | env_factory, | ||
std::shared_ptr< IntrinsicModule > | intrinsic_module, | ||
std::optional< std::shared_ptr< ModuleCache >> | module_cache, | ||
std::shared_ptr< crypto::Hasher > | hasher | ||
) |
Definition at line 15 of file module_factory_impl.cpp.
|
overridevirtual |
Implements kagome::runtime::ModuleFactory.
Definition at line 38 of file module_factory_impl.cpp.
|
private |
Definition at line 42 of file module_factory_impl.hpp.
|
private |
Definition at line 44 of file module_factory_impl.hpp.
|
private |
Definition at line 46 of file module_factory_impl.hpp.
|
private |
Definition at line 45 of file module_factory_impl.hpp.
|
private |
Definition at line 43 of file module_factory_impl.hpp.