Bike-X
0.8
|
#include "OVR_SensorImpl_Common.h"
Public Types | |
enum | { PacketSize = 8 } |
Public Member Functions | |
SensorRangeImpl (const SensorRange &r, UInt16 commandId=0) | |
void | SetSensorRange (const SensorRange &r, UInt16 commandId=0) |
void | GetSensorRange (SensorRange *r) |
void | Pack () |
void | Unpack () |
Static Public Member Functions | |
static SensorRange | GetMaxSensorRange () |
Data Fields | |
UByte | Buffer [PacketSize] |
UInt16 | CommandId |
UInt16 | AccelScale |
UInt16 | GyroScale |
UInt16 | MagScale |
Definition at line 51 of file OVR_SensorImpl_Common.h.
anonymous enum |
Enumerator | |
---|---|
PacketSize |
Definition at line 53 of file OVR_SensorImpl_Common.h.
OVR::SensorRangeImpl::SensorRangeImpl | ( | const SensorRange & | r, |
UInt16 | commandId = 0 |
||
) |
Definition at line 74 of file OVR_SensorImpl_Common.cpp.
|
static |
Definition at line 98 of file OVR_SensorImpl_Common.cpp.
void OVR::SensorRangeImpl::GetSensorRange | ( | SensorRange * | r | ) |
Definition at line 91 of file OVR_SensorImpl_Common.cpp.
void OVR::SensorRangeImpl::Pack | ( | ) |
Definition at line 106 of file OVR_SensorImpl_Common.cpp.
void OVR::SensorRangeImpl::SetSensorRange | ( | const SensorRange & | r, |
UInt16 | commandId = 0 |
||
) |
Definition at line 79 of file OVR_SensorImpl_Common.cpp.
void OVR::SensorRangeImpl::Unpack | ( | ) |
Definition at line 118 of file OVR_SensorImpl_Common.cpp.
UInt16 OVR::SensorRangeImpl::AccelScale |
Definition at line 57 of file OVR_SensorImpl_Common.h.
UByte OVR::SensorRangeImpl::Buffer[PacketSize] |
Definition at line 54 of file OVR_SensorImpl_Common.h.
UInt16 OVR::SensorRangeImpl::CommandId |
Definition at line 56 of file OVR_SensorImpl_Common.h.
UInt16 OVR::SensorRangeImpl::GyroScale |
Definition at line 58 of file OVR_SensorImpl_Common.h.
UInt16 OVR::SensorRangeImpl::MagScale |
Definition at line 59 of file OVR_SensorImpl_Common.h.