00001 /* 00002 * ============================================================================ 00003 * Name : sensordatacompensator.h 00004 * Part of : sensorservices / sensordatacompensator 00005 * Description : Sensor data compensator class definition. 00006 * Version : %version: 5 % << Don't touch! Updated by Synergy at check-out. 00007 * 00008 * Copyright © 2008-2009 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.2 00018 */ 00019 00020 #ifndef C_SENSORDATACOMPENSATOR_H 00021 #define C_SENSORDATACOMPENSATOR_H 00022 00023 #include <sensrvtypes.h> 00024 #include <sensordatacompensationtypes.h> 00025 00058 NONSHARABLE_CLASS( CSensorDataCompensator ): public CBase 00059 { 00060 public: 00061 00070 IMPORT_C static CSensorDataCompensator* NewL( TSensrvChannelDataTypeId aDataType, 00071 TSensorCompensationType aType ); 00072 00073 public: 00074 00092 virtual TInt Compensate( TDes8& aData ) = 0; 00093 00101 virtual TSensrvChannelDataTypeId GetChannelDataType( ) const = 0; 00102 00110 virtual TSensorCompensationType GetCompensationType( ) const = 0; 00111 00112 }; 00113 00114 00115 #endif // C_SENSORDATACOMPENSATOR_H