#include <OVR_Win32_DeviceStatus.h>
Classes | |
class | Notifier |
struct | RecoveryTimerDesc |
Public Member Functions | |
DeviceStatus (Notifier *const pClient) | |
bool | Initialize () |
void | operator= (const DeviceStatus &) |
void | ProcessMessages () |
void | ShutDown () |
~DeviceStatus () | |
Private Types | |
enum | { MaxUSBRecoveryAttempts = 20, USBRecoveryTimeInterval = 500 } |
Private Member Functions | |
void | CleanupRecoveryTimer (UPInt index) |
void | FindAndCleanupRecoveryTimer (const String &devicePath) |
RecoveryTimerDesc * | FindRecoveryTimer (UINT_PTR timerId, UPInt *pindex) |
bool | MessageCallback (WORD messageType, const String &devicePath) |
Static Private Member Functions | |
static LRESULT CALLBACK | WindowsMessageCallback (HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam) |
Private Attributes | |
HDEVNOTIFY | hDeviceNotify |
GUID | HidGuid |
HWND | hMessageWindow |
UINT_PTR | LastTimerId |
Notifier *const | pNotificationClient |
Array< RecoveryTimerDesc > | RecoveryTimers |
Definition at line 35 of file OVR_Win32_DeviceStatus.h.
anonymous enum [private] |
Definition at line 64 of file OVR_Win32_DeviceStatus.h.
OVR::Win32::DeviceStatus::DeviceStatus | ( | Notifier *const | pClient | ) |
Definition at line 29 of file OVR_Win32_DeviceStatus.cpp.
Definition at line 133 of file OVR_Win32_DeviceStatus.cpp.
void OVR::Win32::DeviceStatus::CleanupRecoveryTimer | ( | UPInt | index | ) | [private] |
Definition at line 171 of file OVR_Win32_DeviceStatus.cpp.
void OVR::Win32::DeviceStatus::FindAndCleanupRecoveryTimer | ( | const String & | devicePath | ) | [private] |
Definition at line 192 of file OVR_Win32_DeviceStatus.cpp.
DeviceStatus::RecoveryTimerDesc * OVR::Win32::DeviceStatus::FindRecoveryTimer | ( | UINT_PTR | timerId, |
UPInt * | pindex | ||
) | [private] |
Definition at line 178 of file OVR_Win32_DeviceStatus.cpp.
bool OVR::Win32::DeviceStatus::Initialize | ( | ) |
Definition at line 34 of file OVR_Win32_DeviceStatus.cpp.
bool OVR::Win32::DeviceStatus::MessageCallback | ( | WORD | messageType, |
const String & | devicePath | ||
) | [private] |
Definition at line 153 of file OVR_Win32_DeviceStatus.cpp.
void OVR::Win32::DeviceStatus::operator= | ( | const DeviceStatus & | ) |
Definition at line 138 of file OVR_Win32_DeviceStatus.cpp.
void OVR::Win32::DeviceStatus::ShutDown | ( | ) |
Definition at line 110 of file OVR_Win32_DeviceStatus.cpp.
LRESULT CALLBACK OVR::Win32::DeviceStatus::WindowsMessageCallback | ( | HWND | hwnd, |
UINT | message, | ||
WPARAM | wParam, | ||
LPARAM | lParam | ||
) | [static, private] |
Definition at line 205 of file OVR_Win32_DeviceStatus.cpp.
HDEVNOTIFY OVR::Win32::DeviceStatus::hDeviceNotify [private] |
Definition at line 91 of file OVR_Win32_DeviceStatus.h.
GUID OVR::Win32::DeviceStatus::HidGuid [private] |
Definition at line 96 of file OVR_Win32_DeviceStatus.h.
HWND OVR::Win32::DeviceStatus::hMessageWindow [private] |
Definition at line 90 of file OVR_Win32_DeviceStatus.h.
UINT_PTR OVR::Win32::DeviceStatus::LastTimerId [private] |
Definition at line 93 of file OVR_Win32_DeviceStatus.h.
Notifier* const OVR::Win32::DeviceStatus::pNotificationClient [private] |
Definition at line 88 of file OVR_Win32_DeviceStatus.h.
Definition at line 94 of file OVR_Win32_DeviceStatus.h.