Base class for events.
Events are sent to targets via CYIEventDispatcher - targets are CYIEventTarget classes.
#include <event/YiEvent.h>
| CYIEvent::CYIEvent |
( |
const CYIEvent & |
rOther | ) |
|
| virtual CYIEvent::~CYIEvent |
( |
| ) |
|
|
virtual |
| virtual std::unique_ptr<CYIEvent> CYIEvent::Clone |
( |
| ) |
const |
|
virtual |
| std::unique_ptr<CYIActionEvent> CYIEvent::CloneAsActionEvent |
( |
| ) |
const |
| std::unique_ptr<CYIFocusEvent> CYIEvent::CloneAsFocusEvent |
( |
| ) |
const |
| std::unique_ptr<CYIKeyEvent> CYIEvent::CloneAsKeyEvent |
( |
| ) |
const |
Returns the name of the event if it exists and UNKNOWN otherwise.
Returns the type of the event.
| bool CYIEvent::IsActionEvent |
( |
| ) |
const |
|
inline |
Returns true if this event is an action event and false otherwise.
- See also
- CYIActionEvent
| bool CYIEvent::IsFocusEvent |
( |
| ) |
const |
|
inline |
Returns true if this event is a focus event and false otherwise.
- See also
- CYIFocusEvent
| bool CYIEvent::IsKeyEvent |
( |
| ) |
const |
|
inline |
Returns true if this event is a key event and false otherwise.
- See also
- CYIKeyEvent
| bool CYIEvent::IsTrackpadEvent |
( |
| ) |
const |
|
inline |
Returns true if this event is a trackpad event and false otherwise.
- See also
- CYITrackpadEvent
Sets the type of the event.
| bool CYIEvent::m_bCanBubble |
Whether this event can undergo the bubble phase.
| bool CYIEvent::m_bCanCancel |
Whether this event can be cancelled (propagation stopped).
| bool CYIEvent::m_bCanCapture |
Whether this event can undergo the capture phase.
| bool CYIEvent::m_bHandled |
Whether or not than event has been handled by a previous handler.
| bool CYIEvent::m_bStopPropagation |
When set to true the event will not undergo further processing.
The current event processing phase.
The event's current target.
The event's ultimate target.
| uint64_t CYIEvent::m_uEventTimeMs |
system time for the event, in milliseconds.
The documentation for this class was generated from the following file: