Updated TargetControllerConsole to use template method for triggering events for the TargetController.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "TargetPinStatesRetrieved.hpp"
|
||||
#include "src/Targets/TargetPinDescriptor.hpp"
|
||||
|
||||
namespace Bloom::Events
|
||||
@@ -10,6 +11,8 @@ namespace Bloom::Events
|
||||
class SetTargetPinState: public Event
|
||||
{
|
||||
public:
|
||||
using TargetControllerResponseType = TargetPinStatesRetrieved;
|
||||
|
||||
static inline EventType type = EventType::SET_TARGET_PIN_STATE;
|
||||
static inline const std::string name = "SetTargetPinState";
|
||||
int variantId = 0;
|
||||
|
||||
Reference in New Issue
Block a user