class TScheduleState2 |
Defines the state of a schedule.
An object of this type is passed to, and populated by, a call to RScheduler::GetScheduleL().
RScheduler::GetScheduleL()
Public Member Functions | |
---|---|
TScheduleState2() | |
TScheduleState2(const TScheduleState2 &) | |
TScheduleState2(const TName &, const TTsTime &, TBool, TBool) | |
IMPORT_C const TTsTime & | DueTime() |
IMPORT_C TBool | Enabled() |
IMPORT_C const TName & | Name() |
IMPORT_C TBool | Persists() |
IMPORT_C void | SetDueTime(const TTsTime &) |
IMPORT_C void | SetEnabled(TBool) |
IMPORT_C void | SetName(const TName &) |
IMPORT_C void | SetPersists(TBool) |
IMPORT_C TScheduleState2 & | operator=(const TScheduleState2 &) |
Private Attributes | |
---|---|
TTsTime | iDueTime |
TUint32 | iFlags |
TName | iName |
TAny * | iReserved |
IMPORT_C | TScheduleState2 | ( | const TScheduleState2 & | aScheduleState | ) |
const TScheduleState2 & aScheduleState |
IMPORT_C | TScheduleState2 | ( | const TName & | aName, |
const TTsTime & | aDueTime, | |||
TBool | aPersists, | |||
TBool | aEnabled | |||
) |
IMPORT_C void | SetDueTime | ( | const TTsTime & | aDueTime | ) |
const TTsTime & aDueTime |
IMPORT_C TScheduleState2 & | operator= | ( | const TScheduleState2 & | aScheduleState | ) |
const TScheduleState2 & aScheduleState |
TTsTime | iDueTime | [private] |
The time when the schedule is next due. This only has meaning if the schedule is pending, i.e. it is enabled and has tasks associated with it.
TUint32 | iFlags | [private] |
Flags used to indicate: 1. Whether the schedule is enabled or not. (bit 0) 2. Whether the schedule is persistent or not. (bit 1) If a schedule is persistent, its lifetime is not limited to the lifetime of the tasks associated with it . If a schedule is transient, it is created together with a new scheduled task, and is destroyed when the task is destroyed.
Bits 2-31 reserved for future use