Replaced StopTargetExecution event with TC command
This commit is contained in:
@@ -7,5 +7,6 @@ namespace Bloom::TargetController::Commands
|
||||
enum class CommandType: std::uint8_t
|
||||
{
|
||||
GENERIC,
|
||||
STOP_TARGET_EXECUTION,
|
||||
};
|
||||
}
|
||||
|
||||
17
src/TargetController/Commands/StopTargetExecution.hpp
Normal file
17
src/TargetController/Commands/StopTargetExecution.hpp
Normal 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;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user