radioapp/radioenginewrapper/tsrc/inc/mschedulerstartandstoptimerobserver.h
author hgs
Mon, 20 Sep 2010 18:04:48 +0300
changeset 51 bbebb0235466
parent 28 075425b8d9a4
permissions -rw-r--r--
201037

/*
 * Copyright (c) 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:  Callback interface for observer object.
 *
 */

#ifndef M_SCHEDULERSTARTANDSTOPTIMEROBSERVER_H
#define M_SCHEDULERSTARTANDSTOPTIMEROBSERVER_H

// System includes
#include <e32def.h>

/**
 *  Callback interface for observer of CSchedulerStopAndStartTimer object. 
 *
 *  This callback interface has to be implemented by observer class.
 *  @code
 *   ?good_class_usage_example(s)
 *  @endcode
 *
 *  @lib t_radioenginewrapper.exe
 *  @since S60 10.1
 */
NONSHARABLE_CLASS( MSchedulerStartAndStopTimerObserver )
    {

public:

    /**
     * Function is called by timer watcher every time when ETimerIdRunMUT- timer elapses.
     *
     * @since S60 10.1
     * @param none. 
     * @return none
     */
    virtual void Timeout(TUint aTimerId) = 0;

    /**
     * Function is called by timer watcher after ETimerIdCreateMUT-timer has elapsed.
     * After this timeout Module Under Test (MUT) is created.
     *
     * @since S60 10.1
     * @param none. 
     * @return none
     */
    virtual void CreateMUT() = 0;

    /**
     * Function is called by timer watcher after ETimerIdDeleteMUT-timer has elapsed.
     * After this timeout MUT is desctructed.
     *
     * @since S60 10.1
     * @param none. 
     * @return none
     */
    virtual void DeleteMUT() = 0;

    };

#endif // M_SCHEDULERSTARTANDSTOPTIMEROBSERVER_H