Kagome
Polkadot Runtime Engine in C++17
kagome::host_api::HostApiFactory Class Referenceabstract

#include <host_api_factory.hpp>

Inheritance diagram for kagome::host_api::HostApiFactory:
Collaboration diagram for kagome::host_api::HostApiFactory:

Public Member Functions

virtual ~HostApiFactory ()=default
 
virtual std::unique_ptr< HostApimake (std::shared_ptr< const runtime::CoreApiFactory > core_provider, std::shared_ptr< const runtime::MemoryProvider > memory_provider, std::shared_ptr< runtime::TrieStorageProvider > storage_provider) const =0
 

Detailed Description

Creates extension containing provided wasm memory

Definition at line 22 of file host_api_factory.hpp.

Constructor & Destructor Documentation

virtual kagome::host_api::HostApiFactory::~HostApiFactory ( )
virtualdefault

Member Function Documentation

virtual std::unique_ptr<HostApi> kagome::host_api::HostApiFactory::make ( std::shared_ptr< const runtime::CoreApiFactory core_provider,
std::shared_ptr< const runtime::MemoryProvider memory_provider,
std::shared_ptr< runtime::TrieStorageProvider storage_provider 
) const
pure virtual

Takes

Parameters
memoryand creates
Returns
extension using this memory

Implemented in kagome::host_api::HostApiFactoryImpl.


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