sensrvmagnetometersensor.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : sensrvmagnetometersensor.h
00004 *  Part of     : Sensor Definitions API
00005 *  Description : Channel data types definitions
00006 *  Version     : %version:  4.1.1 %
00007 *
00008 *  Copyright © 2008 Nokia.  All rights reserved.
00009 *  This material, including documentation and any related computer
00010 *  programs, is protected by copyright controlled by Nokia.  All
00011 *  rights are reserved.  Copying, including reproducing, storing,
00012 *  adapting or translating, any or all of this material requires the
00013 *  prior written consent of Nokia.  This material also contains
00014 *  confidential information which may not be disclosed to others
00015 *  without the prior written consent of Nokia.
00016 * ============================================================================
00017 * Template version: 4.1
00018 */
00019 
00020 
00021 #ifndef SENSRVMAGNETOMETERSENSOR_H
00022 #define SENSRVMAGNETOMETERSENSOR_H
00023 
00024 //  INCLUDES
00025 #include <e32base.h>
00026 #include <sensrvtypes.h> 
00027 
00028 // MAGNETOMETER RELATED CHANNELS 
00029 
00036 const TSensrvChannelTypeId KSensrvChannelTypeIdMagnetometerXYZAxisData = 0x2000BEE0;
00037 
00038 
00039 // MAGNETOMETER RELATED PROPERTIES
00040 
00062 const TSensrvPropertyId KSensrvPropAutoCalibrationActive = 0x00001006;
00063 
00076 const TSensrvPropertyId KSensrvPropCalibrationLevel = 0x00001007;
00077 
00078 // MAGNETOMETER RELATED DATATYPES
00079 
00083 class TSensrvMagnetometerAxisData 
00084     {
00085 public:
00089     static const TSensrvChannelDataTypeId KDataTypeId = 0x2000BEE0;
00090 
00094     enum TSensrvMagnetometerAxisDataIndexes
00095         {
00096         ETimeStamp = 0,
00097         EAxisX,
00098         EAxisY,
00099         EAxisZ,
00100         EAxisXCalibrated,
00101         EAxisYCalibrated,
00102         EAxisZCalibrated
00103         };
00104 
00105 public:
00106 
00113     TTime iTimeStamp;    
00114 
00121     TInt iAxisXRaw;
00122 
00129     TInt iAxisYRaw;
00130 
00137     TInt iAxisZRaw;
00138     
00145     TInt iAxisXCalibrated;
00146 
00153     TInt iAxisYCalibrated;
00154 
00161     TInt iAxisZCalibrated;
00162     };
00163 
00164 #endif //SENSRVMAGNETOMETERSENSOR_H
00165 
00166 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top