Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Private Attributes | List of all members
sw::input::JoystickDevice Class Reference

Joystick or other controller state and events. More...

#include <JoystickDevice.h>

Inheritance diagram for sw::input::JoystickDevice:
sw::input::Device

Public Member Functions

 JoystickDevice ()=default
 
 ~JoystickDevice ()=default
 
const InputDeviceInfoGetInfo () const
 
const JoystickStateGetState () const
 
void ApplyAllEvents ()
 
DeviceEvent ApplyNextEvent ()
 
Timestamp GetNextEvtTimestamp ()
 
void RemoveEvents ()
 
EventQueue< DeviceEvent > & GetEventsQueue ()
 
- Public Member Functions inherited from sw::input::Device
 Device ()=default
 
virtual ~Device ()=default
 

Private Attributes

InputDeviceInfo m_info
 
JoystickState m_state
 
EventQueue< DeviceEventm_events
 

Detailed Description

Joystick or other controller state and events.

Constructor & Destructor Documentation

sw::input::JoystickDevice::JoystickDevice ( )
explicitdefault
sw::input::JoystickDevice::~JoystickDevice ( )
default

Member Function Documentation

void sw::input::JoystickDevice::ApplyAllEvents ( )
inline
DeviceEvent sw::input::JoystickDevice::ApplyNextEvent ( )
inline
EventQueue< DeviceEvent >& sw::input::JoystickDevice::GetEventsQueue ( )
inline
const InputDeviceInfo& sw::input::JoystickDevice::GetInfo ( ) const
inline
Timestamp sw::input::JoystickDevice::GetNextEvtTimestamp ( )
inline
const JoystickState& sw::input::JoystickDevice::GetState ( ) const
inline
void sw::input::JoystickDevice::RemoveEvents ( )
inline

Member Data Documentation

EventQueue< DeviceEvent > sw::input::JoystickDevice::m_events
private
InputDeviceInfo sw::input::JoystickDevice::m_info
private
JoystickState sw::input::JoystickDevice::m_state
private

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