#include <hps.h>
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.
HPS::InputEvent::InputEvent |
( |
| ) |
|
|
inline |
This constructor creates a default InputEvent object.
HPS::InputEvent::InputEvent |
( |
ModifierKeys const & |
in_modifiers | ) |
|
|
inline |
This constructor creates a new InputEvent with the specified modifier keys initialized.
- Parameters
-
in_modifiers | The modifier keys associated with the new Event. |
Event* HPS::InputEvent::Clone |
( |
| ) |
const |
|
inlinevirtual |
virtual bool HPS::InputEvent::Equals |
( |
InputEvent const & |
in_that | ) |
const |
|
inlinevirtual |
Check if the source object is equivalent to this object.
- Parameters
-
in_kit | The source object to compare to this object. |
- Returns
- true if the objects are equivalent, false otherwise.
Query whether a particular modifier key is active for this InputEvent.
- Parameters
-
in_modifier_key | The modifier key for which to query if it is active. |
- Returns
- true if the given modifier key is active, false otherwise.
virtual bool HPS::InputEvent::operator!= |
( |
InputEvent const & |
in_that | ) |
const |
|
inlinevirtual |
Check if the source object is not equivalent to this object.
- Parameters
-
in_kit | The source object to compare to this object. |
- Returns
- true if the objects are not equivalent, false otherwise.
virtual bool HPS::InputEvent::operator== |
( |
InputEvent const & |
in_that | ) |
const |
|
inlinevirtual |
Check if the source object is equivalent to this object.
- Parameters
-
in_kit | The source object to compare to this object. |
- Returns
- true if the objects are equivalent, false otherwise.
The documentation for this class was generated from the following file:
- C:/git/visualize/hps/include/hps.h