sensrvaccelerometersensor.h

Go to the documentation of this file.
00001 /*
00002 * ==============================================================================
00003 *  Name        : sensrvaccelerometersensor.h
00004 *  Part of     : Sensor Definitions API
00005 *  Description : Channel data types definitions
00006 *  Version     : %version:  3 %
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 SENSRVACCELEROMETERSENSOR_H
00022 #define SENSRVACCELEROMETERSENSOR_H
00023 
00024 //  INCLUDES
00025 #include <e32base.h>
00026 #include <sensrvtypes.h> 
00027 
00028 // ACCELEROMETER RELATED CHANNELS 
00029 
00036 const TSensrvChannelTypeId KSensrvChannelTypeIdAccelerometerXYZAxisData = 0x1020507E;
00037 
00038 // ACCELEROMETER RELATED PROPERTIES
00039 
00049 const TSensrvPropertyId KSensrvPropIdAxisActive = 0x00001001;
00050 
00051 // ACCELEROMETER RELATED DATATYPES
00052 
00056 class TSensrvAccelerometerAxisData 
00057     {
00058 public:
00062     static const TSensrvChannelDataTypeId KDataTypeId = 0x1020507E;
00063 
00067         enum TSensrvAccelerometerAxisDataIndexes
00068           {
00069            ETimeStamp = 0,
00070            EAxisX,
00071            EAxisY,
00072            EAxisZ
00073           }; 
00074 
00075 public:
00082     TTime iTimeStamp;    
00083 
00090     TInt iAxisX;  
00091 
00098     TInt iAxisY;  
00099 
00106     TInt iAxisZ;  
00107     };
00108 
00109 #endif //SENSRVACCELEROMETERSENSOR_H
00110 
00111 // End of File

Copyright © Nokia Corporation 2001-2007
Back to top