REFERENCE MANUAL
#include <hps.h>
Public Member Functions | |
Event * | Clone () const |
virtual bool | Equals (InputEvent const &in_that) const |
ModifierKeys | GetModifierKeys () const |
InputEvent () | |
InputEvent (ModifierKeys const &in_modifiers) | |
virtual bool | operator!= (InputEvent const &in_that) const |
virtual bool | operator== (InputEvent const &in_that) const |
![]() | |
virtual bool | Drop (Event const *in_that_event) const |
Event (intptr_t in_channel=0) | |
virtual intptr_t | Freshen () const |
intptr_t | GetChannel () const |
intptr_t | GetClassID () const |
Time | GetTimeStamp () const |
bool | IsConsumable () const |
Public Attributes | |
ModifierKeys | ModifierKeyState |
The modifier keys which are active for this InputEvent. | |
Additional Inherited Members | |
![]() | |
enum | Status { Status::InProgress, Status::Completed, Status::Failed } |
![]() | |
static void | operator delete (void *in_ptr, size_t in_size) throw () |
static void * | operator new (size_t in_size) |
![]() | |
intptr_t | channel |
bool | consumable |
The InputEvent class is the base class for input events such as MouseEvent, TouchEvent, and KeyboardEvent. It contains functionality which is common to all input event types, namely the state of modifier keys.
|
inline |
This constructor creates a default InputEvent object.
|
inline |
This constructor creates a new InputEvent with the specified modifier keys initialized.
in_modifiers | The modifier keys associated with the new Event. |
|
inlinevirtual |
Allocates and returns a copy of this InputEvent.
Implements Event.
Reimplemented in KeyboardEvent, MouseEvent, and TouchEvent.
|
inlinevirtual |
Check if the source object is equivalent to this object.
in_kit | The source object to compare to this object. |
References ModifierKeyState.
Referenced by TouchEvent::Equals(), MouseEvent::Equals(), and KeyboardEvent::Equals().
|
inline |
Query whether a particular modifier key is active for this InputEvent.
in_modifier_key | The modifier key for which to query if it is active. |
|
inlinevirtual |
Check if the source object is not equivalent to this object.
in_kit | The source object to compare to this object. |
|
inlinevirtual |
Check if the source object is equivalent to this object.
in_kit | The source object to compare to this object. |