Kagome
Polkadot Runtime Engine in C++17
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
compartment_wrapper.hpp
Go to the documentation of this file.
1
6
#ifndef KAGOME_CORE_RUNTIME_WAVM_IMPL_COMPARTMENT_WRAPPER_HPP
7
#define KAGOME_CORE_RUNTIME_WAVM_IMPL_COMPARTMENT_WRAPPER_HPP
8
9
#include <memory>
10
#include <string>
11
12
namespace
WAVM::Runtime
{
13
struct
Compartment;
14
}
15
16
namespace
kagome::runtime::wavm
{
17
18
struct
CompartmentWrapperImpl;
19
24
class
CompartmentWrapper
final {
25
public
:
26
CompartmentWrapper
(std::string &&name);
27
~
CompartmentWrapper
();
28
29
WAVM::Runtime::Compartment *getCompartment()
const
;
30
31
private
:
32
std::shared_ptr<CompartmentWrapperImpl>
impl_
;
33
};
34
35
}
// namespace kagome::runtime::wavm
36
37
#endif // KAGOME_CORE_RUNTIME_WAVM_IMPL_COMPARTMENT_WRAPPER_HPP
WAVM::Runtime
Definition:
compartment_wrapper.hpp:12
kagome::runtime::wavm
Definition:
compartment_wrapper.cpp:12
kagome::runtime::wavm::CompartmentWrapper
Definition:
compartment_wrapper.hpp:24
kagome::runtime::wavm::CompartmentWrapper::impl_
std::shared_ptr< CompartmentWrapperImpl > impl_
Definition:
compartment_wrapper.hpp:32
core
runtime
wavm
compartment_wrapper.hpp
Generated by
1.8.11