#include <OVR_DeviceImpl.h>
Public Types | |
enum | MatchResult { Match_None, Match_Found, Match_Candidate } |
Public Member Functions | |
void | AddRef () |
virtual DeviceCreateDesc * | Clone () const =0 |
DeviceCreateDesc (DeviceFactory *factory, DeviceType type) | |
virtual bool | GetDeviceInfo (DeviceInfo *info) const =0 |
Lock * | GetLock () const |
DeviceManagerImpl * | GetManagerImpl () const |
virtual MatchResult | MatchDevice (const DeviceCreateDesc &other, DeviceCreateDesc **pcandidate) const =0 |
virtual bool | MatchDevice (const String &) |
virtual bool | MatchHIDDevice (const HIDDeviceDesc &) const |
virtual DeviceBase * | NewDeviceInstance ()=0 |
void | Release () |
virtual bool | UpdateMatchedCandidate (const DeviceCreateDesc &desc, bool *newDeviceFlag=NULL) |
virtual | ~DeviceCreateDesc () |
Public Attributes | |
bool | Enumerated |
AtomicInt< UInt32 > | HandleCount |
DeviceBase * | pDevice |
DeviceFactory *const | pFactory |
Ptr< DeviceManagerLock > | pLock |
const DeviceType | Type |
Private Member Functions | |
void | operator= (const DeviceCreateDesc &) |
Definition at line 119 of file OVR_DeviceImpl.h.
Definition at line 157 of file OVR_DeviceImpl.h.
OVR::DeviceCreateDesc::DeviceCreateDesc | ( | DeviceFactory * | factory, |
DeviceType | type | ||
) | [inline] |
Definition at line 123 of file OVR_DeviceImpl.h.
virtual OVR::DeviceCreateDesc::~DeviceCreateDesc | ( | ) | [inline, virtual] |
Definition at line 129 of file OVR_DeviceImpl.h.
void OVR::DeviceCreateDesc::AddRef | ( | ) |
Definition at line 683 of file OVR_DeviceImpl.cpp.
virtual DeviceCreateDesc* OVR::DeviceCreateDesc::Clone | ( | ) | const [pure virtual] |
virtual bool OVR::DeviceCreateDesc::GetDeviceInfo | ( | DeviceInfo * | info | ) | const [pure virtual] |
Lock* OVR::DeviceCreateDesc::GetLock | ( | ) | const [inline] |
Definition at line 137 of file OVR_DeviceImpl.h.
DeviceManagerImpl* OVR::DeviceCreateDesc::GetManagerImpl | ( | ) | const [inline] |
Definition at line 136 of file OVR_DeviceImpl.h.
virtual MatchResult OVR::DeviceCreateDesc::MatchDevice | ( | const DeviceCreateDesc & | other, |
DeviceCreateDesc ** | pcandidate | ||
) | const [pure virtual] |
virtual bool OVR::DeviceCreateDesc::MatchDevice | ( | const String & | ) | [inline, virtual] |
Reimplemented in OVR::Win32::HMDDeviceCreateDesc, OVR::Linux::HMDDeviceCreateDesc, and OVR::HIDDeviceCreateDesc.
Definition at line 183 of file OVR_DeviceImpl.h.
virtual bool OVR::DeviceCreateDesc::MatchHIDDevice | ( | const HIDDeviceDesc & | ) | const [inline, virtual] |
Reimplemented in OVR::LatencyTestDeviceCreateDesc, and OVR::SensorDeviceCreateDesc.
Definition at line 180 of file OVR_DeviceImpl.h.
virtual DeviceBase* OVR::DeviceCreateDesc::NewDeviceInstance | ( | ) | [pure virtual] |
void OVR::DeviceCreateDesc::operator= | ( | const DeviceCreateDesc & | ) | [inline, private] |
Definition at line 121 of file OVR_DeviceImpl.h.
void OVR::DeviceCreateDesc::Release | ( | ) |
Definition at line 690 of file OVR_DeviceImpl.cpp.
virtual bool OVR::DeviceCreateDesc::UpdateMatchedCandidate | ( | const DeviceCreateDesc & | desc, |
bool * | newDeviceFlag = NULL |
||
) | [inline, virtual] |
Reimplemented in OVR::Win32::HMDDeviceCreateDesc, OVR::Linux::HMDDeviceCreateDesc, and OVR::OSX::HMDDeviceCreateDesc.
Definition at line 175 of file OVR_DeviceImpl.h.
Definition at line 200 of file OVR_DeviceImpl.h.
Definition at line 196 of file OVR_DeviceImpl.h.
Definition at line 198 of file OVR_DeviceImpl.h.
Definition at line 185 of file OVR_DeviceImpl.h.
Definition at line 189 of file OVR_DeviceImpl.h.
Definition at line 186 of file OVR_DeviceImpl.h.