The HEventListener class is the base class for all event types.
More...
#include <HEventListener.h>
The HEventListener class is the base class for all event types.
By subclassing from HEventListener any object can register itself with the event manager and receive events from arbitrary senders.
◆ HEventListener()
HEventListener::HEventListener |
( |
| ) |
|
|
inline |
◆ ConvertToManager()
void HEventListener::ConvertToManager |
( |
| ) |
|
|
inline |
Converts a listener object to a manager object.
◆ CreateListenerManager()
◆ GetEventListenerManager()
- Returns
- A pointer to Event Listener Manager Object.
◆ GetRequestedPriority()
int HEventListener::GetRequestedPriority |
( |
| ) |
|
|
inline |
- Returns
- The requested priority level which can be #HLISTENER_PRIORITY_NORMAL, #HLISTENER_PRIORITY_HIGH or #HLISTENER_PRIORITY_LOW.
◆ SetRequestedPriority()
void HEventListener::SetRequestedPriority |
( |
int |
v | ) |
|
|
inline |
Use this method to indicate the priority in which you like to receive an event. A high priority means that you would like to receive this event before any other listener.
- Returns
- The requested priority level which can be #HLISTENER_PRIORITY_NORMAL, #HLISTENER_PRIORITY_HIGH or #HLISTENER_PRIORITY_LOW.
◆ m_pEventListenerManager
A pointer to the event listener manager.
◆ m_RequestedPriority
int HEventListener::m_RequestedPriority |
|
protected |
The priority in which this event listener would like to receive notice of events. The possible values are #HLISTENER_PRIORITY_NORMAL, #HLISTENER_PRIORITY_HIGH or #HLISTENER_PRIORITY_LOW.
The documentation for this class was generated from the following file: