Class SetStanceCommand
Inherits the following classes: Command, AutoCommand
Public Attributes inherited from Command
See Command
| Type | Name |
|---|---|
| uint64_t | id = 0Unique identifier for the command, typically based on a timestamp. |
| uint64_t | run_after = 0The time at which the command should be executed. |
Public Attributes inherited from Command
See Command
| Type | Name |
|---|---|
| uint64_t | id = 0Unique identifier for the command, typically based on a timestamp. |
| uint64_t | run_after = 0The time at which the command should be executed. |
Public Functions
| Type | Name |
|---|---|
| virtual void | Execute (SystemState * state) override |
| SetStanceCommand (TurretStance initial_stance, uint64_t initial_run_after) |
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 inherited from AutoCommand
See AutoCommand
| 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 Execute
virtual void SetStanceCommand::Execute (
SystemState * state
) override
Implements Command::Execute
function SetStanceCommand
SetStanceCommand::SetStanceCommand (
TurretStance initial_stance,
uint64_t initial_run_after
)
The documentation for this class was generated from the following file command.h