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