stif/examples/STIFTestMeasurementStub/inc/STIFTestMeasurementStub.h
branchRCL_3
changeset 59 8ad140f3dd41
equal deleted inserted replaced
49:7fdc9a71d314 59:8ad140f3dd41
       
     1 /*
       
     2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 * 
       
    14 * Description: STIF measurement stub module declaration
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef STIFTESTMEASUREMENTSTUB_H
       
    19 #define STIFTESTMEASUREMENTSTUB_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <f32file.h>
       
    23 #include <StifTestInterface.h>
       
    24 
       
    25 // CONSTANTS
       
    26 //const ?type ?constant_var = ?constant;
       
    27 
       
    28 // MACROS
       
    29 //#define ?macro ?macro_def
       
    30 
       
    31 // FUNCTION PROTOTYPES
       
    32 //?type ?function_name(?arg_list);
       
    33 
       
    34 // FORWARD DECLARATIONS
       
    35 //class ?FORWARD_CLASSNAME;
       
    36 
       
    37 // DATA TYPES
       
    38 //enum ?declaration
       
    39 //typedef ?declaration
       
    40 //extern ?data_type;
       
    41 
       
    42 // CLASS DECLARATION
       
    43 
       
    44 /**
       
    45 *  This a CSTIFTestMeasurementStub stub class for Test Measurement Module
       
    46 *  Pluging.
       
    47 *  ?other_description_lines
       
    48 *
       
    49 *  @lib ?library
       
    50 *  @since ?Series60_version
       
    51 */
       
    52 NONSHARABLE_CLASS( CSTIFTestMeasurementStub ) : 
       
    53                                 public CSTIFTestMeasurementImplementation
       
    54     {
       
    55     public:  // Constructors and destructor
       
    56 
       
    57         /**
       
    58         * Two-phased constructor.
       
    59         */
       
    60         static CSTIFTestMeasurementStub* NewL( 
       
    61                 const TDesC& aConfigurationInfo,
       
    62                 CSTIFTestMeasurement::TSTIFMeasurementType aMeasurementType );
       
    63 
       
    64         /**
       
    65         * Destructor.
       
    66         */
       
    67         virtual ~CSTIFTestMeasurementStub();
       
    68 
       
    69     public: // New functions
       
    70 
       
    71         /**
       
    72         * ?member_description.
       
    73         * @since ?Series60_version
       
    74         * @param ?arg1 ?description
       
    75         * @return ?description
       
    76         */
       
    77         //?type ?member_function( ?type ?arg1 );
       
    78 
       
    79     public: // Functions from base classes
       
    80 
       
    81         /**
       
    82         * From CSTIFTestMeasurementStub Start
       
    83         * @since ?Series60_version
       
    84         * @return Symbian OS error code
       
    85         */
       
    86         virtual TInt Start();
       
    87 
       
    88         /**
       
    89         * From CSTIFTestMeasurementStub Start
       
    90         * @since ?Series60_version
       
    91         * @return Symbian OS error code
       
    92         */
       
    93         virtual TInt Stop();
       
    94 
       
    95         /**
       
    96         * From CSTIFTestMeasurementStub Start
       
    97         * @since ?Series60_version
       
    98         * @return CSTIFTestMeasurement::TSTIFMeasurementType
       
    99         */
       
   100         virtual CSTIFTestMeasurement::TSTIFMeasurementType MeasurementType();
       
   101 
       
   102     protected:  // New functions
       
   103 
       
   104         /**
       
   105         * ?member_description.
       
   106         * @since ?Series60_version
       
   107         * @param ?arg1 ?description
       
   108         * @return ?description
       
   109         */
       
   110         //?type ?member_function( ?type ?arg1 );
       
   111 
       
   112     protected:  // Functions from base classes
       
   113 
       
   114         /**
       
   115         * From ?base_class ?member_description
       
   116         */
       
   117         //?type ?member_function();
       
   118 
       
   119     private:
       
   120 
       
   121         /**
       
   122         * C++ default constructor.
       
   123         */
       
   124         CSTIFTestMeasurementStub(
       
   125             CSTIFTestMeasurement::TSTIFMeasurementType aMeasurementType );
       
   126 
       
   127         /**
       
   128         * By default Symbian 2nd phase constructor is private.
       
   129         */
       
   130         void ConstructL( const TDesC& aConfigurationInfo );
       
   131 
       
   132     public:     // Data
       
   133         // ?one_line_short_description_of_data
       
   134         //?data_declaration;
       
   135 
       
   136     protected:  // Data
       
   137         // ?one_line_short_description_of_data
       
   138         //?data_declaration;
       
   139 
       
   140     private:    // Data
       
   141 
       
   142         // Test Measurement module type
       
   143         CSTIFTestMeasurement::TSTIFMeasurementType iMeasurementType;
       
   144 
       
   145     public:     // Friend classes
       
   146         //?friend_class_declaration;
       
   147     protected:  // Friend classes
       
   148         //?friend_class_declaration;
       
   149     private:    // Friend classes
       
   150         //?friend_class_declaration;
       
   151 
       
   152     };
       
   153 
       
   154 #endif      // STIFTESTMEASUREMENTSTUB_H
       
   155 
       
   156 // End of File