Foray Library
rapid prototyping framework for crossplatform development of vulkan hardware ray tracing applications
Loading...
Searching...
No Matches
Protected Member Functions | Protected Attributes | List of all members
foray::osi::InputBase Class Reference

Base class for a single input channel of an input device. More...

#include <foray_input.hpp>

Inheritance diagram for foray::osi::InputBase:
foray::osi::InputAnalogue foray::osi::InputBinary foray::osi::InputDirectional foray::osi::InputDevice::AxisJoystick foray::osi::InputDevice::ButtonJoystick foray::osi::InputDevice::ButtonKeyboard foray::osi::InputDevice::ButtonMouse foray::osi::InputDevice::DirectionalMouseScroll

Protected Member Functions

 InputBase ()=default
 
 InputBase (InputDevice *device, int32_t id, std::string_view name)
 

Protected Attributes

InputDevicemDevice = {}
 Device providing this input.
 
int32_t mId = {}
 
std::string mName = {}
 

Detailed Description

Base class for a single input channel of an input device.

Constructor & Destructor Documentation

◆ InputBase() [1/2]

foray::osi::InputBase::InputBase ( )
inlineprotecteddefault

◆ InputBase() [2/2]

foray::osi::InputBase::InputBase ( InputDevice device,
int32_t  id,
std::string_view  name 
)
inlineprotected

Member Data Documentation

◆ mDevice

InputDevice* foray::osi::InputBase::mDevice = {}
protected

Device providing this input.

Device-unique Id of the input

Human readable name of the input

◆ mId

int32_t foray::osi::InputBase::mId = {}
protected

◆ mName

std::string foray::osi::InputBase::mName = {}
protected

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