#include <OVR_Device.h>
Public Types | |
enum | { EnumDeviceType = Device_All } |
Public Member Functions | |
virtual void | AddRef () |
virtual bool | GetDeviceInfo (DeviceInfo *info) const |
Lock * | GetHandlerLock () const |
virtual DeviceManager * | GetManager () const |
virtual MessageHandler * | GetMessageHandler () const |
virtual DeviceBase * | GetParent () const |
virtual DeviceType | GetType () const |
virtual void | Release () |
virtual void | SetMessageHandler (MessageHandler *handler) |
virtual | ~DeviceBase () |
Protected Member Functions | |
virtual DeviceCommon * | getDeviceCommon () const =0 |
Friends | |
class | DeviceHandle |
class | DeviceManagerImpl |
Definition at line 88 of file OVR_Device.h.
anonymous enum |
Definition at line 95 of file OVR_Device.h.
virtual OVR::DeviceBase::~DeviceBase | ( | ) | [inline, virtual] |
Definition at line 97 of file OVR_Device.h.
void OVR::DeviceBase::AddRef | ( | ) | [virtual] |
Definition at line 230 of file OVR_DeviceImpl.cpp.
virtual DeviceCommon* OVR::DeviceBase::getDeviceCommon | ( | ) | const [protected, pure virtual] |
bool OVR::DeviceBase::GetDeviceInfo | ( | DeviceInfo * | info | ) | const [virtual] |
Reimplemented in OVR::OSX::DeviceManager, OVR::Linux::DeviceManager, and OVR::Win32::DeviceManager.
Definition at line 261 of file OVR_DeviceImpl.cpp.
Lock * OVR::DeviceBase::GetHandlerLock | ( | ) | const |
Definition at line 269 of file OVR_DeviceImpl.cpp.
DeviceManager * OVR::DeviceBase::GetManager | ( | ) | const [virtual] |
Reimplemented in OVR::DeviceManager.
Definition at line 242 of file OVR_DeviceImpl.cpp.
MessageHandler * OVR::DeviceBase::GetMessageHandler | ( | ) | const [virtual] |
Definition at line 251 of file OVR_DeviceImpl.cpp.
DeviceBase * OVR::DeviceBase::GetParent | ( | ) | const [virtual] |
Definition at line 238 of file OVR_DeviceImpl.cpp.
DeviceType OVR::DeviceBase::GetType | ( | ) | const [virtual] |
Reimplemented in OVR::LatencyTestDevice, OVR::SensorDevice, OVR::HMDDevice, and OVR::DeviceManager.
Definition at line 256 of file OVR_DeviceImpl.cpp.
void OVR::DeviceBase::Release | ( | ) | [virtual] |
Definition at line 234 of file OVR_DeviceImpl.cpp.
void OVR::DeviceBase::SetMessageHandler | ( | MessageHandler * | handler | ) | [virtual] |
Reimplemented in OVR::SensorDeviceImpl.
Definition at line 247 of file OVR_DeviceImpl.cpp.
friend class DeviceHandle [friend] |
Definition at line 90 of file OVR_Device.h.
friend class DeviceManagerImpl [friend] |
Definition at line 91 of file OVR_Device.h.