crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianETMLib/Common/State/Implementations/ETMDecodeStateIgnore.cs
changeset 0 818e61de6cd1
equal deleted inserted replaced
-1:000000000000 0:818e61de6cd1
       
     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: 
       
    15 *
       
    16 */
       
    17 
       
    18 using System;
       
    19 using System.Collections.Generic;
       
    20 using System.Text;
       
    21 using SymbianUtils.BasicTypes;
       
    22 using SymbianETMLib.Common.Types;
       
    23 using SymbianETMLib.Common.Packets;
       
    24 
       
    25 namespace SymbianETMLib.Common.State
       
    26 {
       
    27     public class ETMDecodeStateIgnore : ETMDecodeState
       
    28     {
       
    29         #region Constructors
       
    30         public ETMDecodeStateIgnore( ETMStateData aManager )
       
    31             : base( aManager )
       
    32         {
       
    33         }
       
    34         #endregion
       
    35 
       
    36         #region API
       
    37         public override ETMDecodeState HandleByte( SymByte aByte )
       
    38         {
       
    39             ETMDecodeState nextState = new ETMDecodeStateSynchronized( base.StateData );
       
    40             Trace();
       
    41             return nextState;
       
    42         }
       
    43         #endregion
       
    44 
       
    45         #region Properties
       
    46         #endregion
       
    47 
       
    48         #region Internal methods
       
    49         private void Trace()
       
    50         {
       
    51             StringBuilder lines = new StringBuilder();
       
    52             lines.AppendLine( "   IGNORE" );
       
    53             base.Trace( lines.ToString() );
       
    54         }
       
    55         #endregion
       
    56 
       
    57         #region From System.Object
       
    58         #endregion
       
    59 
       
    60         #region Data members
       
    61         #endregion
       
    62     }
       
    63 }