All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | List of all members
SurgSim::Device::WdkHidDeviceHandle::State Struct Reference
Collaboration diagram for SurgSim::Device::WdkHidDeviceHandle::State:
Collaboration graph
[legend]

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...
 
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

SurgSim::Device::WdkHidDeviceHandle::State::State ( std::shared_ptr< SurgSim::Framework::Logger > &&  logger_)
inlineexplicit
SurgSim::Device::WdkHidDeviceHandle::State::State ( const State other)
private

Member Function Documentation

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

Member Data Documentation

FileHandle SurgSim::Device::WdkHidDeviceHandle::State::handle

The underlying device file handle.

bool SurgSim::Device::WdkHidDeviceHandle::State::isDeviceDead

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

bool SurgSim::Device::WdkHidDeviceHandle::State::isOverlappedReadPending

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

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

The logger to use.

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

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

OVERLAPPED SurgSim::Device::WdkHidDeviceHandle::State::overlappedReadState

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


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