SurgSim::Devices::InputDeviceHandle::State Struct Reference

## Public Member Functions

| State (std::shared_ptr< SurgSim::Framework::Logger > &&logger_)

## Public Attributes

std::shared_ptr< SurgSim::Framework::Logger > | logger
| The logger to use. More...
FileDescriptor | handle
| The underlying device file descriptor. More...
std::array< int, SystemInputDeviceHandle::MAX_NUM_BUTTONS > | buttonCodes
| Event library button code corresponding to each index. More...

## Private Member Functions

| State (const State &other)=delete
State & | operator= (const State &other)=delete

## Constructor & Destructor Documentation

## State() [1/2]

SurgSim::Devices::InputDeviceHandle::State::State | ( | std::shared_ptr< SurgSim::Framework::Logger > && | logger_ | ) |

inline explicit

## State() [2/2]

SurgSim::Devices::InputDeviceHandle::State::State | ( | const State & | other | ) |

private delete

## Member Function Documentation

## operator=()

State& SurgSim::Devices::InputDeviceHandle::State::operator= | ( | const State & | other | ) |

private delete

## Member Data Documentation

## buttonCodes

std::array<int, SystemInputDeviceHandle::MAX_NUM_BUTTONS> SurgSim::Devices::InputDeviceHandle::State::buttonCodes

Event library button code corresponding to each index.

## handle

FileDescriptor SurgSim::Devices::InputDeviceHandle::State::handle

The underlying device file descriptor.

## logger

std::shared_ptr<SurgSim::Framework::Logger> SurgSim::Devices::InputDeviceHandle::State::logger

The logger to use.

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

- SurgSim/Devices/MultiAxis/linux/InputDeviceHandle.cpp