Replaced ExtractTargetDescriptor event with TC command
This commit is contained in:
@@ -29,8 +29,6 @@ namespace Bloom::Events
|
||||
TARGET_EXECUTION_RESUMED,
|
||||
TARGET_EXECUTION_STOPPED,
|
||||
MEMORY_WRITTEN_TO_TARGET,
|
||||
EXTRACT_TARGET_DESCRIPTOR,
|
||||
TARGET_DESCRIPTOR_EXTRACTED,
|
||||
INSIGHT_THREAD_STATE_CHANGED,
|
||||
TARGET_RESET,
|
||||
};
|
||||
|
||||
@@ -16,8 +16,6 @@
|
||||
#include "TargetExecutionResumed.hpp"
|
||||
#include "TargetExecutionStopped.hpp"
|
||||
#include "MemoryWrittenToTarget.hpp"
|
||||
#include "ExtractTargetDescriptor.hpp"
|
||||
#include "TargetDescriptorExtracted.hpp"
|
||||
#include "InsightThreadStateChanged.hpp"
|
||||
#include "TargetReset.hpp"
|
||||
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
|
||||
#include "TargetDescriptorExtracted.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
{
|
||||
class ExtractTargetDescriptor: public Event
|
||||
{
|
||||
public:
|
||||
using TargetControllerResponseType = TargetDescriptorExtracted;
|
||||
|
||||
static constexpr EventType type = EventType::EXTRACT_TARGET_DESCRIPTOR;
|
||||
static inline const std::string name = "ExtractTargetDescriptor";
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return ExtractTargetDescriptor::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string getName() const override {
|
||||
return ExtractTargetDescriptor::name;
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "src/Targets/TargetDescriptor.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
{
|
||||
class TargetDescriptorExtracted: public Event
|
||||
{
|
||||
public:
|
||||
static constexpr EventType type = EventType::TARGET_DESCRIPTOR_EXTRACTED;
|
||||
static inline const std::string name = "TargetDescriptorExtracted";
|
||||
Targets::TargetDescriptor targetDescriptor;
|
||||
|
||||
[[nodiscard]] EventType getType() const override {
|
||||
return TargetDescriptorExtracted::type;
|
||||
}
|
||||
|
||||
[[nodiscard]] std::string getName() const override {
|
||||
return TargetDescriptorExtracted::name;
|
||||
}
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user