#include <OVR_Device.h>
Public Types | |
enum | { EnumDeviceType = Device_Sensor } |
enum | CoordinateFrame { Coord_Sensor = 0, Coord_HMD = 1 } |
Public Member Functions | |
virtual CoordinateFrame | GetCoordinateFrame () const =0 |
virtual void | GetRange (SensorRange *range) const =0 |
virtual unsigned | GetReportRate () const =0 |
virtual DeviceType | GetType () const |
SensorDevice () | |
virtual void | SetCoordinateFrame (CoordinateFrame coordframe)=0 |
virtual bool | SetRange (const SensorRange &range, bool waitFlag=false)=0 |
virtual void | SetReportRate (unsigned rateHz)=0 |
Definition at line 500 of file OVR_Device.h.
anonymous enum |
Definition at line 507 of file OVR_Device.h.
Definition at line 515 of file OVR_Device.h.
OVR::SensorDevice::SensorDevice | ( | ) | [inline] |
Definition at line 503 of file OVR_Device.h.
virtual CoordinateFrame OVR::SensorDevice::GetCoordinateFrame | ( | ) | const [pure virtual] |
Implemented in OVR::SensorDeviceImpl.
virtual void OVR::SensorDevice::GetRange | ( | SensorRange * | range | ) | const [pure virtual] |
Implemented in OVR::SensorDeviceImpl.
virtual unsigned OVR::SensorDevice::GetReportRate | ( | ) | const [pure virtual] |
Implemented in OVR::SensorDeviceImpl.
virtual DeviceType OVR::SensorDevice::GetType | ( | ) | const [inline, virtual] |
Reimplemented from OVR::DeviceBase.
Definition at line 509 of file OVR_Device.h.
virtual void OVR::SensorDevice::SetCoordinateFrame | ( | CoordinateFrame | coordframe | ) | [pure virtual] |
Implemented in OVR::SensorDeviceImpl.
virtual bool OVR::SensorDevice::SetRange | ( | const SensorRange & | range, |
bool | waitFlag = false |
||
) | [pure virtual] |
Implemented in OVR::SensorDeviceImpl.
virtual void OVR::SensorDevice::SetReportRate | ( | unsigned | rateHz | ) | [pure virtual] |
Implemented in OVR::SensorDeviceImpl.