2021-05-30 16:52:32 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <string>
|
|
|
|
|
|
|
|
|
|
#include "Event.hpp"
|
|
|
|
|
#include "src/TargetController/TargetControllerState.hpp"
|
|
|
|
|
|
|
|
|
|
namespace Bloom::Events
|
|
|
|
|
{
|
|
|
|
|
class TargetControllerStateReported: public Event
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
TargetControllerState state;
|
|
|
|
|
|
2021-06-22 23:52:31 +01:00
|
|
|
explicit TargetControllerStateReported(TargetControllerState state): state(state) {};
|
2021-05-30 16:52:32 +01:00
|
|
|
|
|
|
|
|
static inline const std::string name = "TargetControllerStateReported";
|
|
|
|
|
|
2021-06-22 23:52:31 +01:00
|
|
|
[[nodiscard]] std::string getName() const override {
|
2021-05-30 16:52:32 +01:00
|
|
|
return TargetControllerStateReported::name;
|
|
|
|
|
}
|
|
|
|
|
};
|
|
|
|
|
}
|