Public Member Functions | Private Types | Private Member Functions | Private Attributes
OVR::Win32::HIDDevice Class Reference

#include <OVR_Win32_HIDDevice.h>

Inheritance diagram for OVR::Win32::HIDDevice:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool GetFeatureReport (UByte *data, UInt32 length)
 HIDDevice (HIDDeviceManager *manager)
 HIDDevice (HIDDeviceManager *manager, HANDLE device)
bool HIDInitialize (const String &path)
void HIDShutdown ()
bool OnDeviceMessage (DeviceMessageType messageType, const String &devicePath, bool *error)
void OnOverlappedEvent (HANDLE hevent)
UInt64 OnTicks (UInt64 ticksMks)
bool SetFeatureReport (UByte *data, UInt32 length)
 ~HIDDevice ()

Private Types

enum  { ReadBufferSize = 96 }

Private Member Functions

void closeDevice ()
void closeDeviceOnIOError ()
bool initializeRead ()
bool initInfo ()
bool openDevice ()
bool processReadResult ()

Private Attributes

HIDDeviceDesc DevDesc
HANDLE Device
UInt16 FeatureReportBufferLength
HIDDeviceManagerHIDManager
bool inMinimalMode
UInt16 InputReportBufferLength
UInt16 OutputReportBufferLength
UByte ReadBuffer [ReadBufferSize]
OVERLAPPED ReadOverlapped
bool ReadRequested

Detailed Description

Definition at line 77 of file OVR_Win32_HIDDevice.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
ReadBufferSize 

Definition at line 118 of file OVR_Win32_HIDDevice.h.


Constructor & Destructor Documentation

Definition at line 252 of file OVR_Win32_HIDDevice.cpp.

OVR::Win32::HIDDevice::HIDDevice ( HIDDeviceManager manager,
HANDLE  device 
)

Definition at line 260 of file OVR_Win32_HIDDevice.cpp.

Reimplemented from OVR::HIDDevice.

Definition at line 266 of file OVR_Win32_HIDDevice.cpp.


Member Function Documentation

Definition at line 467 of file OVR_Win32_HIDDevice.cpp.

Definition at line 484 of file OVR_Win32_HIDDevice.cpp.

bool OVR::Win32::HIDDevice::GetFeatureReport ( UByte data,
UInt32  length 
) [virtual]

Implements OVR::HIDDevice.

Definition at line 498 of file OVR_Win32_HIDDevice.cpp.

Definition at line 274 of file OVR_Win32_HIDDevice.cpp.

Definition at line 398 of file OVR_Win32_HIDDevice.cpp.

Definition at line 408 of file OVR_Win32_HIDDevice.cpp.

bool OVR::Win32::HIDDevice::initInfo ( ) [private]

Definition at line 298 of file OVR_Win32_HIDDevice.cpp.

bool OVR::Win32::HIDDevice::OnDeviceMessage ( DeviceMessageType  messageType,
const String devicePath,
bool *  error 
) [virtual]

Reimplemented from OVR::Win32::DeviceManagerThread::Notifier.

Definition at line 528 of file OVR_Win32_HIDDevice.cpp.

void OVR::Win32::HIDDevice::OnOverlappedEvent ( HANDLE  hevent) [virtual]

Reimplemented from OVR::Win32::DeviceManagerThread::Notifier.

Definition at line 506 of file OVR_Win32_HIDDevice.cpp.

UInt64 OVR::Win32::HIDDevice::OnTicks ( UInt64  ticksMks) [virtual]

Reimplemented from OVR::Win32::DeviceManagerThread::Notifier.

Definition at line 518 of file OVR_Win32_HIDDevice.cpp.

Definition at line 338 of file OVR_Win32_HIDDevice.cpp.

Definition at line 433 of file OVR_Win32_HIDDevice.cpp.

bool OVR::Win32::HIDDevice::SetFeatureReport ( UByte data,
UInt32  length 
) [virtual]

Implements OVR::HIDDevice.

Definition at line 490 of file OVR_Win32_HIDDevice.cpp.


Member Data Documentation

Definition at line 113 of file OVR_Win32_HIDDevice.h.

Definition at line 112 of file OVR_Win32_HIDDevice.h.

Definition at line 123 of file OVR_Win32_HIDDevice.h.

Definition at line 111 of file OVR_Win32_HIDDevice.h.

Definition at line 110 of file OVR_Win32_HIDDevice.h.

Definition at line 121 of file OVR_Win32_HIDDevice.h.

Definition at line 122 of file OVR_Win32_HIDDevice.h.

Definition at line 119 of file OVR_Win32_HIDDevice.h.

Definition at line 115 of file OVR_Win32_HIDDevice.h.

Definition at line 116 of file OVR_Win32_HIDDevice.h.


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


oculus_sdk
Author(s):
autogenerated on Mon Oct 6 2014 03:01:21