Ethereum  PoC-8
The C++ Implementation of Ethereum
dev::eth::PrecompiledRegistrar Class Reference

#include <Precompiled.h>

Static Public Member Functions

static PrecompiledExecutor const & executor (std::string const &_name)
 Get the executor object for _name function or. More...
 
static PrecompiledPricer const & pricer (std::string const &_name)
 Get the price calculator object for _name function or. More...
 
static PrecompiledExecutor registerExecutor (std::string const &_name, PrecompiledExecutor const &_exec)
 Register an executor. In general just use ETH_REGISTER_PRECOMPILED. More...
 
static void unregisterExecutor (std::string const &_name)
 Unregister an executor. Shouldn't generally be necessary. More...
 
static PrecompiledPricer registerPricer (std::string const &_name, PrecompiledPricer const &_exec)
 Register a pricer. In general just use ETH_REGISTER_PRECOMPILED_PRICER. More...
 
static void unregisterPricer (std::string const &_name)
 Unregister a pricer. Shouldn't generally be necessary. More...
 

Detailed Description

Definition at line 40 of file Precompiled.h.

Member Function Documentation

◆ executor()

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

Get the executor object for _name function or.

Exceptions
ExecutorNotFoundif not found.

Definition at line 35 of file Precompiled.cpp.

◆ pricer()

PrecompiledPricer const & PrecompiledRegistrar::pricer ( std::string const &  _name)
static

Get the price calculator object for _name function or.

Exceptions
PricerNotFoundif not found.

Definition at line 42 of file Precompiled.cpp.

◆ registerExecutor()

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

Register an executor. In general just use ETH_REGISTER_PRECOMPILED.

Definition at line 50 of file Precompiled.h.

◆ registerPricer()

static PrecompiledPricer dev::eth::PrecompiledRegistrar::registerPricer ( std::string const &  _name,
PrecompiledPricer const &  _exec 
)
inlinestatic

Register a pricer. In general just use ETH_REGISTER_PRECOMPILED_PRICER.

Definition at line 55 of file Precompiled.h.

◆ unregisterExecutor()

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

Unregister an executor. Shouldn't generally be necessary.

Definition at line 52 of file Precompiled.h.

◆ unregisterPricer()

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

Unregister a pricer. Shouldn't generally be necessary.

Definition at line 57 of file Precompiled.h.


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