Arnold Engine
 
Loading...
Searching...
No Matches
AE::Events::Event Class Referenceabstract

Base class for the event system. More...

#include <Event.h>

Inheritance diagram for AE::Events::Event:
AE::Events::AppRenderEvent AE::Events::AppTickEvent AE::Events::AppUpdateEvent AE::Events::KeyEvent AE::Events::MouseButtonEvent AE::Events::MouseMovedEvent AE::Events::MouseScrolledEvent AE::Events::WindowCloseEvent AE::Events::WindowResizeEvent

Public Member Functions

virtual EventType GetEventType () const =0
 
virtual const char * GetName () const =0
 
virtual int GetCategoryFlags () const =0
 
virtual std::string ToString () const
 
bool IsInCategory (EventCategory category)
 

Public Attributes

bool Handled = false
 

Friends

class EventHandler
 

Detailed Description

Base class for the event system.

The Event system provides a type-safe way to handle various events including:

  • Window events (resize, close)
  • Input events (keyboard, mouse)
  • Application events (tick, update, render)

Events are processed through an event bus system where they can be:

  • Dispatched to appropriate handlers
  • Marked as handled to prevent further propagation
  • Categorized for filtering

The documentation for this class was generated from the following file: