Bike-X
0.8
|
#include "OVR_DeviceImpl.h"
Public Types | |
enum | MatchResult { Match_None, Match_Found, Match_Candidate } |
Public Member Functions | |
DeviceCreateDesc (DeviceFactory *factory, DeviceType type) | |
virtual | ~DeviceCreateDesc () |
DeviceManagerImpl * | GetManagerImpl () const |
Lock * | GetLock () const |
void | AddRef () |
void | Release () |
virtual DeviceCreateDesc * | Clone () const =0 |
virtual DeviceBase * | NewDeviceInstance ()=0 |
virtual bool | GetDeviceInfo (DeviceInfo *info) const =0 |
virtual MatchResult | MatchDevice (const DeviceCreateDesc &other, DeviceCreateDesc **pcandidate) const =0 |
virtual bool | UpdateMatchedCandidate (const DeviceCreateDesc &desc, bool *newDeviceFlag=NULL) |
virtual bool | MatchHIDDevice (const HIDDeviceDesc &) const |
virtual bool | MatchDevice (const String &) |
Public Member Functions inherited from OVR::ListNode< DeviceCreateDesc > | |
void | RemoveNode () |
void | ReplaceNodeWith (DeviceCreateDesc *pnew) |
void | InsertNodeAfter (DeviceCreateDesc *p) |
void | InsertNodeBefore (DeviceCreateDesc *p) |
void | Alloc_MoveTo (ListNode< DeviceCreateDesc > *pdest) |
Data Fields | |
DeviceFactory *const | pFactory |
const DeviceType | Type |
Ptr< DeviceManagerLock > | pLock |
AtomicInt< UInt32 > | HandleCount |
DeviceBase * | pDevice |
bool | Enumerated |
Data Fields inherited from OVR::ListNode< DeviceCreateDesc > | |
union { | |
T * | pPrev |
void * | pVoidPrev |
}; | |
union { | |
T * | pNext |
void * | pVoidNext |
}; | |
Private Member Functions | |
void | operator= (const DeviceCreateDesc &) |
Definition at line 112 of file OVR_DeviceImpl.h.
Enumerator | |
---|---|
Match_None | |
Match_Found | |
Match_Candidate |
Definition at line 150 of file OVR_DeviceImpl.h.
|
inline |
Definition at line 116 of file OVR_DeviceImpl.h.
|
inlinevirtual |
Definition at line 122 of file OVR_DeviceImpl.h.
void OVR::DeviceCreateDesc::AddRef | ( | ) |
Definition at line 687 of file OVR_DeviceImpl.cpp.
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 130 of file OVR_DeviceImpl.h.
|
inline |
Definition at line 129 of file OVR_DeviceImpl.h.
|
pure virtual |
|
inlinevirtual |
Reimplemented in OVR::Linux::HMDDeviceCreateDesc, and OVR::HIDDeviceCreateDesc.
Definition at line 176 of file OVR_DeviceImpl.h.
|
inlinevirtual |
Reimplemented in OVR::BootLoaderDeviceCreateDesc, OVR::SensorDeviceCreateDesc, and OVR::LatencyTestDeviceCreateDesc.
Definition at line 173 of file OVR_DeviceImpl.h.
|
pure virtual |
|
inlineprivate |
Definition at line 114 of file OVR_DeviceImpl.h.
void OVR::DeviceCreateDesc::Release | ( | ) |
Definition at line 694 of file OVR_DeviceImpl.cpp.
|
inlinevirtual |
Reimplemented in OVR::Linux::HMDDeviceCreateDesc.
Definition at line 168 of file OVR_DeviceImpl.h.
bool OVR::DeviceCreateDesc::Enumerated |
Definition at line 193 of file OVR_DeviceImpl.h.
Definition at line 189 of file OVR_DeviceImpl.h.
DeviceBase* OVR::DeviceCreateDesc::pDevice |
Definition at line 191 of file OVR_DeviceImpl.h.
DeviceFactory* const OVR::DeviceCreateDesc::pFactory |
Definition at line 178 of file OVR_DeviceImpl.h.
Ptr<DeviceManagerLock> OVR::DeviceCreateDesc::pLock |
Definition at line 182 of file OVR_DeviceImpl.h.
const DeviceType OVR::DeviceCreateDesc::Type |
Definition at line 179 of file OVR_DeviceImpl.h.