2021-05-30 16:52:32 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
#include "Event.hpp"
|
2021-08-20 22:53:31 +01:00
|
|
|
#include "TargetControllerStateReported.hpp"
|
2021-05-30 16:52:32 +01:00
|
|
|
|
|
|
|
|
namespace Bloom::Events
|
|
|
|
|
{
|
|
|
|
|
class ReportTargetControllerState: public Event
|
|
|
|
|
{
|
|
|
|
|
public:
|
2021-08-20 22:53:31 +01:00
|
|
|
using TargetControllerResponseType = TargetControllerStateReported;
|
|
|
|
|
|
2021-12-25 21:01:58 +00:00
|
|
|
static constexpr EventType type = EventType::REPORT_TARGET_CONTROLLER_STATE;
|
2021-08-19 22:06:59 +01:00
|
|
|
static inline const std::string name = "ReportTargetControllerState";
|
|
|
|
|
|
2021-05-30 16:52:32 +01:00
|
|
|
ReportTargetControllerState() {};
|
|
|
|
|
|
2021-08-19 22:06:59 +01:00
|
|
|
[[nodiscard]] EventType getType() const override {
|
|
|
|
|
return ReportTargetControllerState::type;
|
|
|
|
|
}
|
2021-05-30 16:52:32 +01:00
|
|
|
|
2021-06-22 23:52:31 +01:00
|
|
|
[[nodiscard]] std::string getName() const override {
|
2021-05-30 16:52:32 +01:00
|
|
|
return ReportTargetControllerState::name;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|