Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
OVR::SensorDeviceImpl Class Reference

#include <OVR_SensorImpl.h>

Inheritance diagram for OVR::SensorDeviceImpl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual CoordinateFrame GetCoordinateFrame () const
virtual void GetRange (SensorRange *range) const
virtual unsigned GetReportRate () const
virtual bool Initialize (DeviceBase *parent)
virtual void OnInputReport (UByte *pData, UInt32 length)
virtual UInt64 OnTicks (UInt64 ticksMks)
 SensorDeviceImpl (SensorDeviceCreateDesc *createDesc)
virtual void SetCoordinateFrame (CoordinateFrame coordframe)
virtual void SetMessageHandler (MessageHandler *handler)
virtual bool SetRange (const SensorRange &range, bool waitFlag)
virtual void SetReportRate (unsigned rateHz)
virtual void Shutdown ()
 ~SensorDeviceImpl ()

Static Public Member Functions

static void EnumerateHMDFromSensorDisplayInfo (const SensorDisplayInfoImpl &displayInfo, DeviceFactory::EnumerateVisitor &visitor)

Protected Member Functions

void closeDeviceOnError ()
void onTrackerMessage (TrackerMessage *message)
void openDevice ()
Void setCoordinateFrame (CoordinateFrame coordframe)
bool setRange (const SensorRange &range)
Void setReportRate (unsigned rateHz)

Protected Attributes

CoordinateFrame Coordinates
SensorRange CurrentRange
CoordinateFrame HWCoordinates
Vector3f LastAcceleration
Vector3f LastMagneticField
Vector3f LastRotationRate
UByte LastSampleCount
float LastTemperature
SInt16 LastTimestamp
SensorRange MaxValidRange
UInt64 NextKeepAliveTicks
UInt16 OldCommandId
bool SequenceValid

Detailed Description

Definition at line 121 of file OVR_SensorImpl.h.


Constructor & Destructor Documentation

Definition at line 484 of file OVR_SensorImpl.cpp.

Definition at line 498 of file OVR_SensorImpl.cpp.


Member Function Documentation

Definition at line 550 of file OVR_SensorImpl.cpp.

Definition at line 25 of file OVR_Linux_SensorDevice.cpp.

Implements OVR::SensorDevice.

Definition at line 647 of file OVR_SensorImpl.cpp.

void OVR::SensorDeviceImpl::GetRange ( SensorRange range) const [virtual]

Implements OVR::SensorDevice.

Definition at line 620 of file OVR_SensorImpl.cpp.

unsigned OVR::SensorDeviceImpl::GetReportRate ( ) const [virtual]

Implements OVR::SensorDevice.

Definition at line 689 of file OVR_SensorImpl.cpp.

bool OVR::SensorDeviceImpl::Initialize ( DeviceBase parent) [virtual]

Reimplemented from OVR::HIDDeviceImpl< OVR::SensorDevice >.

Definition at line 505 of file OVR_SensorImpl.cpp.

void OVR::SensorDeviceImpl::OnInputReport ( UByte pData,
UInt32  length 
) [virtual]

Reimplemented from OVR::HIDDevice::HIDHandler.

Definition at line 564 of file OVR_SensorImpl.cpp.

UInt64 OVR::SensorDeviceImpl::OnTicks ( UInt64  ticksMks) [virtual]

Reimplemented from OVR::HIDDevice::HIDHandler.

Definition at line 580 of file OVR_SensorImpl.cpp.

Definition at line 787 of file OVR_SensorImpl.cpp.

void OVR::SensorDeviceImpl::openDevice ( ) [protected]

Definition at line 519 of file OVR_SensorImpl.cpp.

Implements OVR::SensorDevice.

Definition at line 640 of file OVR_SensorImpl.cpp.

Definition at line 652 of file OVR_SensorImpl.cpp.

Reimplemented from OVR::DeviceBase.

Definition at line 723 of file OVR_SensorImpl.cpp.

bool OVR::SensorDeviceImpl::SetRange ( const SensorRange range,
bool  waitFlag 
) [virtual]

Implements OVR::SensorDevice.

Definition at line 599 of file OVR_SensorImpl.cpp.

bool OVR::SensorDeviceImpl::setRange ( const SensorRange range) [protected]

Definition at line 626 of file OVR_SensorImpl.cpp.

void OVR::SensorDeviceImpl::SetReportRate ( unsigned  rateHz) [virtual]

Implements OVR::SensorDevice.

Definition at line 682 of file OVR_SensorImpl.cpp.

Void OVR::SensorDeviceImpl::setReportRate ( unsigned  rateHz) [protected]

Definition at line 701 of file OVR_SensorImpl.cpp.

void OVR::SensorDeviceImpl::Shutdown ( ) [virtual]

Reimplemented from OVR::HIDDeviceImpl< OVR::SensorDevice >.

Definition at line 556 of file OVR_SensorImpl.cpp.


Member Data Documentation

Definition at line 186 of file OVR_SensorImpl.h.

Definition at line 200 of file OVR_SensorImpl.h.

Definition at line 187 of file OVR_SensorImpl.h.

Definition at line 194 of file OVR_SensorImpl.h.

Definition at line 196 of file OVR_SensorImpl.h.

Definition at line 195 of file OVR_SensorImpl.h.

Definition at line 192 of file OVR_SensorImpl.h.

Definition at line 193 of file OVR_SensorImpl.h.

Definition at line 191 of file OVR_SensorImpl.h.

Definition at line 199 of file OVR_SensorImpl.h.

Definition at line 188 of file OVR_SensorImpl.h.

Definition at line 202 of file OVR_SensorImpl.h.

Definition at line 190 of file OVR_SensorImpl.h.


The documentation for this class was generated from the following files:


oculus_sdk
Author(s):
autogenerated on Mon Oct 6 2014 03:01:20