CommonLibVR
RE::InputEvent Class Reference

#include <InputEvent.h>

Inheritance diagram for RE::InputEvent:
RE::CharEvent RE::DeviceConnectEvent RE::IDEvent RE::ButtonEvent RE::KinectEvent RE::MouseMoveEvent RE::ThumbstickEvent RE::VRWandEvent RE::VrWandTouchpadPositionEvent RE::VrWandTouchpadSwipeEvent

Public Member Functions

virtual ~InputEvent ()
 
virtual bool HasIDCode () const
 
virtual const BSFixedStringQUserEvent () const
 
constexpr INPUT_EVENT_TYPE GetEventType () const noexcept
 
constexpr INPUT_DEVICE GetDevice () const noexcept
 
ButtonEventAsButtonEvent ()
 
const ButtonEventAsButtonEvent () const
 
CharEventAsCharEvent ()
 
const CharEventAsCharEvent () const
 
IDEventAsIDEvent ()
 
const IDEventAsIDEvent () const
 
MouseMoveEventAsMouseMoveEvent ()
 
const MouseMoveEventAsMouseMoveEvent () const
 
ThumbstickEventAsThumbstickEvent ()
 
const ThumbstickEventAsThumbstickEvent () const
 

Public Attributes

stl::enumeration< INPUT_DEVICE, std::uint32_t > device
 
stl::enumeration< INPUT_EVENT_TYPE, std::uint32_t > eventType
 
InputEventnext
 

Static Public Attributes

static constexpr auto RTTI = RTTI_InputEvent
 
static constexpr auto VTABLE = VTABLE_InputEvent
 

Constructor & Destructor Documentation

◆ ~InputEvent()

virtual RE::InputEvent::~InputEvent ( )
virtual

Member Function Documentation

◆ AsButtonEvent() [1/2]

ButtonEvent* RE::InputEvent::AsButtonEvent ( )

◆ AsButtonEvent() [2/2]

const ButtonEvent* RE::InputEvent::AsButtonEvent ( ) const

◆ AsCharEvent() [1/2]

CharEvent* RE::InputEvent::AsCharEvent ( )

◆ AsCharEvent() [2/2]

const CharEvent* RE::InputEvent::AsCharEvent ( ) const

◆ AsIDEvent() [1/2]

IDEvent* RE::InputEvent::AsIDEvent ( )

◆ AsIDEvent() [2/2]

const IDEvent* RE::InputEvent::AsIDEvent ( ) const

◆ AsMouseMoveEvent() [1/2]

MouseMoveEvent* RE::InputEvent::AsMouseMoveEvent ( )

◆ AsMouseMoveEvent() [2/2]

const MouseMoveEvent* RE::InputEvent::AsMouseMoveEvent ( ) const

◆ AsThumbstickEvent() [1/2]

ThumbstickEvent* RE::InputEvent::AsThumbstickEvent ( )

◆ AsThumbstickEvent() [2/2]

const ThumbstickEvent* RE::InputEvent::AsThumbstickEvent ( ) const

◆ GetDevice()

constexpr INPUT_DEVICE RE::InputEvent::GetDevice ( ) const
inlineconstexprnoexcept

◆ GetEventType()

constexpr INPUT_EVENT_TYPE RE::InputEvent::GetEventType ( ) const
inlineconstexprnoexcept

◆ HasIDCode()

virtual bool RE::InputEvent::HasIDCode ( ) const
virtual

Reimplemented in RE::IDEvent.

◆ QUserEvent()

virtual const BSFixedString& RE::InputEvent::QUserEvent ( ) const
virtual

Reimplemented in RE::IDEvent.

Member Data Documentation

◆ device

stl::enumeration<INPUT_DEVICE, std::uint32_t> RE::InputEvent::device

◆ eventType

stl::enumeration<INPUT_EVENT_TYPE, std::uint32_t> RE::InputEvent::eventType

◆ next

InputEvent* RE::InputEvent::next

◆ RTTI

constexpr auto RE::InputEvent::RTTI = RTTI_InputEvent
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::InputEvent::VTABLE = VTABLE_InputEvent
inlinestaticconstexpr

The documentation for this class was generated from the following file: