TScheduleState2 Class Reference
Constructor & Destructor Documentation
TScheduleState2()
IMPORT_C
|
TScheduleState2
|
(
|
)
|
|
Default Constructor for
TScheduleState2
. By default, this state: has an empty string name, is non persistent, non enabled and its due time is set to zero.
TScheduleState2(const TScheduleState2 &)
Parameters
const
TScheduleState2
& aScheduleState
|
The TScheduleState2 object to be copied
|
TScheduleState2(const TName &, const TTsTime &, TBool, TBool)
Constructor taking the specified parameters.
Parameters
const
TName
& aName
|
The name of the schedule
|
const
TTsTime
& aDueTime
|
The time when the schedule is next due.
|
TBool
aPersists
|
Boolean to indicate whether the schedule is persistent or not. 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
|
TBool
aEnabled
|
Boolean to indicate whether the shedule is enabled or not.
|
Member Functions Documentation
DueTime()
IMPORT_C const
TTsTime
&
|
DueTime
|
(
|
)
|
const
|
Returns the time when the schedule is next due.
TTsTime
Enabled()
IMPORT_C
TBool
|
Enabled
|
(
|
)
|
const
|
Returns information on whether this schedule is enabled or not.
Name()
IMPORT_C const
TName
&
|
Name
|
(
|
)
|
const
|
Persists()
IMPORT_C
TBool
|
Persists
|
(
|
)
|
const
|
Returns a boolean whether this schedule perists or not.
SetDueTime(const TTsTime &)
IMPORT_C void
|
SetDueTime
|
(
|
const
TTsTime
&
|
aDueTime
|
)
|
|
Sets the time when the schedule is next due.
TTsTime
Parameters
const
TTsTime
& aDueTime
|
The time when the schedule is next due. This time could be either home time (for floating schedules) or UTC time.
|
SetEnabled(TBool)
IMPORT_C void
|
SetEnabled
|
(
|
TBool
|
aEnabled
|
)
|
|
Sets information on whether this schedule is enabled or not.
SetName(const TName &)
IMPORT_C void
|
SetName
|
(
|
const
TName
&
|
aName
|
)
|
|
Sets the name of the schedule
Parameters
const
TName
& aName
|
The name of the schedule
|
SetPersists(TBool)
IMPORT_C void
|
SetPersists
|
(
|
TBool
|
aPersists
|
)
|
|
Sets a boolean whether this schedule perists or not.
Parameters
TBool
aPersists
|
Etrue if this schedule persits, EFalse if this schedule doen't persist.
|
operator=(const TScheduleState2 &)
Member Data Documentation
TTsTime
iDueTime
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
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
TName
iName
The name of the schedule.
TAny * iReserved
TAny
*
|
iReserved
|
[private]
|
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.