Files
BloomPatched/src/TargetController/Commands/GetTargetProgramCounter.hpp

26 lines
689 B
C++
Raw Normal View History

2022-05-01 18:44:04 +01:00
#pragma once
#include "Command.hpp"
#include "src/TargetController/Responses/TargetProgramCounter.hpp"
namespace Bloom::TargetController::Commands
{
class GetTargetProgramCounter: public Command
{
public:
using SuccessResponseType = Responses::TargetProgramCounter;
static constexpr CommandType type = CommandType::GET_TARGET_PROGRAM_COUNTER;
static inline const std::string name = "GetTargetProgramCounter";
[[nodiscard]] CommandType getType() const override {
return GetTargetProgramCounter::type;
}
[[nodiscard]] bool requiresStoppedTargetState() const override {
return true;
}
};
}