SwiUI::CTask Class Reference
class SwiUI::CTask : public CBase |
Task represents a single task in task manager. This is an abstract interface and concrete tasks are implemented as ecom plugins.
Constructor & Destructor Documentation
~CTask()
~CTask | ( | ) | [inline, virtual] |
Member Functions Documentation
DoExternalizeL(RWriteStream &)
void | DoExternalizeL | ( | RWriteStream & | aStream | ) | const [protected, pure virtual] |
Derived classes must implement this to externalize themselves.
- Since
- 3.0
DoInternalizeL(RReadStream &)
void | DoInternalizeL | ( | RReadStream & | aStream | ) | [protected, pure virtual] |
Derived classes must implement this to internalize themselves.
- Since
- 3.0
Parameters
RReadStream & aStream | - The stream where to internalize. |
ExecuteL()
void | ExecuteL | ( | ) | [pure virtual] |
Executes the task.
- Since
- 3.0
ExternalizeL(RWriteStream &)
Externalizes the task.
- Since
- 3.0
Id()
Gets the id of the task.
- Since
- 3.0
ImplementationUid()
const TUid & | ImplementationUid | ( | ) | const [inline] |
Return the ECOM implementation uid of this task.
- Since
- 3.0
InternalizeL(RReadStream &)
Internalizes the task.
- Since
- 3.0
Parameters
RReadStream & aStream | - The stream where to internalize. |
IsPersistent()
TBool
| IsPersistent | ( | ) | const [inline] |
Indicate if this task is persistent or not.
- Since
- 3.0
NewL(const TUid &, TBool)
CTask * | NewL | ( | const TUid & | aImplUid, |
| TBool | aIsPersistent |
| ) | [static, inline] |
SetId(TInt)
void | SetId | ( | TInt | aId | ) | [inline] |
Sets the id of the task. This should be used only by the task manager.
- Since
- 3.0
Parameters
TInt aId | - Id of the task. |
SetParameterL(const TDesC8 &, TInt)
void | SetParameterL | ( | const TDesC8 & | aParam, |
| TInt | aIndex |
| ) | [pure virtual] |
Adds a parameter to the task.
- Since
- 3.0
Parameters
const TDesC8 & aParam | - Packaged paramter to set. |
TInt aIndex | - Index of the parameter. |
Member Data Documentation
TUid
iDestructKey
TUid
| iDestructKey | [private] |
TUid
iImplementationUid
TUid
| iImplementationUid | [private] |
TBool
iIsPersistent
TBool
| iIsPersistent | [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.