Replaced ResetTarget event with TC command

This commit is contained in:
Nav
2022-04-23 17:41:02 +01:00
parent 7ba997572a
commit b3694970bf
7 changed files with 40 additions and 52 deletions

View File

@@ -9,5 +9,6 @@ namespace Bloom::TargetController::Commands
GENERIC,
STOP_TARGET_EXECUTION,
RESUME_TARGET_EXECUTION,
RESET_TARGET,
};
}

View File

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