sensrvchannelcondition.h File Reference

Link against: SensrvClient.lib


#include <e32base.h>

Go to the source code of this file.


Data Structures

class  CSensrvChannelCondition
 CSensrvChannelCondition represents a channel condition item. More...

Typedefs

typedef RPointerArray< CSensrvChannelConditionRSensrvChannelConditionList
 RPointerArray based channel condition list.

Enumerations

enum  TSensrvConditionType { ESensrvSingleLimitCondition = 0, ESensrvRangeConditionLowerLimit, ESensrvRangeConditionUpperLimit, ESensrvBinaryCondition }
 Defines condition type. More...
enum  TSensrvConditionOperator {
  ESensrvOperatorEquals = 0, ESensrvOperatorGreaterThan, ESensrvOperatorGreaterThanOrEquals, ESensrvOperatorLessThan,
  ESensrvOperatorLessThanOrEquals, ESensrvOperatorBinaryAnd, ESensrvOperatorBinaryAll
}

Typedef Documentation

typedef RPointerArray<CSensrvChannelCondition> RSensrvChannelConditionList
 

RPointerArray based channel condition list.


Enumeration Type Documentation

enum TSensrvConditionOperator
 
Enumerator:
ESensrvOperatorEquals 
ESensrvOperatorGreaterThan 
ESensrvOperatorGreaterThanOrEquals 
ESensrvOperatorLessThan 
ESensrvOperatorLessThanOrEquals 
ESensrvOperatorBinaryAnd 
ESensrvOperatorBinaryAll 
enum TSensrvConditionType
 

Defines condition type.

Conditions can be standalone conditions or a part of a two-part condition.

  • ESensrvLimitCondition is a standalone condition which has a limit. This kind of condition is met when the observed value exceeds or equals the condition value, depending on the operator used in the condition.
  • ESensrvRangeConditionLowerLimit is the first part of a two-part range condition. This kind of condition is met when the observed value is between specified lower and upper limits or beyond specified range, depending on the operators used in the two conditions that make up the range. A condition set that contains ESensrvRangeConditionLowerLimit condition must also contain ESensrvRangeConditionUpperLimit condition using the same index. Both lower and upper limit operators must have different direction, i.e. if lower limit has "less than" operator, then upper limit must have "greater than" operator, and vice versa. ESensrvOperatorEquals operator is not valid for range condition.
  • ESensrvRangeConditionUpperLimit is the second part of a two-part range condition.
  • ESensrvBinaryCondition is used for channels that provide bitmask values (typically event channels). ESensrvOperatorBinaryXxx operations can only be used with this condition type.
See also:
CSensrvChannelCondition

TSensrvConditionOperator

Enumerator:
ESensrvSingleLimitCondition  Standalone condition which has a limit.
ESensrvRangeConditionLowerLimit  1st part of a two-part range condition.

2nd part is ESensrvRangeConditionUpperLimit

ESensrvRangeConditionUpperLimit  2nd part of a two-part range condition.

1st part is ESensrvRangeConditionLowerLimit

ESensrvBinaryCondition  Standalone condition for binary operations.

Copyright © Nokia Corporation 2001-2007
Back to top