Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
Kagome
Consensus
core
Development guide
Guide for `outcome::result<T>`
Rules
Terms
Tooling
Overview
Your first Kagome chain
Runing Kagome in docker container
Start private Kagome network
Namespaces
Classes
Files
File List
core
api
application
assets
authority_discovery
authorship
blockchain
clock
common
consensus
containers
crypto
filesystem
host_api
impl
host_api.hpp
host_api_factory.hpp
injector
log
macro
metrics
network
offchain
outcome
parachain
primitives
runtime
scale
storage
subscription
telemetry
transaction_pool
utils
docs
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
host_api_factory.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_EXTENSIONS_HOST_API_FACTORY_HPP
7
#define KAGOME_CORE_EXTENSIONS_HOST_API_FACTORY_HPP
8
9
#include "
host_api/host_api.hpp
"
10
11
namespace
kagome::runtime
{
12
class
CoreApiFactory;
13
class
TrieStorageProvider;
14
class
MemoryProvider;
15
}
// namespace kagome::runtime
16
17
namespace
kagome::host_api
{
18
22
class
HostApiFactory
{
23
public
:
24
virtual
~
HostApiFactory
() =
default
;
25
29
virtual
std::unique_ptr<HostApi> make(
30
std::shared_ptr<const runtime::CoreApiFactory> core_provider,
31
std::shared_ptr<const runtime::MemoryProvider> memory_provider,
32
std::shared_ptr<runtime::TrieStorageProvider> storage_provider)
33
const
= 0;
34
};
35
}
// namespace kagome::host_api
36
37
#endif // KAGOME_CORE_EXTENSIONS_HOST_API_FACTORY_HPP
kagome::runtime
Definition:
author_api_impl.hpp:43
host_api.hpp
kagome::host_api::HostApiFactory
Definition:
host_api_factory.hpp:22
kagome::host_api
Definition:
host_api.hpp:20
core
host_api
host_api_factory.hpp
Generated by
1.8.11