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::SealEngineRegistrar Class Reference

#include <SealEngine.h>

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

Static Public Member Functions

static SealEngineFacecreate (ChainOperationParams const &_params)
 Creates the seal engine and uses it to "polish" the params (i.e. More...
 
static SealEngineFacecreate (std::string const &_name)
 
template<class SealEngine >
static SealEngineFactory registerSealEngine (std::string const &_name)
 
static void unregisterSealEngine (std::string const &_name)
 

Static Private Member Functions

static SealEngineRegistrarget ()
 

Private Attributes

std::unordered_map< std::string, SealEngineFactorym_sealEngines
 

Static Private Attributes

static SealEngineRegistrars_this = nullptr
 

Detailed Description

Definition at line 130 of file SealEngine.h.

Member Function Documentation

SealEngineFace * SealEngineRegistrar::create ( ChainOperationParams const &  _params)
static

Creates the seal engine and uses it to "polish" the params (i.e.

fill in implicit values) as necessary. Use this rather than the other two unless you know that the params contain all information regarding the seal on the Genesis block.

Definition at line 52 of file SealEngine.cpp.

Here is the call graph for this function:

static SealEngineFace* dev::eth::SealEngineRegistrar::create ( std::string const &  _name)
inlinestatic

Definition at line 136 of file SealEngine.h.

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

Definition at line 142 of file SealEngine.h.

template<class SealEngine >
static SealEngineFactory dev::eth::SealEngineRegistrar::registerSealEngine ( std::string const &  _name)
inlinestatic

Definition at line 138 of file SealEngine.h.

static void dev::eth::SealEngineRegistrar::unregisterSealEngine ( std::string const &  _name)
inlinestatic

Definition at line 139 of file SealEngine.h.

Member Data Documentation

std::unordered_map<std::string, SealEngineFactory> dev::eth::SealEngineRegistrar::m_sealEngines
private

Definition at line 144 of file SealEngine.h.

SealEngineRegistrar * SealEngineRegistrar::s_this = nullptr
staticprivate

Definition at line 145 of file SealEngine.h.


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