|
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 using System; |
|
18 using System.Text; |
|
19 using System.IO; |
|
20 using System.Collections.Generic; |
|
21 using System.Threading; |
|
22 using System.Reflection; |
|
23 using SymbianDebugLib.Engine; |
|
24 using SymbianDebugLib.PluginAPI.Types; |
|
25 using SymbianDebugLib.PluginAPI.Types.Symbol; |
|
26 using SymbianUtils; |
|
27 using SymbianUtils.Threading; |
|
28 using SymbianUtils.FileSystem; |
|
29 using SymbianUtils.Tracer; |
|
30 using CrashItemLib.Crash; |
|
31 using CrashItemLib.Crash.Base; |
|
32 using CrashItemLib.Crash.Container; |
|
33 using CrashItemLib.PluginAPI; |
|
34 using CrashItemLib.Engine.Interfaces; |
|
35 using CrashItemLib.Engine.Sources; |
|
36 using CrashItemLib.Engine; |
|
37 |
|
38 namespace CrashItemLib.Crash.Container |
|
39 { |
|
40 internal class CIContainerFinalizer : MultiThreadedProcessor<CIContainer> |
|
41 { |
|
42 #region Constructors |
|
43 public CIContainerFinalizer( CIContainerCollection aCollection, CIEngine aEngine ) |
|
44 : base( aCollection ) |
|
45 { |
|
46 iFinalizationParameters = new CIElementFinalizationParameters( aEngine ); |
|
47 } |
|
48 #endregion |
|
49 |
|
50 #region API |
|
51 #endregion |
|
52 |
|
53 #region Properties |
|
54 #endregion |
|
55 |
|
56 #region Internal methods |
|
57 protected override bool Process( CIContainer aContainer ) |
|
58 { |
|
59 aContainer.RunFinalizers( iFinalizationParameters ); |
|
60 return true; |
|
61 } |
|
62 #endregion |
|
63 |
|
64 #region Data members |
|
65 private readonly CIElementFinalizationParameters iFinalizationParameters; |
|
66 #endregion |
|
67 } |
|
68 } |