CTaskScheduler Class Reference
class CTaskScheduler : public CBase
|
Public Member Functions
|
|
~CTaskScheduler
()
|
CClientProxy
*
|
AddClientL
(const
TDesC
&,
TInt
)
|
void
|
AddScheduleL
(
CSchedule
&)
|
TBUROperation
|
BUROperationInProgress
()
|
void
|
DeleteTaskL
(
TInt
,
TInt
)
|
void
|
DisableScheduleL
(
TInt
)
|
void
|
DueTaskNotifyL
(
TInt
)
|
void
|
EditScheduleL
(
TInt
,
CArrayFixFlat
<
TScheduleEntryInfo2
> &)
|
void
|
EditScheduleL
(
TInt
,
CArrayFixFlat
<
TTaskSchedulerCondition
> &, const
TTsTime
&)
|
void
|
EnableScheduleL
(
TInt
)
|
CSchedule
*
|
FindL
(
TInt
)
|
TInt
|
GenerateId
()
|
TInt
|
GetScheduleRefsL
(
CArrayFixFlat
<
TSchedulerItemRef
> *,
TScheduleFilter
, const
RMessagePtr2
&)
|
TInt
|
GetTaskRefsL
(
CArrayFixFlat
<
TSchedulerItemRef
> *,
TScheduleFilter
,
TTaskFilter
,
CClientProxy
*, const
RMessagePtr2
&)
|
void
|
HandleBackupOperationEventL
(const
TBackupOperationAttributes
&)
|
TBool
|
IsScheduleReadyForUpdate
(
CSchedule
&)
|
TBool
|
IsStartupStateNonCritical
()
|
CTaskScheduler
*
|
NewL
()
|
CTaskScheduler
*
|
NewLC
()
|
void
|
ProcessSSAEventL
(
TStartupStateIdentifier
)
|
void
|
RemoveScheduleL
(
TInt
)
|
void
|
ScheduleTaskL
(
CSchedule
&,
CClientProxy
&)
|
Constructor & Destructor Documentation
CTaskScheduler()
CTaskScheduler
|
(
|
)
|
[private]
|
Member Functions Documentation
AddClientL(const TDesC &, TInt)
AddScheduleL(CSchedule &)
AddSchedulesToTimerL()
void
|
AddSchedulesToTimerL
|
(
|
)
|
[private]
|
BURBeginningL(TBUROperation)
This function is called to notify when a Backup or Restore operation is commencing.
BURCompleteL(TBUROperation, TBUROperationResult)
This function is called to notify when a Backup or Restore operation is finished.
CleanupScheduledTasksL()
void
|
CleanupScheduledTasksL
|
(
|
)
|
[private]
|
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
DeleteTaskL(TInt, TInt)
void
|
DeleteTaskL
|
(
|
TInt
|
aScheduleHandle,
|
|
TInt
|
aTaskHandle
|
|
)
|
|
DisableScheduleL(TInt)
void
|
DisableScheduleL
|
(
|
TInt
|
aHandle
|
)
|
|
DoEditScheduleL(CSchedule &, CArrayFixFlat< TTaskSchedulerCondition > &, const TTsTime &)
DoRemoveL(CSchedule *)
void
|
DoRemoveL
|
(
|
CSchedule
*
|
aSchedule
|
)
|
[private]
|
DueTaskNotifyL(TInt)
void
|
DueTaskNotifyL
|
(
|
TInt
|
aScheduleHandle
|
)
|
|
EditScheduleL(TInt, CArrayFixFlat< TScheduleEntryInfo2 > &)
EditScheduleL(TInt, CArrayFixFlat< TTaskSchedulerCondition > &, const TTsTime &)
EnableScheduleL(TInt)
void
|
EnableScheduleL
|
(
|
TInt
|
aHandle
|
)
|
|
EnvironmentChanged(TAny *)
TInt
|
EnvironmentChanged
|
(
|
TAny
*
|
aScheduler
|
)
|
[private, static]
|
ExecuteClients(TBool)
void
|
ExecuteClients
|
(
|
TBool
|
aUpdateClient = ETrue
|
)
|
[private]
|
Parameters
TBool
aUpdateClient = ETrue
|
|
GetScheduleRefsL(CArrayFixFlat< TSchedulerItemRef > *, TScheduleFilter, const RMessagePtr2 &)
GetTaskRefsL(CArrayFixFlat< TSchedulerItemRef > *, TScheduleFilter, TTaskFilter, CClientProxy *, const RMessagePtr2 &)
HandleBackupOperationEventL(const TBackupOperationAttributes &)
babackup server calls this to notify backup operations. The attributes are read and translated to determine which operation is actually in progress.
HandleEnvironmentChange()
void
|
HandleEnvironmentChange
|
(
|
)
|
[private]
|
IsScheduleReadyForUpdate(CSchedule &)
IsStartupStateNonCritical()
TBool
|
IsStartupStateNonCritical
|
(
|
)
|
|
Returns ETrue if Start-up State is NonCritical
ProcessSSAEventL(TStartupStateIdentifier)
CSchStartupStateMgr calls this to notify startup state changes of interest.
RemoveScheduleL(TInt)
void
|
RemoveScheduleL
|
(
|
TInt
|
aHandle
|
)
|
|
ScheduleTaskL(CSchedule &, CClientProxy &)
UpdateClients()
void
|
UpdateClients
|
(
|
)
|
[private]
|
Member Data Documentation
TBUROperation
iBUROperationInProgress
CSchBackupManager * iBackupManager
CSchBackupManager *
|
iBackupManager
|
[private]
|
CBaBackupSessionWrapper * iBackupNotification
TPriQue< CClientProxy > iClients
CEnvironmentChangeNotifier * iNotifier
CSchLogManager * iSchLogManager
CSchLogManager *
|
iSchLogManager
|
[private]
|
CScheduleCriteriaManager * iScheduleCriteriaManager
CScheduleCriteriaManager *
|
iScheduleCriteriaManager
|
[private]
|
TSglQue< CSchedule > iSchedules
TBool
iStartupStatePassNonCritical
TBool
|
iStartupStatePassNonCritical
|
[private]
|
TBool
iTaskExecutedDuringBUR
TBool
|
iTaskExecutedDuringBUR
|
[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.