Struct NodeExecutor¶
Defined in File node.hpp
Inheritance Relationships¶
Derived Type¶
public ripple::NodeExecutorImpl< Callable, Args >(Template Struct NodeExecutorImpl)
Struct Documentation¶
-
struct
ripple::NodeExecutor¶ The NodeExecutor struct is a base class which enables a types which derive from it to be stored in a container for execution.
Thiis interface defines an execute method which performs execution of the node work.
Subclassed by ripple::NodeExecutorImpl< Callable, Args >
Public Functions
-
NodeExecutor() noexcept = default¶ Defaulted constructor.
-
~NodeExecutor() noexcept = default¶ Virtual destructor to avoid incorrect deletion from derived class.
-
NodeExecutor(const NodeExecutor&) = delete¶ Copy constructor deleted.
-
NodeExecutor(NodeExecutor&&) = delete¶ Move constructor deleted.
-
auto
operator=(const NodeExecutor&) = delete¶ Copy assignment deleted.
-
auto
operator=(NodeExecutor&&) = delete¶ Move assignment deleted.
-
auto
clone(void *storage) const noexcept -> NodeExecutor* = 0¶ The clone method enables copying/moving the executor, but makes the intention to do so explicit.
- Return
A pointer to the cloned executor.
- Parameters
storage: A pointer to the storage to clone the executor into.
-
auto
execute() noexcept -> void = 0¶ Executes the work assosciated with the executor.
-