Kagome
Polkadot Runtime Engine in C++17
kagome::runtime::InstanceEnvironment Struct Reference

#include <instance_environment.hpp>

Collaboration diagram for kagome::runtime::InstanceEnvironment:

Public Member Functions

 InstanceEnvironment (const InstanceEnvironment &)=delete
 
InstanceEnvironmentoperator= (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
 
InstanceEnvironmentoperator= (InstanceEnvironment &&)=default
 
 ~InstanceEnvironment ()
 

Public Attributes

std::shared_ptr< MemoryProvidermemory_provider
 
std::shared_ptr< TrieStorageProviderstorage_provider
 
std::shared_ptr< host_api::HostApihost_api
 
std::function< void(InstanceEnvironment &)> on_destruction
 

Detailed Description

Definition at line 20 of file instance_environment.hpp.

Constructor & Destructor Documentation

kagome::runtime::InstanceEnvironment::InstanceEnvironment ( const InstanceEnvironment )
delete
kagome::runtime::InstanceEnvironment::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 
)
inline

Definition at line 24 of file instance_environment.hpp.

kagome::runtime::InstanceEnvironment::InstanceEnvironment ( InstanceEnvironment &&  e)
inlinenoexcept

Definition at line 34 of file instance_environment.hpp.

kagome::runtime::InstanceEnvironment::~InstanceEnvironment ( )
inline

Definition at line 43 of file instance_environment.hpp.

Member Function Documentation

InstanceEnvironment& kagome::runtime::InstanceEnvironment::operator= ( const InstanceEnvironment )
delete
InstanceEnvironment& kagome::runtime::InstanceEnvironment::operator= ( InstanceEnvironment &&  )
default

Member Data Documentation

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.


The documentation for this struct was generated from the following file: