Kagome
Polkadot Runtime Engine in C++17
kagome::runtime::MemoryProvider Class Referenceabstract

#include <memory_provider.hpp>

Inheritance diagram for kagome::runtime::MemoryProvider:
Collaboration diagram for kagome::runtime::MemoryProvider:

Public Member Functions

virtual ~MemoryProvider ()=default
 
virtual std::optional< std::reference_wrapper< runtime::Memory > > getCurrentMemory () const =0
 
virtual outcome::result< void > resetMemory (WasmSize heap_base)=0
 

Detailed Description

Definition at line 17 of file memory_provider.hpp.

Constructor & Destructor Documentation

virtual kagome::runtime::MemoryProvider::~MemoryProvider ( )
virtualdefault

Member Function Documentation

virtual std::optional<std::reference_wrapper<runtime::Memory> > kagome::runtime::MemoryProvider::getCurrentMemory ( ) const
pure virtual
virtual outcome::result<void> kagome::runtime::MemoryProvider::resetMemory ( WasmSize  heap_base)
pure virtual

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