Blender
V3.3
|
#include <GHOST_Event.h>
Public Member Functions | |
GHOST_Event (uint64_t msec, GHOST_TEventType type, GHOST_IWindow *window) | |
GHOST_TEventType | getType () |
uint64_t | getTime () |
GHOST_IWindow * | getWindow () |
GHOST_TEventDataPtr | getData () |
![]() | |
virtual | ~GHOST_IEvent () |
Protected Attributes | |
GHOST_TEventType | m_type |
uint64_t | m_time |
GHOST_IWindow * | m_window |
GHOST_TEventDataPtr | m_data |
Base class for events received the operating system.
Definition at line 16 of file GHOST_Event.h.
|
inline |
Constructor.
msec | The time this event was generated. |
type | The type of this event. |
window | The generating window (or NULL if system event). |
Definition at line 24 of file GHOST_Event.h.
|
inlinevirtual |
Returns the event data.
Implements GHOST_IEvent.
Definition at line 61 of file GHOST_Event.h.
References m_data.
|
inlinevirtual |
Returns the time this event was generated.
Implements GHOST_IEvent.
Definition at line 42 of file GHOST_Event.h.
References m_time.
|
inlinevirtual |
Returns the event type.
Implements GHOST_IEvent.
Definition at line 33 of file GHOST_Event.h.
References m_type.
|
inlinevirtual |
Returns the window this event was generated on, or NULL if it is a 'system' event.
Implements GHOST_IEvent.
Definition at line 52 of file GHOST_Event.h.
References m_window.
|
protected |
Pointer to the event data.
Definition at line 74 of file GHOST_Event.h.
Referenced by getData(), GHOST_EventDragnDrop::GHOST_EventDragnDrop(), GHOST_EventKey::GHOST_EventKey(), GHOST_EventNDOFButton::GHOST_EventNDOFButton(), GHOST_EventNDOFMotion::GHOST_EventNDOFMotion(), GHOST_EventString::GHOST_EventString(), GHOST_EventTrackpad::GHOST_EventTrackpad(), GHOST_EventWheel::GHOST_EventWheel(), and GHOST_EventString::~GHOST_EventString().
|
protected |
The time this event was generated.
Definition at line 70 of file GHOST_Event.h.
Referenced by getTime().
|
protected |
|
protected |
Pointer to the generating window.
Definition at line 72 of file GHOST_Event.h.
Referenced by getWindow().