lbstest/lbstestproduct/lbssimulationpsy/inc/ctlbssimulationpsypostp262.h
author hgs
Wed, 08 Sep 2010 15:16:57 +0100
changeset 57 3267d9ea3e98
parent 0 9cfd9a3ee49c
permissions -rw-r--r--
201033_05

/*
* Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/



#ifndef __CT_LBS_SIMULATION_PSY_POS_TP262_H__
#define __CT_LBS_SIMULATION_PSY_POS_TP262_H__

//  INCLUDES
#include "ctlbsportedstepbase.h"

// FORWARD DECLARATIONS

// CLASS DECLARATION

class CT_LbsSimulationPSYPosTp262 : public CT_LbsPortedStepBase
    {
    public:  // Constructors and destructor
        
        /**
        * C++ default constructor.
        */
        CT_LbsSimulationPSYPosTp262(CT_LbsServer& aParent);
        
        /**
        * Destructor.
        */
        ~CT_LbsSimulationPSYPosTp262();

    public: // Functions from base classes


        /**
        * From CT_LbsPortedStepBase
        * Runs the test in the module
        */
        void StartL();

		/**
		* Allways called when shut down test 
		*/
		void CloseTest();

    private:

       void IssueStatusRequest();

       void VerifyStatusRequestL(
                    const TPositionModuleStatus::TDeviceStatus& aDevice,
                    const TPositionModuleStatus::TDataQualityStatus& aQuality);
       
       void OpenL(const TInt aExpectedError);

       void CloseAndVerifyStatusL();

       void MakePosRequestL(const TInt aExpectedStatus);

    private:    // Data
       
       RPositionServer  			        iServer;
	   RPositioner					        iPositioner;
       
       TRequestStatus                       iEventStatus;
       TPositionModuleStatusEvent           iModuleEvent;	
    };

#endif      // __CT_LBS_SIMULATION_PSY_POS_TP262_H__
            
// End of File