#include <OVR_Win32_DeviceManager.h>
Classes | |
class | Notifier |
Public Member Functions | |
bool | AddMessageNotifier (Notifier *notify) |
bool | AddOverlappedEvent (Notifier *notify, HANDLE hevent) |
bool | AddTicksNotifier (Notifier *notify) |
void | DetachDeviceManager () |
DeviceManagerThread (DeviceManager *pdevMgr) | |
bool | OnMessage (MessageType type, const String &devicePath) |
virtual void | OnPopEmpty_Locked () |
virtual void | OnPushNonEmpty_Locked () |
bool | RemoveMessageNotifier (Notifier *notify) |
bool | RemoveOverlappedEvent (Notifier *notify, HANDLE hevent) |
bool | RemoveTicksNotifier (Notifier *notify) |
virtual int | Run () |
~DeviceManagerThread () | |
Private Types | |
enum | { ThreadStackSize = 32 * 1024 } |
Private Member Functions | |
bool | threadInitialized () |
Private Attributes | |
Lock | DevMgrLock |
HANDLE | hCommandEvent |
Array< Notifier * > | MessageNotifiers |
DeviceManager * | pDeviceMgr |
Ptr< DeviceStatus > | pStatusObject |
Array< Notifier * > | TicksNotifiers |
Array< HANDLE > | WaitHandles |
Array< Notifier * > | WaitNotifiers |
Friends | |
class | DeviceManager |
Definition at line 59 of file OVR_Win32_DeviceManager.h.
anonymous enum [private] |
Definition at line 62 of file OVR_Win32_DeviceManager.h.
Definition at line 134 of file OVR_Win32_DeviceManager.cpp.
Definition at line 149 of file OVR_Win32_DeviceManager.cpp.
bool OVR::Win32::DeviceManagerThread::AddMessageNotifier | ( | Notifier * | notify | ) |
Definition at line 289 of file OVR_Win32_DeviceManager.cpp.
bool OVR::Win32::DeviceManagerThread::AddOverlappedEvent | ( | Notifier * | notify, |
HANDLE | hevent | ||
) |
Definition at line 245 of file OVR_Win32_DeviceManager.cpp.
bool OVR::Win32::DeviceManagerThread::AddTicksNotifier | ( | Notifier * | notify | ) |
Definition at line 270 of file OVR_Win32_DeviceManager.cpp.
Definition at line 374 of file OVR_Win32_DeviceManager.cpp.
bool OVR::Win32::DeviceManagerThread::OnMessage | ( | MessageType | type, |
const String & | devicePath | ||
) | [virtual] |
Reimplemented from OVR::Win32::DeviceStatus::Notifier.
Definition at line 308 of file OVR_Win32_DeviceManager.cpp.
virtual void OVR::Win32::DeviceManagerThread::OnPopEmpty_Locked | ( | ) | [inline, virtual] |
Reimplemented from OVR::ThreadCommandQueue.
Definition at line 71 of file OVR_Win32_DeviceManager.h.
virtual void OVR::Win32::DeviceManagerThread::OnPushNonEmpty_Locked | ( | ) | [inline, virtual] |
Reimplemented from OVR::ThreadCommandQueue.
Definition at line 70 of file OVR_Win32_DeviceManager.h.
bool OVR::Win32::DeviceManagerThread::RemoveMessageNotifier | ( | Notifier * | notify | ) |
Definition at line 295 of file OVR_Win32_DeviceManager.cpp.
bool OVR::Win32::DeviceManagerThread::RemoveOverlappedEvent | ( | Notifier * | notify, |
HANDLE | hevent | ||
) |
Definition at line 254 of file OVR_Win32_DeviceManager.cpp.
bool OVR::Win32::DeviceManagerThread::RemoveTicksNotifier | ( | Notifier * | notify | ) |
Definition at line 276 of file OVR_Win32_DeviceManager.cpp.
int OVR::Win32::DeviceManagerThread::Run | ( | ) | [virtual] |
Reimplemented from OVR::Thread.
Definition at line 160 of file OVR_Win32_DeviceManager.cpp.
bool OVR::Win32::DeviceManagerThread::threadInitialized | ( | ) | [inline, private] |
Definition at line 119 of file OVR_Win32_DeviceManager.h.
friend class DeviceManager [friend] |
Definition at line 61 of file OVR_Win32_DeviceManager.h.
Definition at line 139 of file OVR_Win32_DeviceManager.h.
HANDLE OVR::Win32::DeviceManagerThread::hCommandEvent [private] |
Definition at line 122 of file OVR_Win32_DeviceManager.h.
Definition at line 134 of file OVR_Win32_DeviceManager.h.
Definition at line 141 of file OVR_Win32_DeviceManager.h.
Definition at line 137 of file OVR_Win32_DeviceManager.h.
Definition at line 131 of file OVR_Win32_DeviceManager.h.
Array<HANDLE> OVR::Win32::DeviceManagerThread::WaitHandles [private] |
Definition at line 127 of file OVR_Win32_DeviceManager.h.
Definition at line 128 of file OVR_Win32_DeviceManager.h.