|
1 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #include <comms-infras/commsbufponddbg.h> |
|
17 #include <comms-infras/commsbufpond.h> |
|
18 #include "commsbufpondintf.h" |
|
19 |
|
20 EXPORT_C TCommsBufPondDbg::TCommsBufPondDbg(RCommsBufPond& aPond) |
|
21 : iCommsBufPondDbg(aPond.iPondImpl->CommsBufPondDbg()) |
|
22 { |
|
23 } |
|
24 |
|
25 EXPORT_C RCommsBuf* TCommsBufPondDbg::__DbgBufChain() |
|
26 { |
|
27 return iCommsBufPondDbg.__DbgBufChain(); |
|
28 } |
|
29 |
|
30 EXPORT_C RCommsBuf* TCommsBufPondDbg::__DbgBufChain(TUint aBufSize) |
|
31 { |
|
32 return iCommsBufPondDbg.__DbgBufChain(aBufSize); |
|
33 } |
|
34 |
|
35 EXPORT_C void TCommsBufPondDbg::__DbgSetPoolLimit(TInt aCount) |
|
36 { |
|
37 iCommsBufPondDbg.__DbgSetPoolLimit(aCount); |
|
38 } |
|
39 |
|
40 EXPORT_C void TCommsBufPondDbg::__DbgSetPoolLimit(TInt aCount, TUint aBufSize) |
|
41 { |
|
42 iCommsBufPondDbg.__DbgSetPoolLimit(aCount, aBufSize); |
|
43 } |
|
44 |
|
45 EXPORT_C void TCommsBufPondDbg::__DbgSetFailAfter(TInt aCount/*=0*/) |
|
46 { |
|
47 iCommsBufPondDbg.__DbgSetFailAfter(aCount); |
|
48 } |
|
49 |
|
50 EXPORT_C TUint TCommsBufPondDbg::__DbgGetBufSpace() |
|
51 { |
|
52 return iCommsBufPondDbg.__DbgGetBufSpace(); |
|
53 } |
|
54 |
|
55 EXPORT_C TUint TCommsBufPondDbg::__DbgGetBufSpace(TUint aBufSize) |
|
56 { |
|
57 return iCommsBufPondDbg.__DbgGetBufSpace(aBufSize); |
|
58 } |
|
59 |
|
60 EXPORT_C TUint TCommsBufPondDbg::__DbgGetBufTotal() |
|
61 { |
|
62 return iCommsBufPondDbg.__DbgGetBufTotal(); |
|
63 } |
|
64 |
|
65 EXPORT_C TUint TCommsBufPondDbg::__DbgGetBufTotal(TUint aMufSize) |
|
66 { |
|
67 return iCommsBufPondDbg.__DbgGetBufTotal(aMufSize); |
|
68 } |
|
69 |
|
70 EXPORT_C TInt TCommsBufPondDbg::__DbgGetHeapSize() |
|
71 { |
|
72 return iCommsBufPondDbg.__DbgGetHeapSize(); |
|
73 } |