Replaced RetrieveTargetPinStates event with TC command

This commit is contained in:
Nav
2022-05-01 00:07:12 +01:00
parent 7c4e39dd03
commit 870c4ba3d7
10 changed files with 75 additions and 64 deletions

View File

@@ -32,7 +32,6 @@ namespace Bloom::Events
EXTRACT_TARGET_DESCRIPTOR,
TARGET_DESCRIPTOR_EXTRACTED,
INSIGHT_THREAD_STATE_CHANGED,
RETRIEVE_TARGET_PIN_STATES,
TARGET_PIN_STATES_RETRIEVED,
SET_TARGET_PIN_STATE,
RETRIEVE_STACK_POINTER_FROM_TARGET,

View File

@@ -19,7 +19,6 @@
#include "ExtractTargetDescriptor.hpp"
#include "TargetDescriptorExtracted.hpp"
#include "InsightThreadStateChanged.hpp"
#include "RetrieveTargetPinStates.hpp"
#include "TargetPinStatesRetrieved.hpp"
#include "SetTargetPinState.hpp"
#include "RetrieveStackPointerFromTarget.hpp"

View File

@@ -1,27 +0,0 @@
#pragma once
#include <string>
#include "Event.hpp"
#include "TargetPinStatesRetrieved.hpp"
namespace Bloom::Events
{
class RetrieveTargetPinStates: public Event
{
public:
using TargetControllerResponseType = TargetPinStatesRetrieved;
static constexpr EventType type = EventType::RETRIEVE_TARGET_PIN_STATES;
static inline const std::string name = "RetrieveTargetPinStates";
int variantId = 0;
[[nodiscard]] EventType getType() const override {
return RetrieveTargetPinStates::type;
}
[[nodiscard]] std::string getName() const override {
return RetrieveTargetPinStates::name;
}
};
}