SwiUI::CTaskManager Class Reference
class SwiUI::CTaskManager : public CBase
|
TaskManager handles persistent and nonpersistent tasks in the subsystem. It can be used to make sure that critical tasks are executed even in case of fatal error such as power failure.
-
Since
-
3.0 SWInstTaskManager.lib
Constructor & Destructor Documentation
CTaskManager()
CTaskManager
|
(
|
)
|
[private]
|
~CTaskManager()
IMPORT_C
|
~CTaskManager
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AddTaskL(CTask *)
IMPORT_C void
|
AddTaskL
|
(
|
CTask
*
|
aTask
|
)
|
|
Adds a task to the task list.
-
Since
-
3.0
Parameters
CTask
* aTask
|
- Pointer to the CTask object. Transfers ownership to TaskManager.
|
CommitL()
IMPORT_C void
|
CommitL
|
(
|
)
|
|
Writes all persistent tasks from the task list to a persistent storage.
-
Since
-
3.0
ConstructL()
void
|
ConstructL
|
(
|
)
|
[private]
|
ExecutePendingTasksL()
IMPORT_C void
|
ExecutePendingTasksL
|
(
|
)
|
|
Executes all pending tasks that are added to the task list within the lifetime of this thread. In order to recover from fatal error, please use ExecutelRecoveryTasksL.
-
Since
-
3.0
ExecuteRecoveryTasksL()
IMPORT_C void
|
ExecuteRecoveryTasksL
|
(
|
)
|
|
Executes all tasks from non persistent and persistent memory. This should be used to recover from fatal error e.g. power loss.
-
Since
-
3.0
FlushTasks()
IMPORT_C void
|
FlushTasks
|
(
|
)
|
|
Removes tasks from task list without executing them.
-
Since
-
3.0
Impl()
Return pointer to TaskManager implementation.
-
Since
-
3.0
RemoveTaskL(CTask *)
IMPORT_C void
|
RemoveTaskL
|
(
|
CTask
*
|
aTask
|
)
|
|
Removes a task from the task list.
-
Since
-
3.0
Parameters
CTask
* aTask
|
- Pointer to the CTask object.
|
Member Data Documentation
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.