Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::SensorConfigImpl Struct Reference

#include "OVR_SensorImpl_Common.h"

Collaboration diagram for OVR::SensorConfigImpl:
Collaboration graph

Public Types

enum  { PacketSize = 7 }
 
enum  {
  Flag_RawMode = 0x01, Flag_CalibrationTest = 0x02, Flag_UseCalibration = 0x04, Flag_AutoCalibration = 0x08,
  Flag_MotionKeepAlive = 0x10, Flag_CommandKeepAlive = 0x20, Flag_SensorCoordinates = 0x40
}
 

Public Member Functions

 SensorConfigImpl ()
 
void SetSensorCoordinates (bool sensorCoordinates)
 
bool IsUsingSensorCoordinates () const
 
void Pack ()
 
void Unpack ()
 

Data Fields

UByte Buffer [PacketSize]
 
UInt16 CommandId
 
UByte Flags
 
UInt16 PacketInterval
 
UInt16 SampleRate
 

Detailed Description

Definition at line 72 of file OVR_SensorImpl_Common.h.

Member Enumeration Documentation

anonymous enum
Enumerator
PacketSize 

Definition at line 74 of file OVR_SensorImpl_Common.h.

anonymous enum
Enumerator
Flag_RawMode 
Flag_CalibrationTest 
Flag_UseCalibration 
Flag_AutoCalibration 
Flag_MotionKeepAlive 
Flag_CommandKeepAlive 
Flag_SensorCoordinates 

Definition at line 78 of file OVR_SensorImpl_Common.h.

Constructor & Destructor Documentation

OVR::SensorConfigImpl::SensorConfigImpl ( )

Definition at line 126 of file OVR_SensorImpl_Common.cpp.

Member Function Documentation

bool OVR::SensorConfigImpl::IsUsingSensorCoordinates ( ) const

Definition at line 138 of file OVR_SensorImpl_Common.cpp.

void OVR::SensorConfigImpl::Pack ( )

Definition at line 143 of file OVR_SensorImpl_Common.cpp.

void OVR::SensorConfigImpl::SetSensorCoordinates ( bool  sensorCoordinates)

Definition at line 133 of file OVR_SensorImpl_Common.cpp.

void OVR::SensorConfigImpl::Unpack ( )

Definition at line 154 of file OVR_SensorImpl_Common.cpp.

Field Documentation

UByte OVR::SensorConfigImpl::Buffer[PacketSize]

Definition at line 75 of file OVR_SensorImpl_Common.h.

UInt16 OVR::SensorConfigImpl::CommandId

Definition at line 88 of file OVR_SensorImpl_Common.h.

UByte OVR::SensorConfigImpl::Flags

Definition at line 89 of file OVR_SensorImpl_Common.h.

UInt16 OVR::SensorConfigImpl::PacketInterval

Definition at line 90 of file OVR_SensorImpl_Common.h.

UInt16 OVR::SensorConfigImpl::SampleRate

Definition at line 91 of file OVR_SensorImpl_Common.h.


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