OpenCBDC Transaction Processor
|
Runner factory for agents to intiantiate new runners of a particular type while only worrying about the runner interface. More...
#include <interface.hpp>
Static Public Member Functions | |
static auto | create (std::shared_ptr< logging::log > logger, cbdc::parsec::config cfg, runtime_locking_shard::value_type function, parameter_type param, bool is_readonly_run, runner::interface::run_callback_type result_callback, runner::interface::try_lock_callback_type try_lock_callback, std::shared_ptr< secp256k1_context > secp, std::shared_ptr< thread_pool > t_pool, runner::interface::ticket_number_type ticket_number) -> std::unique_ptr< runner::interface > |
Construct a new runner of type T. | |
Runner factory for agents to intiantiate new runners of a particular type while only worrying about the runner interface.
T | runner implementation to construct. |
Definition at line 139 of file parsec/agent/runners/interface.hpp.
|
inlinestatic |
Construct a new runner of type T.
Definition at line 144 of file parsec/agent/runners/interface.hpp.