Skip to content

Class AutoCommand

template <typename Derived>

ClassList > AutoCommand

Inherits the following classes: Command

Public Attributes inherited from Command

See Command

Type Name
uint64_t id = 0
Unique identifier for the command, typically based on a timestamp.
uint64_t run_after = 0
The time at which the command should be executed.

Public Functions

Type Name
virtual constexpr const std::string_view Type () override const

Public Functions inherited from Command

See Command

Type Name
Command (uint64_t initial_run_after=0)
Constructs a new Command object.
virtual void Execute (SystemState * state) = 0
virtual constexpr const std::string_view Type () const = 0
virtual ~Command () = default

Public Functions Documentation

function Type

inline virtual constexpr const std::string_view AutoCommand::Type () override const

Implements Command::Type



The documentation for this class was generated from the following file command.h