1 #ifndef SET_ACTIVE_EVENT_H
2 #define SET_ACTIVE_EVENT_H
32 static std::shared_ptr<SetActiveEvent>
create(
const bool active) {
return std::make_shared<SetActiveEvent>(active); }
Class for event.
Definition: event.h:10
SetActiveEvent(const bool active)
Constructs a SetActiveEvent.
Definition: set_active_event.h:24
Class for set active event.
Definition: set_active_event.h:13
bool getActive() const noexcept
Gets active.
Definition: set_active_event.h:38
EventType
Event type enum that is used when passing events.
Definition: event_type.h:12
Definition: event_type.h:27
static std::shared_ptr< SetActiveEvent > create(const bool active)
Factory function.
Definition: set_active_event.h:32
Event(const EventType &type)
Event constructor.
Definition: event.h:21