CSensrvConditionEvaluator Class Reference
class CSensrvConditionEvaluator : public CBase
|
Condition Evaluator class for Sensor Server. Provides mandatory ECOM interface specific things in addition to condition evaluation services.
Note that Condition Evaluator plug-ins run in Sensor Server main thread, so all method calls should return promptly.
Inherits from
-
CSensrvConditionEvaluator
Constructor & Destructor Documentation
~CSensrvConditionEvaluator()
~CSensrvConditionEvaluator
|
(
|
)
|
[inline, virtual]
|
Member Functions Documentation
CheckConditionValidityL(const CSensrvChannelCondition *, const CSensrvChannelCondition *)
Checks that condition values and indexes are valid for a single or two-part condition. Both conditions have same index.
-
Since
-
S60 5.0
-
leave
-
One of Symbian error codes
Parameters
const
CSensrvChannelCondition
* aCondition1
|
The first condition to check. If the condition is a two-part condition, this contains the first part and the other part is given in aCondition2. This parameter is never NULL.
|
const
CSensrvChannelCondition
* aCondition2
|
The second condition to check. Only used with two-part conditions, otherwise NULL.
|
EvaluateConditionL(const CSensrvChannelCondition *, const CSensrvChannelCondition *, const TDesC8 &)
Check given condition against given data item. This will be called possibly many times for each data tem, so any processing done in this method should be kept at minimum.
Note: Any conditions given in parameters aCondition1 and aCondition2 will be checked with CheckConditionValidity-method before this method is called for the first time for those conditions, so no duplicate validity checking is necessary.
-
Since
-
4.0
-
leave
-
One of Symbian error codes
Parameters
const
CSensrvChannelCondition
* aCondition1
|
The first condition to check data item against. If the condition is a two-part condition, this contains the first part and the other part is given in aCondition2. This parameter is never NULL.
|
const
CSensrvChannelCondition
* aCondition2
|
The second condition to check data item against. Only used with two-part conditions, otherwise NULL.
|
const
TDesC8
& aData
|
The data item to be evaluated.
|
NewL(TSensrvChannelInfo &)
Parameters
TSensrvChannelInfo
& aChannelInfo
|
Determines the channel information of channel that the loaded plug-in is needed for. Correct Condition Evaluator plug-in for each channel is found by matching for channel type UID (full 0x00000000 format) in default data field of the implementation information of the plug-in.
|
Member Data Documentation
TUid
iDestructorIdKey
TUid
|
iDestructorIdKey
|
[private]
|
Destructor key for a ECOM component
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.