Fabcoin Core  0.16.2
P2P Digital Currency
Public Member Functions | Static Public Member Functions | List of all members
dev::eth::VMFactory Class Reference

#include <VMFactory.h>

Public Member Functions

 VMFactory ()=delete
 

Static Public Member Functions

static std::unique_ptr< VMFacecreate ()
 Creates a VM instance of global kind (controlled by setKind() function). More...
 
static std::unique_ptr< VMFacecreate (VMKind _kind)
 Creates a VM instance of kind provided. More...
 
static void setKind (VMKind _kind)
 Set global VM kind. More...
 

Detailed Description

Definition at line 33 of file VMFactory.h.

Constructor & Destructor Documentation

dev::eth::VMFactory::VMFactory ( )
delete

Member Function Documentation

std::unique_ptr< VMFace > dev::eth::VMFactory::create ( )
static

Creates a VM instance of global kind (controlled by setKind() function).

Definition at line 41 of file VMFactory.cpp.

Here is the caller graph for this function:

std::unique_ptr< VMFace > dev::eth::VMFactory::create ( VMKind  _kind)
static

Creates a VM instance of kind provided.

Definition at line 46 of file VMFactory.cpp.

void dev::eth::VMFactory::setKind ( VMKind  _kind)
static

Set global VM kind.

Definition at line 36 of file VMFactory.cpp.

Here is the caller graph for this function:


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