crashanalysercmd/PerfToolsSharedLibraries/Engine/SymbianETMLib/Common/Packets/Implementations/ETMPcktNormalData.cs
equal
deleted
inserted
replaced
|
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 |
|
24 namespace SymbianETMLib.Common.Packets |
|
25 { |
|
26 public class ETMPcktNormalData : ETMPcktBase |
|
27 { |
|
28 #region Constructors |
|
29 public ETMPcktNormalData() |
|
30 { |
|
31 base.SetMask( "00#0##10" ); |
|
32 } |
|
33 |
|
34 public ETMPcktNormalData( SymByte aByte ) |
|
35 : base( aByte ) |
|
36 { |
|
37 } |
|
38 #endregion |
|
39 |
|
40 #region API |
|
41 #endregion |
|
42 |
|
43 #region From PcktBase |
|
44 public override int Priority |
|
45 { |
|
46 get |
|
47 { |
|
48 return int.MinValue + 3; |
|
49 } |
|
50 } |
|
51 #endregion |
|
52 |
|
53 #region Properties |
|
54 public int Size |
|
55 { |
|
56 get |
|
57 { |
|
58 SymMask mask = new SymMask( "1100", SymMask.TShiftDirection.ERight, 2 ); |
|
59 int ret = (int) mask.Apply( base.RawByte ); |
|
60 return ret; |
|
61 } |
|
62 } |
|
63 #endregion |
|
64 |
|
65 #region Internal constants |
|
66 #endregion |
|
67 |
|
68 #region From System.Object |
|
69 #endregion |
|
70 |
|
71 #region Data members |
|
72 #endregion |
|
73 } |
|
74 } |