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: Definition for the inline functions of RAnalyzeToolMainAllocator. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include "analyzetoolmemoryallocator.h" |
|
20 |
|
21 // ----------------------------------------------------------------------------- |
|
22 // RAnalyzeToolMainAllocator::StorageServer() |
|
23 // Acquires reference to open RATStorageServer |
|
24 // ----------------------------------------------------------------------------- |
|
25 // |
|
26 inline RATStorageServer& RAnalyzeToolMainAllocator::StorageServer() |
|
27 { |
|
28 return iStorageServer; |
|
29 } |
|
30 |
|
31 // ----------------------------------------------------------------------------- |
|
32 // RAnalyzeToolMainAllocator::Codeblocks() |
|
33 // Acquires reference to process used codeblocks |
|
34 // ----------------------------------------------------------------------------- |
|
35 // |
|
36 inline RArray<TCodeblock>& RAnalyzeToolMainAllocator::Codeblocks() |
|
37 { |
|
38 return iCodeblocks; |
|
39 } |
|
40 |
|
41 // ----------------------------------------------------------------------------- |
|
42 // RAnalyzeToolMainAllocator::Mutex() |
|
43 // Acquires reference to mutex which is used to share resources |
|
44 // ----------------------------------------------------------------------------- |
|
45 // |
|
46 inline RMutex& RAnalyzeToolMainAllocator::Mutex() |
|
47 { |
|
48 return iMutex; |
|
49 } |
|
50 |
|
51 // ----------------------------------------------------------------------------- |
|
52 // RAnalyzeToolMainAllocator::ProcessId() |
|
53 // Acquires the process id |
|
54 // ----------------------------------------------------------------------------- |
|
55 // |
|
56 inline TInt RAnalyzeToolMainAllocator::ProcessId() |
|
57 { |
|
58 return iProcessId; |
|
59 } |
|
60 |
|
61 // ----------------------------------------------------------------------------- |
|
62 // RAnalyzeToolMainAllocator::AnalyzeTool() |
|
63 // Acquires the logical channel handle |
|
64 // ----------------------------------------------------------------------------- |
|
65 // |
|
66 inline RAnalyzeTool& RAnalyzeToolMainAllocator::AnalyzeTool() |
|
67 { |
|
68 return iAnalyzeTool; |
|
69 } |
|
70 |
|
71 // ----------------------------------------------------------------------------- |
|
72 // RAnalyzeToolMainAllocator::StorageServerOpen() |
|
73 // Acquires the iStorageServerOpen variable |
|
74 // ----------------------------------------------------------------------------- |
|
75 // |
|
76 inline TBool RAnalyzeToolMainAllocator::StorageServerOpen() |
|
77 { |
|
78 return iStorageServerOpen; |
|
79 } |
|
80 |
|
81 // ----------------------------------------------------------------------------- |
|
82 // RAnalyzeToolMainAllocator::LogOption() |
|
83 // Acquires the iLogOption variable |
|
84 // ----------------------------------------------------------------------------- |
|
85 // |
|
86 inline TUint32 RAnalyzeToolMainAllocator::LogOption() |
|
87 { |
|
88 return iLogOption; |
|
89 } |
|
90 |
|
91 // ----------------------------------------------------------------------------- |
|
92 // RAnalyzeToolMainAllocator::AllocMaxCallStack() |
|
93 // Acquires the iAllocMaxCallStack variable |
|
94 // ----------------------------------------------------------------------------- |
|
95 // |
|
96 inline TUint32 RAnalyzeToolMainAllocator::AllocMaxCallStack() |
|
97 { |
|
98 return iAllocMaxCallStack; |
|
99 } |
|
100 // ----------------------------------------------------------------------------- |
|
101 // RAnalyzeToolMainAllocator::FreeMaxCallStack() |
|
102 // Acquires the iFreeMaxCallStack variable |
|
103 // ----------------------------------------------------------------------------- |
|
104 // |
|
105 inline TUint32 RAnalyzeToolMainAllocator::FreeMaxCallStack() |
|
106 { |
|
107 return iFreeMaxCallStack; |
|
108 } |
|
109 // End of File |
|