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

#include <Precompiled.h>

Collaboration diagram for dev::eth::PrecompiledRegistrar:
[legend]

Static Public Member Functions

static PrecompiledExecutor const & executor (std::string const &_name)
 Get the executor object for _name function or. More...
 
static PrecompiledExecutor registerPrecompiled (std::string const &_name, PrecompiledExecutor const &_exec)
 Register an executor. In general just use ETH_REGISTER_PRECOMPILED. More...
 
static void unregisterPrecompiled (std::string const &_name)
 Unregister an executor. Shouldn't generally be necessary. More...
 

Static Private Member Functions

static PrecompiledRegistrarget ()
 

Private Attributes

std::unordered_map< std::string, PrecompiledExecutorm_execs
 

Static Private Attributes

static PrecompiledRegistrars_this = nullptr
 

Detailed Description

Definition at line 38 of file Precompiled.h.

Member Function Documentation

PrecompiledExecutor const & PrecompiledRegistrar::executor ( std::string const &  _name)
static

Get the executor object for _name function or.

Exceptions
ExecutorNotFoundif not found.

Definition at line 34 of file Precompiled.cpp.

Here is the call graph for this function:

static PrecompiledRegistrar* dev::eth::PrecompiledRegistrar::get ( )
inlinestaticprivate

Definition at line 50 of file Precompiled.h.

static PrecompiledExecutor dev::eth::PrecompiledRegistrar::registerPrecompiled ( std::string const &  _name,
PrecompiledExecutor const &  _exec 
)
inlinestatic

Register an executor. In general just use ETH_REGISTER_PRECOMPILED.

Definition at line 45 of file Precompiled.h.

static void dev::eth::PrecompiledRegistrar::unregisterPrecompiled ( std::string const &  _name)
inlinestatic

Unregister an executor. Shouldn't generally be necessary.

Definition at line 47 of file Precompiled.h.

Member Data Documentation

std::unordered_map<std::string, PrecompiledExecutor> dev::eth::PrecompiledRegistrar::m_execs
private

Definition at line 52 of file Precompiled.h.

PrecompiledRegistrar * PrecompiledRegistrar::s_this = nullptr
staticprivate

Definition at line 53 of file Precompiled.h.


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