Public Member Functions | Public Attributes | Private Member Functions | List of all members
SurgSim::Devices::WdkHidDeviceHandle::State Struct Reference

Public Member Functions

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

Public Attributes

std::shared_ptr< SurgSim::Framework::Loggerlogger
 The logger to use. More...
 
FileHandle handle
 The underlying device file handle. More...
 
OVERLAPPED overlappedReadState
 The OVERLAPPED state structure for overlapped (i.e. asynchronous) reads. More...
 
unsigned char overlappedReadBuffer [7 *128]
 The buffer used to store the output of overlapped (i.e. asynchronous) reads. More...
 
bool isOverlappedReadPending
 True if we are waiting for the result of an overlapped (i.e. asynchronous) read. More...
 
bool isDeviceDead
 True if the communication with this device has failed without possibility of recovery. More...
 

Private Member Functions

 State (const State &other)
 
Stateoperator= (const State &other)
 

Constructor & Destructor Documentation

§ State() [1/2]

SurgSim::Devices::WdkHidDeviceHandle::State::State ( std::shared_ptr< SurgSim::Framework::Logger > &&  logger_)
inlineexplicit

§ State() [2/2]

SurgSim::Devices::WdkHidDeviceHandle::State::State ( const State other)
private

Member Function Documentation

§ operator=()

State& SurgSim::Devices::WdkHidDeviceHandle::State::operator= ( const State other)
private

Member Data Documentation

§ handle

FileHandle SurgSim::Devices::WdkHidDeviceHandle::State::handle

The underlying device file handle.

§ isDeviceDead

bool SurgSim::Devices::WdkHidDeviceHandle::State::isDeviceDead

True if the communication with this device has failed without possibility of recovery.

§ isOverlappedReadPending

bool SurgSim::Devices::WdkHidDeviceHandle::State::isOverlappedReadPending

True if we are waiting for the result of an overlapped (i.e. asynchronous) read.

§ logger

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

The logger to use.

§ overlappedReadBuffer

unsigned char SurgSim::Devices::WdkHidDeviceHandle::State::overlappedReadBuffer[7 *128]

The buffer used to store the output of overlapped (i.e. asynchronous) reads.

§ overlappedReadState

OVERLAPPED SurgSim::Devices::WdkHidDeviceHandle::State::overlappedReadState

The OVERLAPPED state structure for overlapped (i.e. asynchronous) reads.


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