EHS
|
#include <HID.h>
Public Member Functions | |
HID () | |
HID (UInt_8 type, Str_8 name, UInt_64 id) | |
HID (HID &&hid) noexcept | |
HID (const HID &hid) | |
HID & | operator= (HID &&hid) noexcept |
HID & | operator= (const HID &hid) |
bool | operator== (const HID &other) const |
bool | operator!= (const HID &other) const |
bool | operator== (UInt_64 otherId) const |
bool | operator!= (UInt_64 otherId) const |
virtual void | Poll (float delta) |
UInt_8 | GetType () const |
Str_8 | GetName () const |
UInt_64 | GetId () const |
void | ReleaseAll () |
Vector< const ButtonState * > | GetAllTouched () const |
const ButtonState * | IsTouched (const Button &button) const |
const ButtonState * | IsTouched () const |
Vector< const ButtonState * > | GetAllDown () const |
const ButtonState * | IsDown (const Button &button) const |
const ButtonState * | IsDown () const |
Vector< const ButtonState * > | GetAllJustReleased () const |
const ButtonState * | IsJustReleased (const Button &button) const |
const ButtonState * | IsJustReleased () const |
Vector< const ButtonState * > | GetAllUp () const |
const ButtonState * | IsUp (const Button &button) const |
const ButtonState * | IsUp () const |
const ButtonState * | IsPressed (const Button &button) |
const ButtonState * | GetPressed () |
void | ButtonDown (const Button &button) |
void | ButtonUp (const Button &button) |
const ButtonState * | GetState (const Button &button) const |
bool | IsValid () const |
virtual HID * | Clone () const |
Protected Attributes | |
UInt_8 | type |
UInt_64 | hashName |
Str_8 | name |
UInt_64 | id |
Array< ButtonState > | states |
Button | lastState |
float | heldTime |
float | activateTime |
bool | active |
ehs::HID::HID | ( | ) |
|
noexcept |
ehs::HID::HID | ( | const HID & | hid | ) |
void ehs::HID::ButtonDown | ( | const Button & | button | ) |
void ehs::HID::ButtonUp | ( | const Button & | button | ) |
|
virtual |
Reimplemented in ehs::Keyboard, and ehs::Mouse.
Vector< const ButtonState * > ehs::HID::GetAllDown | ( | ) | const |
Vector< const ButtonState * > ehs::HID::GetAllJustReleased | ( | ) | const |
Vector< const ButtonState * > ehs::HID::GetAllTouched | ( | ) | const |
Vector< const ButtonState * > ehs::HID::GetAllUp | ( | ) | const |
UInt_64 ehs::HID::GetId | ( | ) | const |
Str_8 ehs::HID::GetName | ( | ) | const |
const ButtonState * ehs::HID::GetPressed | ( | ) |
const ButtonState * ehs::HID::GetState | ( | const Button & | button | ) | const |
UInt_8 ehs::HID::GetType | ( | ) | const |
const ButtonState * ehs::HID::IsDown | ( | ) | const |
const ButtonState * ehs::HID::IsDown | ( | const Button & | button | ) | const |
const ButtonState * ehs::HID::IsJustReleased | ( | ) | const |
const ButtonState * ehs::HID::IsJustReleased | ( | const Button & | button | ) | const |
const ButtonState * ehs::HID::IsPressed | ( | const Button & | button | ) |
const ButtonState * ehs::HID::IsTouched | ( | ) | const |
const ButtonState * ehs::HID::IsTouched | ( | const Button & | button | ) | const |
const ButtonState * ehs::HID::IsUp | ( | ) | const |
const ButtonState * ehs::HID::IsUp | ( | const Button & | button | ) | const |
bool ehs::HID::IsValid | ( | ) | const |
bool ehs::HID::operator!= | ( | const HID & | other | ) | const |
bool ehs::HID::operator!= | ( | UInt_64 | otherId | ) | const |
bool ehs::HID::operator== | ( | const HID & | other | ) | const |
bool ehs::HID::operator== | ( | UInt_64 | otherId | ) | const |
|
virtual |
Reimplemented in ehs::Keyboard, and ehs::Mouse.
void ehs::HID::ReleaseAll | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |