27 std::vector<EventHandler> eventHandlers;
40 operator bool()
const;
50 Event& operator=(EventHandler handler);
51 Event& operator+=(EventHandler handler);
52 Event& operator-=(EventHandler handler);
void(* EventHandler)(const EventParams &eventParams)
Definition Event.h:18
#define HEPH_API
Definition HephShared.h:132
class for managing callback functions.
Definition Event.h:25
void AddEventHandler(EventHandler handler)
UserEventArgs userEventArgs
class for passing custom data to the event handlers as key/value pairs.
Definition Event.h:31
void ClearEventHandlers()
void RemoveEventHandler(EventHandler handler)
EventHandler GetEventHandler(size_t index) const
void Invoke(EventArgs *pArgs, EventResult *pResult) const
bool EventHandlerExists(EventHandler handler) const
void operator()(EventArgs *pArgs, EventResult *pResult) const
size_t EventHandlerCount() const
void RemoveEventHandler(size_t index)
void SetEventHandler(EventHandler handler)
void InsertEventHandler(EventHandler handler, size_t index)
class for passing custom data to the event handlers as key/value pairs.
Definition UserEventArgs.h:17
base class for storing arguments for an event .
Definition EventArgs.h:13
stores the information required to handle an event.
Definition EventParams.h:16
base class for storing the results of an event .
Definition EventResult.h:13