File command.h
Go to the source code of this file
#include <compare>#include <cstdint>#include "shared_types.h"#include "utilities.h"
Classes
| Type | Name |
|---|---|
| class | AutoCommand <typename Derived> |
| class | Command Abstract base class for commands in the command pattern. |
| class | SetStanceCommand |
| class | SetStrategyCommand |
Public Functions
| Type | Name |
|---|---|
| constexpr auto | operator<=> (const Command & left, const Command & right) Spaceship overload for comparing command execution times. |
Public Functions Documentation
function operator<=>
Spaceship overload for comparing command execution times.
constexpr auto operator<=> (
const Command & left,
const Command & right
)
Parameters:
leftThe left-hand side command.rightThe right-hand side command.
Returns:
A weak ordering indicating which command should run first.
The documentation for this class was generated from the following file command.h