Classes | Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes
OVR::Win32::DeviceStatus Class Reference

#include <OVR_Win32_DeviceStatus.h>

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

List of all members.

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)
RecoveryTimerDescFindRecoveryTimer (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< RecoveryTimerDescRecoveryTimers

Detailed Description

Definition at line 35 of file OVR_Win32_DeviceStatus.h.


Member Enumeration Documentation

anonymous enum [private]
Enumerator:
MaxUSBRecoveryAttempts 
USBRecoveryTimeInterval 

Definition at line 64 of file OVR_Win32_DeviceStatus.h.


Constructor & Destructor Documentation

Definition at line 29 of file OVR_Win32_DeviceStatus.cpp.

Definition at line 133 of file OVR_Win32_DeviceStatus.cpp.


Member Function Documentation

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.

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.

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.


Member Data Documentation

Definition at line 91 of file OVR_Win32_DeviceStatus.h.

Definition at line 96 of file OVR_Win32_DeviceStatus.h.

Definition at line 90 of file OVR_Win32_DeviceStatus.h.

Definition at line 93 of file OVR_Win32_DeviceStatus.h.

Definition at line 88 of file OVR_Win32_DeviceStatus.h.

Definition at line 94 of file OVR_Win32_DeviceStatus.h.


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


oculus_sdk
Author(s):
autogenerated on Fri Aug 28 2015 11:53:12