equal
deleted
inserted
replaced
|
1 // Copyright (c) 2006-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 // CC32WorkerThread |
|
15 // |
|
16 // |
|
17 |
|
18 |
|
19 inline CC32Dealer* CC32WorkerThread::Dealer() const |
|
20 { |
|
21 return iDealer; |
|
22 } |
|
23 |
|
24 inline CC32Player* CC32WorkerThread::Player() const |
|
25 { |
|
26 return iPlayer; |
|
27 } |
|
28 |
|
29 inline CommsFW::TWorkerId CC32WorkerThread::WorkerId() const |
|
30 { |
|
31 return iWorkerId; |
|
32 } |
|
33 |
|
34 inline CC32Dealer& CC32WorkerThread::DealerByRef() const |
|
35 { |
|
36 __ASSERT_DEBUG(iDealer,Fault(EBadState,_L8("CC32WorkerThread::DealerByRef iDealer is Null, panicking."))); |
|
37 return *iDealer; |
|
38 } |
|
39 |
|
40 inline TBool CC32WorkerThread::DealerShutdownComplete() const |
|
41 { |
|
42 return iDealerShutdownComplete; |
|
43 } |
|
44 |
|
45 |
|
46 inline TBool CC32WorkerThread::PlayerShutdownComplete() const |
|
47 { |
|
48 return iPlayerShutdownComplete; |
|
49 } |
|
50 |
|
51 #ifdef _DEBUG |
|
52 inline RAllocator::TAllocFail CC32WorkerThread::AllocFailType() const |
|
53 { |
|
54 return iFailType; |
|
55 } |
|
56 inline TInt CC32WorkerThread::AllocFailRate() const |
|
57 { |
|
58 return iFailRate; |
|
59 } |
|
60 #endif |
|
61 |
|
62 |