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

#include "OVR_SensorImpl_Common.h"

Collaboration diagram for OVR::SensorRangeImpl:
Collaboration graph

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
 

Detailed Description

Definition at line 51 of file OVR_SensorImpl_Common.h.

Member Enumeration Documentation

anonymous enum
Enumerator
PacketSize 

Definition at line 53 of file OVR_SensorImpl_Common.h.

Constructor & Destructor Documentation

OVR::SensorRangeImpl::SensorRangeImpl ( const SensorRange r,
UInt16  commandId = 0 
)

Definition at line 74 of file OVR_SensorImpl_Common.cpp.

Member Function Documentation

SensorRange OVR::SensorRangeImpl::GetMaxSensorRange ( )
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.

Field Documentation

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.


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