|
1 /* |
|
2 * Copyright (c) 2006-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 |
|
19 |
|
20 |
|
21 /** |
|
22 @file |
|
23 @internalTechnology |
|
24 */ |
|
25 |
|
26 #ifndef CHWRMSERVERACTIVESCHEDULER_H |
|
27 #define CHWRMSERVERACTIVESCHEDULER_H |
|
28 |
|
29 // INCLUDES |
|
30 #include <e32base.h> |
|
31 |
|
32 // CONSTANTS |
|
33 // None |
|
34 |
|
35 // MACROS |
|
36 // None |
|
37 |
|
38 // DATA TYPES |
|
39 // None |
|
40 |
|
41 // FUNCTION PROTOTYPES |
|
42 // None |
|
43 |
|
44 // FORWARD DECLARATIONS |
|
45 // None |
|
46 |
|
47 // CLASS DECLARATION |
|
48 |
|
49 /** |
|
50 * Schedules the sequence in which active object request completion events are |
|
51 * handled by a server thread |
|
52 * |
|
53 */ |
|
54 class CHWRMServerActiveScheduler : public CActiveScheduler |
|
55 { |
|
56 public: // Constructors and destructor |
|
57 |
|
58 /** |
|
59 * Public constructor. |
|
60 */ |
|
61 static CHWRMServerActiveScheduler* NewL(); |
|
62 |
|
63 /** |
|
64 * Public constructor. |
|
65 */ |
|
66 static CHWRMServerActiveScheduler* NewLC(); |
|
67 |
|
68 /** |
|
69 * Destructor. |
|
70 */ |
|
71 virtual ~CHWRMServerActiveScheduler(); |
|
72 |
|
73 public: // New functions |
|
74 |
|
75 |
|
76 public: // Functions from base classes |
|
77 |
|
78 |
|
79 protected: // New functions |
|
80 |
|
81 /** |
|
82 * Panics if occurred error serious enough |
|
83 * @param anError Error code |
|
84 * @return void |
|
85 */ |
|
86 void Error( TInt anError ) const; |
|
87 |
|
88 protected: // Functions from base classes |
|
89 |
|
90 |
|
91 private: |
|
92 |
|
93 /** |
|
94 * C++ constructor. |
|
95 */ |
|
96 CHWRMServerActiveScheduler(); |
|
97 |
|
98 public: // Data |
|
99 |
|
100 |
|
101 protected: // Data |
|
102 |
|
103 |
|
104 private: // Data |
|
105 |
|
106 |
|
107 public: // Friend classes |
|
108 |
|
109 protected: // Friend classes |
|
110 |
|
111 private: // Friend classes |
|
112 |
|
113 |
|
114 }; |
|
115 |
|
116 #endif // CHWRMSERVERACTIVESCHEDULER_H |
|
117 |
|
118 // End of File |