28 #ifndef OVR_DeviceHandle_h
29 #define OVR_DeviceHandle_h
39 class DeviceCreateDesc;
40 class DeviceEnumerationArgs;
91 template <
class DeviceT>
94 return static_cast<DeviceT*
>(
DeviceHandle(*this).CreateDevice());
DeviceT * CreateDeviceTyped() const
bool GetDeviceInfo(DeviceInfo *info) const
DeviceType GetType() const
bool IsDevice(DeviceBase *) const
void operator=(const DeviceHandle &src)
bool operator==(const DeviceHandle &other) const
DeviceBase * GetDevice_AddRef() const
bool enumerateNext(const DeviceEnumerationArgs &args)
DeviceBase * CreateDevice()
bool operator!=(const DeviceHandle &other) const