CommonLibSSE (Parapets fork)
RE::BSInputEventQueue Class Reference

#include <BSInputEventQueue.h>

Inheritance diagram for RE::BSInputEventQueue:
RE::BSTSingletonSDM< BSInputEventQueue > RE::BSTSingletonSDMBase< Traits >

Public Member Functions

template<class T >
T * GetCachedEvent ()
 
template<class T >
void AdvanceCount ()
 
template<class T , class... Args>
void AddEvent (Args &&... args)
 
template<class... Args>
void AddButtonEvent (Args &&... args)
 
template<class... Args>
void AddCharEvent (Args &&... args)
 
template<class... Args>
void AddMouseMoveEvent (Args &&... args)
 
template<class... Args>
void AddThumbstickEvent (Args &&... args)
 
template<class... Args>
void AddConnectEvent (Args &&... args)
 
template<class... Args>
void AddKinectEvent (Args &&... args)
 
void PushOntoInputQueue (InputEvent *a_event)
 
void ClearInputQueue ()
 

Static Public Member Functions

static BSInputEventQueueGetSingleton ()
 

Public Attributes

std::uint8_t pad001
 
std::uint16_t pad002
 
std::uint32_t buttonEventCount
 
std::uint32_t charEventCount
 
std::uint32_t mouseEventCount
 
std::uint32_t thumbstickEventCount
 
std::uint32_t connectEventCount
 
std::uint32_t kinectEventCount
 
std::uint32_t pad01C
 
ButtonEvent buttonEvents [MAX_BUTTON_EVENTS]
 
CharEvent charEvents [MAX_CHAR_EVENTS]
 
MouseMoveEvent mouseEvents [MAX_MOUSE_EVENTS]
 
ThumbstickEvent thumbstickEvents [MAX_THUMBSTICK_EVENTS]
 
DeviceConnectEvent connectEvents [MAX_CONNECT_EVENTS]
 
KinectEvent kinectEvents [MAX_KINECT_EVENTS]
 
InputEventqueueHead
 
InputEventqueueTail
 

Static Public Attributes

static constexpr std::uint8_t MAX_BUTTON_EVENTS = 10
 
static constexpr std::uint8_t MAX_CHAR_EVENTS = 5
 
static constexpr std::uint8_t MAX_MOUSE_EVENTS = 1
 
static constexpr std::uint8_t MAX_THUMBSTICK_EVENTS = 2
 
static constexpr std::uint8_t MAX_CONNECT_EVENTS = 1
 
static constexpr std::uint8_t MAX_KINECT_EVENTS = 1
 

Additional Inherited Members

- Public Types inherited from RE::BSTSingletonSDMBase< Traits >
using Type = typename Traits::Type
 
using Allocator = typename Traits::Allocator
 

Member Function Documentation

◆ AddButtonEvent()

template<class... Args>
void RE::BSInputEventQueue::AddButtonEvent ( Args &&...  args)
inline

◆ AddCharEvent()

template<class... Args>
void RE::BSInputEventQueue::AddCharEvent ( Args &&...  args)
inline

◆ AddConnectEvent()

template<class... Args>
void RE::BSInputEventQueue::AddConnectEvent ( Args &&...  args)
inline

◆ AddEvent()

template<class T , class... Args>
void RE::BSInputEventQueue::AddEvent ( Args &&...  args)
inline

◆ AddKinectEvent()

template<class... Args>
void RE::BSInputEventQueue::AddKinectEvent ( Args &&...  args)
inline

◆ AddMouseMoveEvent()

template<class... Args>
void RE::BSInputEventQueue::AddMouseMoveEvent ( Args &&...  args)
inline

◆ AddThumbstickEvent()

template<class... Args>
void RE::BSInputEventQueue::AddThumbstickEvent ( Args &&...  args)
inline

◆ AdvanceCount()

template<class T >
void RE::BSInputEventQueue::AdvanceCount ( )

◆ ClearInputQueue()

void RE::BSInputEventQueue::ClearInputQueue ( )

◆ GetCachedEvent()

template<class T >
T* RE::BSInputEventQueue::GetCachedEvent ( )

◆ GetSingleton()

static BSInputEventQueue* RE::BSInputEventQueue::GetSingleton ( )
static

◆ PushOntoInputQueue()

void RE::BSInputEventQueue::PushOntoInputQueue ( InputEvent a_event)

Member Data Documentation

◆ buttonEventCount

std::uint32_t RE::BSInputEventQueue::buttonEventCount

◆ buttonEvents

ButtonEvent RE::BSInputEventQueue::buttonEvents[MAX_BUTTON_EVENTS]

◆ charEventCount

std::uint32_t RE::BSInputEventQueue::charEventCount

◆ charEvents

CharEvent RE::BSInputEventQueue::charEvents[MAX_CHAR_EVENTS]

◆ connectEventCount

std::uint32_t RE::BSInputEventQueue::connectEventCount

◆ connectEvents

DeviceConnectEvent RE::BSInputEventQueue::connectEvents[MAX_CONNECT_EVENTS]

◆ kinectEventCount

std::uint32_t RE::BSInputEventQueue::kinectEventCount

◆ kinectEvents

KinectEvent RE::BSInputEventQueue::kinectEvents[MAX_KINECT_EVENTS]

◆ MAX_BUTTON_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_BUTTON_EVENTS = 10
inlinestaticconstexpr

◆ MAX_CHAR_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_CHAR_EVENTS = 5
inlinestaticconstexpr

◆ MAX_CONNECT_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_CONNECT_EVENTS = 1
inlinestaticconstexpr

◆ MAX_KINECT_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_KINECT_EVENTS = 1
inlinestaticconstexpr

◆ MAX_MOUSE_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_MOUSE_EVENTS = 1
inlinestaticconstexpr

◆ MAX_THUMBSTICK_EVENTS

constexpr std::uint8_t RE::BSInputEventQueue::MAX_THUMBSTICK_EVENTS = 2
inlinestaticconstexpr

◆ mouseEventCount

std::uint32_t RE::BSInputEventQueue::mouseEventCount

◆ mouseEvents

MouseMoveEvent RE::BSInputEventQueue::mouseEvents[MAX_MOUSE_EVENTS]

◆ pad001

std::uint8_t RE::BSInputEventQueue::pad001

◆ pad002

std::uint16_t RE::BSInputEventQueue::pad002

◆ pad01C

std::uint32_t RE::BSInputEventQueue::pad01C

◆ queueHead

InputEvent* RE::BSInputEventQueue::queueHead

◆ queueTail

InputEvent* RE::BSInputEventQueue::queueTail

◆ thumbstickEventCount

std::uint32_t RE::BSInputEventQueue::thumbstickEventCount

◆ thumbstickEvents

ThumbstickEvent RE::BSInputEventQueue::thumbstickEvents[MAX_THUMBSTICK_EVENTS]

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