CSchedule Class Reference
class CSchedule : public CBase
|
Public Member Functions
|
|
~CSchedule
()
|
void
|
AddTask
(
TScheduledTask
&)
|
void
|
CalculateDueTime
(
TBool
)
|
void
|
CheckAccessAllowedL
(const
RMessagePtr2
&)
|
TBool
|
ClientInSchedule
(const
TDesC
&)
|
const
RArray
<
TTaskSchedulerCondition
> &
|
Conditions
()
|
void
|
ConditionsL
(
CArrayFixFlat
<
TTaskSchedulerCondition
> &)
|
const
TTsTime
&
|
DefaultRunTimeL
()
|
const
TTsTime
&
|
DueTime
()
|
TBool
|
Enabled
()
|
void
|
EntriesL
(
CArrayFixFlat
<
TScheduleEntryInfo2
> &)
|
void
|
ExternalizeL
(
RWriteStream
&)
|
TInt
|
GenerateTaskId
()
|
void
|
GetInfo
(
TScheduleInfo
&,
TBool
)
|
TBool
|
HasTasks
()
|
TInt
|
Id
()
|
void
|
InternalizeL
(
RReadStream
&)
|
TBool
|
IsAccessAllowed
(const
RMessagePtr2
&)
|
TBool
|
IsUpdatable
()
|
const
TDesC
&
|
Name
()
|
CSchedule
*
|
NewL
(
CFileStore
&,
TStreamId
&)
|
CSchedule
*
|
NewLC
(
TInt
, const
TDesC
&,
TBool
, const
CArrayFixFlat
<
TScheduleEntryInfo2
> &, const
TSecurityInfo
&)
|
CSchedule
*
|
NewLC
(
TInt
, const
TDesC
&,
TBool
, const
CArrayFixFlat
<
TTaskSchedulerCondition
> &, const
TTsTime
&, const
TSecurityInfo
&)
|
void
|
NotifyTasks
()
|
TInt
|
Offset
()
|
TBool
|
Persists
()
|
void
|
RemoveConditions
()
|
void
|
RemoveEntries
()
|
void
|
RemoveTask
(
TScheduledTask
*)
|
void
|
RemoveTasks
(
TBool
)
|
void
|
ReplaceConditionsL
(const
CArrayFixFlat
<
TTaskSchedulerCondition
> &)
|
void
|
ReplaceEntriesL
(const
CArrayFixFlat
<
TScheduleEntryInfo2
> &)
|
const
TSecurityInfo
&
|
SecurityInfo
()
|
void
|
SetEnabled
(
TBool
)
|
TScheduledTask
*
|
Task
(const
TInt
)
|
TSglQue
<
TScheduledTask
> *
|
Tasks
()
|
void
|
TasksL
(
CArrayFixFlat
<
TTaskInfo
> &)
|
TScheduleType
|
Type
()
|
Constructor & Destructor Documentation
CSchedule(const TSecurityInfo &, TInt, TBool)
Member Functions Documentation
AddConditionsL(const CArrayFixFlat< TTaskSchedulerCondition > &)
AddEntriesL(const CArrayFixFlat< TScheduleEntryInfo2 > &)
AddTask(TScheduledTask &)
CalculateDueTime(TBool)
void
|
CalculateDueTime
|
(
|
TBool
|
aNotFirstTime = EFalse
|
)
|
|
Parameters
TBool
aNotFirstTime = EFalse
|
|
CheckAccessAllowedL(const RMessagePtr2 &)
void
|
CheckAccessAllowedL
|
(
|
const
RMessagePtr2
&
|
aMessage
|
)
|
const [inline]
|
ClientInSchedule(const TDesC &)
TBool
|
ClientInSchedule
|
(
|
const
TDesC
&
|
aClientName
|
)
|
|
Parameters
const
TDesC
& aClientName
|
|
ConditionsL(CArrayFixFlat< TTaskSchedulerCondition > &)
ConstructL(const TDesC &, const CArrayFixFlat< TScheduleEntryInfo2 > &)
ConstructL(const TDesC &, const CArrayFixFlat< TTaskSchedulerCondition > &, const TTsTime &)
DefaultRunTimeL()
const
TTsTime
&
|
DefaultRunTimeL
|
(
|
)
|
const
|
DueTime()
const
TTsTime
&
|
DueTime
|
(
|
)
|
const [inline]
|
Enabled()
TBool
|
Enabled
|
(
|
)
|
const [inline]
|
EntriesL(CArrayFixFlat< TScheduleEntryInfo2 > &)
ExternalizeL(RWriteStream &)
GetInfo(TScheduleInfo &, TBool)
HasTasks()
TBool
|
HasTasks
|
(
|
)
|
const [inline]
|
Id()
TInt
|
Id
|
(
|
)
|
const [inline]
|
InternalizeL(RReadStream &)
IsAccessAllowed(const RMessagePtr2 &)
Name()
const
TDesC
&
|
Name
|
(
|
)
|
const [inline]
|
NewL(CFileStore &, TStreamId &)
NewLC(TInt, const TDesC &, TBool, const CArrayFixFlat< TScheduleEntryInfo2 > &, const TSecurityInfo &)
NewLC(TInt, const TDesC &, TBool, const CArrayFixFlat< TTaskSchedulerCondition > &, const TTsTime &, const TSecurityInfo &)
Persists()
TBool
|
Persists
|
(
|
)
|
const [inline]
|
RemoveConditions()
void
|
RemoveConditions
|
(
|
)
|
|
RemoveTask(TScheduledTask *)
RemoveTasks(TBool)
void
|
RemoveTasks
|
(
|
TBool
|
aFromClient
|
)
|
|
ReplaceConditionsL(const CArrayFixFlat< TTaskSchedulerCondition > &)
ReplaceEntriesL(const CArrayFixFlat< TScheduleEntryInfo2 > &)
RestoreL(CFileStore &, TStreamId &)
SetEnabled(TBool)
void
|
SetEnabled
|
(
|
TBool
|
aEnabled
|
)
|
[inline]
|
TasksL(CArrayFixFlat< TTaskInfo > &)
ValidUntil()
TTsTime
|
ValidUntil
|
(
|
)
|
const [private]
|
Member Data Documentation
RArray< TTaskSchedulerCondition > iConditions
TSglQue< TScheduleEntry > iEntryList
TBool
iPersists
TBool
|
iPersists
|
[private]
|
TSecurityInfo
iSecurityInfo
TSglQue< TScheduledTask > iTaskList
TTimeIntervalMinutes
iValidityPeriod
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.