Shortcuts

Struct NodeExecutor

Inheritance Relationships

Derived Type

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.

Docs

Access comprehensive developer documentation for Ripple

View Docs

Tutorials

Get tutorials to help with understand all features

View Tutorials

Examples

Find examples to help get started

View Examples