Abstract base class for all events in Raven.
More...
#include <Event.h>
|
| bool | Handled = false |
| | Indicates whether the event has been handled.
|
Abstract base class for all events in Raven.
◆ ~Event()
| virtual Raven::Event::~Event |
( |
| ) |
|
|
virtualdefault |
◆ GetCategoryFlags()
Returns the category flags of the event.
- Returns
- Bitmask of EventCategory flags.
◆ GetEventType()
| virtual EventType Raven::Event::GetEventType |
( |
| ) |
const |
|
nodiscardpure virtual |
Returns the runtime event type.
- Returns
- The EventType of the event.
◆ GetName()
| virtual const char * Raven::Event::GetName |
( |
| ) |
const |
|
nodiscardpure virtual |
Returns the name of the event.
- Returns
- A null-terminated string representing the event name.
◆ IsInCategory()
Checks if the event belongs to the specified category.
- Parameters
-
| category | The category flag to test. |
- Returns
- True if the event is in the given category.
◆ ToString()
| virtual std::string Raven::Event::ToString |
( |
| ) |
const |
|
inlinenodiscardvirtual |
◆ Handled
| bool Raven::Event::Handled = false |
Indicates whether the event has been handled.
The documentation for this class was generated from the following file: