loadgen/engine/src/loadgen_loadbase.cpp
branchRCL_3
changeset 22 fad26422216a
parent 21 b3cee849fa46
child 23 f8280f3bfeb7
equal deleted inserted replaced
21:b3cee849fa46 22:fad26422216a
     1 /*
       
     2 * Copyright (c) 2010 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: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // INCLUDE FILES
       
    20 #include "loadgen_loadbase.h"
       
    21 #include "loadgen.hrh"
       
    22 
       
    23 // ===================================== MEMBER FUNCTIONS =====================================
       
    24 
       
    25 CLoadBase::CLoadBase()
       
    26     {
       
    27     }
       
    28 
       
    29 // --------------------------------------------------------------------------------------------
       
    30 
       
    31 void CLoadBase::ConstructL()
       
    32     {
       
    33     iState = ELoadStateInvalid;
       
    34     }
       
    35     
       
    36 // --------------------------------------------------------------------------------------------
       
    37 
       
    38 void CLoadBase::Resume()
       
    39     {
       
    40     iState = ELoadStateRunning;
       
    41     }
       
    42 
       
    43 // --------------------------------------------------------------------------------------------
       
    44 
       
    45 void CLoadBase::Suspend()
       
    46     {
       
    47     iState = ELoadStateSuspended;
       
    48     }
       
    49 
       
    50 // --------------------------------------------------------------------------------------------
       
    51 
       
    52 void CLoadBase::SetPriority()
       
    53     {
       
    54     }
       
    55     
       
    56 // --------------------------------------------------------------------------------------------
       
    57 
       
    58 void CLoadBase::Close()
       
    59     {
       
    60     iState = ELoadStateClosed;
       
    61     }
       
    62     
       
    63 // --------------------------------------------------------------------------------------------
       
    64 
       
    65 TPtrC CLoadBase::Description()
       
    66     {
       
    67     return TPtrC(KNullDesC);
       
    68     }               
       
    69                
       
    70 // --------------------------------------------------------------------------------------------
       
    71 
       
    72 // End of File