sensrvchannelinfo.h

Go to the documentation of this file.
00001 /*
00002 * ============================================================================
00003 *  Name        : sensrvchannelinfo.h
00004 *  Interface   : Sensor Channel API
00005 *  Description : The channel basic information
00006 *  Version     : %version: 2.1.2 %
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 SENSRVCHANNELINFO_H
00022 #define SENSRVCHANNELINFO_H
00023 
00024 #include <e32base.h>
00025 #include <sensrvtypes.h>
00035 NONSHARABLE_CLASS( TSensrvChannelInfo )
00036     {
00037 public:
00038     
00044     IMPORT_C TSensrvChannelInfo();
00045       
00062     IMPORT_C TSensrvChannelInfo( TInt aContextType, 
00063                                  TInt aQuantity, 
00064                                  TSensrvChannelTypeId aChannelType,
00065                                  const TDesC8& aLocation,
00066                                  const TDesC8& aVendorId,
00067                                  TSensrvChannelDataTypeId aChannelDataTypeId ); 
00068 
00084     IMPORT_C TSensrvChannelInfo( TSensrvChannelId aChannelId, 
00085                                  TInt aContextType, 
00086                                  TInt aQuantity, 
00087                                  TSensrvChannelTypeId aChannelType,
00088                                  const TDesC8& aLocation,
00089                                  const TDesC8& aVendorId, 
00090                                  TInt aDataItemSize,
00091                                  TSensrvChannelDataTypeId aChannelDataTypeId ); 
00092       
00099     IMPORT_C TSensrvChannelInfo( const TSensrvChannelInfo& aChannelInfo );
00100     
00101 public:     
00102     
00111     IMPORT_C TBool IsMatch( const TSensrvChannelInfo &aInfo ) const;
00112           
00120     IMPORT_C TBool IsComplete() const;
00121 
00122 public:
00126     TSensrvChannelId iChannelId;
00127 
00132     TInt iContextType;
00133 
00138     TInt iQuantity;    
00139 
00146     TSensrvChannelTypeId iChannelType;
00147     
00151     TBuf8<KSensrvLocationLength> iLocation;
00152 
00157     TBuf8<KSensrvVendorIdLength> iVendorId;
00158 
00162     TInt iDataItemSize;
00163     
00164 private:
00165     TInt iReserved3;
00166     
00167 public:
00172     TSensrvChannelDataTypeId iChannelDataTypeId;
00173     
00174 private:
00175     TInt iReserved;
00176     TInt iReserved2;
00177     };
00178 
00179 
00180 
00181 #endif // SENSRVCHANNELINFO_H

Copyright © Nokia Corporation 2001-2007
Back to top