96 bool _accepted =
false;
Base class for the event system.
Definition event.h:29
Event(Type type)
Constructs an Event with the given type.
Definition event.h:62
static const Type DeferredCall
Event type for deferred callable delivery.
Definition event.h:50
bool isAccepted() const
Returns whether this event has been accepted.
Definition event.h:77
virtual ~Event()=default
Virtual destructor.
Type type() const
Returns the type identifier for this event.
Definition event.h:71
static constexpr Type InvalidType
Sentinel value representing an invalid or unset event type.
Definition event.h:35
void ignore()
Marks the event as ignored (not accepted).
Definition event.h:92
static const Type Quit
Event type requesting an EventLoop to quit.
Definition event.h:56
static Type registerType()
Allocates and returns a unique event type ID.
static const Type Timer
Event type for TimerEvent.
Definition event.h:47
void accept()
Marks the event as accepted.
Definition event.h:85
static const Type SignalEvent
Event type for cross-thread signal dispatch.
Definition event.h:53
uint32_t Type
Integer type used to identify event kinds.
Definition event.h:32
Dynamic array container wrapping std::vector.
Definition list.h:40
#define PROMEKI_NAMESPACE_BEGIN
Starts a promeki namespace block.
Definition namespace.h:14
#define PROMEKI_NAMESPACE_END
Ends a promeki namespace block.
Definition namespace.h:19