Updated TargetControllerConsole to use template method for triggering events for the TargetController.
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "MemoryRetrievedFromTarget.hpp"
|
||||
#include "src/Targets/TargetMemory.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
@@ -11,6 +12,8 @@ namespace Bloom::Events
|
||||
class RetrieveMemoryFromTarget: public Event
|
||||
{
|
||||
public:
|
||||
using TargetControllerResponseType = MemoryRetrievedFromTarget;
|
||||
|
||||
static inline EventType type = EventType::RETRIEVE_MEMORY_FROM_TARGET;
|
||||
static inline const std::string name = "RetrieveMemoryFromTarget";
|
||||
Targets::TargetMemoryType memoryType = Targets::TargetMemoryType::RAM;
|
||||
|
||||
Reference in New Issue
Block a user