Kagome
Polkadot Runtime Engine in C++17
|
#include <instance_environment.hpp>
Public Member Functions | |
InstanceEnvironment (const InstanceEnvironment &)=delete | |
InstanceEnvironment & | operator= (const InstanceEnvironment &)=delete |
InstanceEnvironment (std::shared_ptr< MemoryProvider > memory_provider, std::shared_ptr< TrieStorageProvider > storage_provider, std::shared_ptr< host_api::HostApi > host_api, std::function< void(InstanceEnvironment &)> on_destruction) | |
InstanceEnvironment (InstanceEnvironment &&e) noexcept | |
InstanceEnvironment & | operator= (InstanceEnvironment &&)=default |
~InstanceEnvironment () | |
Public Attributes | |
std::shared_ptr< MemoryProvider > | memory_provider |
std::shared_ptr< TrieStorageProvider > | storage_provider |
std::shared_ptr< host_api::HostApi > | host_api |
std::function< void(InstanceEnvironment &)> | on_destruction |
Definition at line 20 of file instance_environment.hpp.
|
delete |
|
inline |
Definition at line 24 of file instance_environment.hpp.
|
inlinenoexcept |
Definition at line 34 of file instance_environment.hpp.
|
inline |
Definition at line 43 of file instance_environment.hpp.
|
delete |
|
default |
std::shared_ptr<host_api::HostApi> kagome::runtime::InstanceEnvironment::host_api |
Definition at line 51 of file instance_environment.hpp.
std::shared_ptr<MemoryProvider> kagome::runtime::InstanceEnvironment::memory_provider |
Definition at line 49 of file instance_environment.hpp.
std::function<void(InstanceEnvironment &)> kagome::runtime::InstanceEnvironment::on_destruction |
Definition at line 52 of file instance_environment.hpp.
std::shared_ptr<TrieStorageProvider> kagome::runtime::InstanceEnvironment::storage_provider |
Definition at line 50 of file instance_environment.hpp.