| class TTaskSchedulerCondition |
Defines a condition which a Publish and Subscribe Uid must satisfy.
A condition encapsulates three pieces of information:
the UID identifying the P&S variable against which a test is to be made.
the value against which that P&S variable is to be tested.
the type of test to be made.
RScheduler::CreatePersistentSchedule RScheduler::EditSchedule RScheduler::ScheduleTask RScheduler::GetScheduleL RProperty
| Public Member Functions | |
|---|---|
| TTaskSchedulerCondition () | |
| TTaskSchedulerCondition ( TUid , TUint , TInt , TConditionType ) | |
| Public Member Enumerations | |
|---|---|
| enum | TConditionType { EEquals , ENotEquals , EGreaterThan , ELessThan } |
| Public Attributes | |
|---|---|
| TUid | iCategory |
| TUint | iKey |
| TInt | iState |
| TConditionType | iType |
| TTaskSchedulerCondition | ( | ) | [inline] |
Constructs the object with default values.
The UID identifying the P&S category against which a test is to be made is set to KNullUid. The sub key is set to zero.
The value against which that P&S variable is to be tested is set to zero.
The type of test to be made is set to EEquals.
| TTaskSchedulerCondition | ( | TUid | aCategory, |
| TUint | aKey, | ||
| TInt | aState, | ||
| TConditionType | aType | ||
| ) | [inline] | ||
| TUid aCategory | The publish and subscribe category to be tested. |
| TUint aKey | The publish and suscribe sub-key to be tested. |
| TInt aState | The value against which the P&S variable identified by the specified UID is to be tested. |
| TConditionType aType | The type of test to be made. |
An enumeration defining the type of test to be made against a Publish and Subscribe property.
| EEquals |
Tests that a value is equal to a state variable value. |
| ENotEquals |
Tests that a value is unequal to a state variable value. |
| EGreaterThan |
Tests that a value is greater than a state variable value. |
| ELessThan |
Tests that a value is less than a state variable value. |
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.