2021-04-04 21:04:12 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
2021-05-25 21:50:17 +01:00
|
|
|
#include <string>
|
2021-04-04 21:04:12 +01:00
|
|
|
|
|
|
|
|
#include "Event.hpp"
|
2021-09-11 20:39:31 +01:00
|
|
|
#include "src/Targets/TargetRegister.hpp"
|
2021-04-04 21:04:12 +01:00
|
|
|
|
|
|
|
|
namespace Bloom::Events
|
|
|
|
|
{
|
|
|
|
|
class RegistersWrittenToTarget: public Event
|
|
|
|
|
{
|
|
|
|
|
public:
|
2021-08-19 22:06:59 +01:00
|
|
|
static inline EventType type = EventType::REGISTERS_WRITTEN_TO_TARGET;
|
2021-04-04 21:04:12 +01:00
|
|
|
static inline const std::string name = "RegistersWrittenToTarget";
|
|
|
|
|
|
2021-09-11 20:39:31 +01:00
|
|
|
Targets::TargetRegisterDescriptors descriptors;
|
|
|
|
|
|
2021-08-19 22:06:59 +01:00
|
|
|
[[nodiscard]] EventType getType() const override {
|
|
|
|
|
return RegistersWrittenToTarget::type;
|
|
|
|
|
}
|
|
|
|
|
|
2021-06-22 23:52:31 +01:00
|
|
|
[[nodiscard]] std::string getName() const override {
|
2021-04-04 21:04:12 +01:00
|
|
|
return RegistersWrittenToTarget::name;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|