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

#include <module.hpp>

Inheritance diagram for kagome::runtime::Module:
Collaboration diagram for kagome::runtime::Module:

Public Member Functions

virtual ~Module ()=default
 
virtual outcome::result< std::shared_ptr< ModuleInstance > > instantiate () const =0
 

Detailed Description

A WebAssembly code module. Contains a set of exported objects (e. g. functions and variable declarations) and imported objects (e. g. Host API functions in case of Polkadot).

Definition at line 24 of file module.hpp.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual outcome::result<std::shared_ptr<ModuleInstance> > kagome::runtime::Module::instantiate ( ) const
pure virtual

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