equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2008 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: Limit condition implementation |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef CSENSORLIMITCONDITION_H |
|
19 #define CSENSORLIMITCONDITION_H |
|
20 |
|
21 #include "csensorconditionbase.h" |
|
22 |
|
23 class CSensorLimitCondition : public CSensorConditionBase |
|
24 { |
|
25 public: |
|
26 |
|
27 CSensorLimitCondition(TInt aChannelId, TReal64& aLimit, TInt aOp); |
|
28 |
|
29 virtual ~CSensorLimitCondition(); |
|
30 |
|
31 public: // From CSensorConditionBase |
|
32 |
|
33 virtual TBool Evaluate(TReal aValue, TInt aChannelId); |
|
34 |
|
35 private: // Member data |
|
36 TReal64 iLimit; |
|
37 TInt iOp; |
|
38 }; |
|
39 |
|
40 #endif // CSENSORLIMITCONDITION_H |