Kagome
Polkadot Runtime Engine in C++17
|
#include <instance_environment_factory.hpp>
Public Types | |
enum | MemoryOrigin { MemoryOrigin::EXTERNAL, MemoryOrigin::INTERNAL } |
Public Member Functions | |
InstanceEnvironmentFactory (std::shared_ptr< storage::trie::TrieStorage > storage, std::shared_ptr< storage::trie::TrieSerializer > serializer, std::shared_ptr< CompartmentWrapper > compartment, std::shared_ptr< ModuleParams > module_params, std::shared_ptr< IntrinsicModule > intrinsic_module, std::shared_ptr< host_api::HostApiFactory > host_api_factory, std::shared_ptr< blockchain::BlockHeaderRepository > block_header_repo, std::shared_ptr< storage::changes_trie::ChangesTracker > changes_tracker, std::shared_ptr< SingleModuleCache > last_compiled_module, std::shared_ptr< RuntimePropertiesCache > cache) | |
InstanceEnvironment | make (MemoryOrigin memory_origin, WAVM::Runtime::Instance *runtime_instance, std::shared_ptr< IntrinsicModuleInstance > intrinsic_instance) const |
Private Attributes | |
std::shared_ptr< storage::trie::TrieStorage > | storage_ |
std::shared_ptr< storage::trie::TrieSerializer > | serializer_ |
std::shared_ptr< CompartmentWrapper > | compartment_ |
std::shared_ptr< ModuleParams > | module_params_ |
std::shared_ptr< IntrinsicModule > | intrinsic_module_ |
std::shared_ptr< host_api::HostApiFactory > | host_api_factory_ |
std::shared_ptr< blockchain::BlockHeaderRepository > | block_header_repo_ |
std::shared_ptr< storage::changes_trie::ChangesTracker > | changes_tracker_ |
std::shared_ptr< SingleModuleCache > | last_compiled_module_ |
std::shared_ptr< RuntimePropertiesCache > | cache_ |
Definition at line 44 of file instance_environment_factory.hpp.
Enumerator | |
---|---|
EXTERNAL | |
INTERNAL |
Definition at line 59 of file instance_environment_factory.hpp.
kagome::runtime::wavm::InstanceEnvironmentFactory::InstanceEnvironmentFactory | ( | std::shared_ptr< storage::trie::TrieStorage > | storage, |
std::shared_ptr< storage::trie::TrieSerializer > | serializer, | ||
std::shared_ptr< CompartmentWrapper > | compartment, | ||
std::shared_ptr< ModuleParams > | module_params, | ||
std::shared_ptr< IntrinsicModule > | intrinsic_module, | ||
std::shared_ptr< host_api::HostApiFactory > | host_api_factory, | ||
std::shared_ptr< blockchain::BlockHeaderRepository > | block_header_repo, | ||
std::shared_ptr< storage::changes_trie::ChangesTracker > | changes_tracker, | ||
std::shared_ptr< SingleModuleCache > | last_compiled_module, | ||
std::shared_ptr< RuntimePropertiesCache > | cache | ||
) |
InstanceEnvironment kagome::runtime::wavm::InstanceEnvironmentFactory::make | ( | MemoryOrigin | memory_origin, |
WAVM::Runtime::Instance * | runtime_instance, | ||
std::shared_ptr< IntrinsicModuleInstance > | intrinsic_instance | ||
) | const |
Definition at line 52 of file instance_environment_factory.cpp.
|
private |
Definition at line 72 of file instance_environment_factory.hpp.
|
private |
Definition at line 75 of file instance_environment_factory.hpp.
|
private |
Definition at line 73 of file instance_environment_factory.hpp.
|
private |
Definition at line 68 of file instance_environment_factory.hpp.
|
private |
Definition at line 71 of file instance_environment_factory.hpp.
|
private |
Definition at line 70 of file instance_environment_factory.hpp.
|
private |
Definition at line 74 of file instance_environment_factory.hpp.
|
private |
Definition at line 69 of file instance_environment_factory.hpp.
|
private |
Definition at line 67 of file instance_environment_factory.hpp.
|
private |
Definition at line 66 of file instance_environment_factory.hpp.