Replaced StopTargetExecution event with TC command

This commit is contained in:
Nav
2022-04-18 18:50:23 +01:00
parent 5efffc6605
commit fa4f5e3427
8 changed files with 43 additions and 45 deletions

View File

@@ -7,5 +7,6 @@ namespace Bloom::TargetController::Commands
enum class CommandType: std::uint8_t
{
GENERIC,
STOP_TARGET_EXECUTION,
};
}

View File

@@ -0,0 +1,17 @@
#pragma once
#include "Command.hpp"
namespace Bloom::TargetController::Commands
{
class StopTargetExecution: public Command
{
public:
static constexpr CommandType type = CommandType::STOP_TARGET_EXECUTION;
static inline const std::string name = "StopTargetExecution";
[[nodiscard]] CommandType getType() const override {
return StopTargetExecution::type;
}
};
}