Kagome
Polkadot Runtime Engine in C++17
kagome::runtime::wavm::CompartmentWrapper Class Referencefinal

#include <compartment_wrapper.hpp>

Collaboration diagram for kagome::runtime::wavm::CompartmentWrapper:

Public Member Functions

 CompartmentWrapper (std::string &&name)
 
 ~CompartmentWrapper ()
 
WAVM::Runtime::Compartment * getCompartment () const
 

Private Attributes

std::shared_ptr< CompartmentWrapperImplimpl_
 

Detailed Description

A wrapper of the WAVM Compartment type, which is used by its garbage collection system

Definition at line 24 of file compartment_wrapper.hpp.

Constructor & Destructor Documentation

kagome::runtime::wavm::CompartmentWrapper::CompartmentWrapper ( std::string &&  name)

Definition at line 22 of file compartment_wrapper.cpp.

kagome::runtime::wavm::CompartmentWrapper::~CompartmentWrapper ( )

Definition at line 26 of file compartment_wrapper.cpp.

Member Function Documentation

WAVM::Runtime::Compartment * kagome::runtime::wavm::CompartmentWrapper::getCompartment ( ) const

Definition at line 31 of file compartment_wrapper.cpp.

Member Data Documentation

std::shared_ptr<CompartmentWrapperImpl> kagome::runtime::wavm::CompartmentWrapper::impl_
private

Definition at line 32 of file compartment_wrapper.hpp.


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