TTaskSchedulerCondition Class Reference

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

Constructor & Destructor Documentation

TTaskSchedulerCondition()

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, TUint, TInt, TConditionType)

TTaskSchedulerCondition(TUidaCategory,
TUintaKey,
TIntaState,
TConditionTypeaType
)[inline]

Constructs the object with the specified values.

Note that the RProperty variable identified by the aCategory/aKey pair must be of integer type for this to be a valid task scheduler condition.

RProperty

Parameters

TUid aCategoryThe publish and subscribe category to be tested.
TUint aKeyThe publish and suscribe sub-key to be tested.
TInt aStateThe value against which the P&S variable identified by the specified UID is to be tested.
TConditionType aTypeThe type of test to be made.

Member Enumerations Documentation

Enum TConditionType

An enumeration defining the type of test to be made against a Publish and Subscribe property.

Enumerators

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.

Member Data Documentation

TUid iCategory

TUid iCategory

P&S category.

TUint iKey

TUint iKey

P&S key.

TInt iState

TInt iState

Integer state of corresponding P&S variable to be tested against

TConditionType iType

TConditionType iType

type of test to be performed