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

#include <module_factory.hpp>

Inheritance diagram for kagome::runtime::ModuleFactory:
Collaboration diagram for kagome::runtime::ModuleFactory:

Public Member Functions

virtual ~ModuleFactory ()=default
 
virtual outcome::result< std::unique_ptr< Module > > make (gsl::span< const uint8_t > code) const =0
 

Detailed Description

Definition at line 19 of file module_factory.hpp.

Constructor & Destructor Documentation

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

Member Function Documentation

virtual outcome::result<std::unique_ptr<Module> > kagome::runtime::ModuleFactory::make ( gsl::span< const uint8_t >  code) const
pure virtual

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