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.

Since
3.0

Inherits from

Constructor & Destructor Documentation

~CTask()

~CTask()[inline, virtual]

Destructor.

Member Functions Documentation

DoExternalizeL(RWriteStream &)

voidDoExternalizeL(RWriteStream &aStream)const [protected, pure virtual]
Derived classes must implement this to externalize themselves.
Since
3.0

Parameters

RWriteStream & aStream- The stream where to externalize.

DoInternalizeL(RReadStream &)

voidDoInternalizeL(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()

voidExecuteL()[pure virtual]
Executes the task.
Since
3.0

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const [inline]
Externalizes the task.
Since
3.0

Parameters

RWriteStream & aStream- The stream where to externalize.

Id()

TInt Id()const [inline]
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 &)

voidInternalizeL(RReadStream &aStream)[inline]
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,
TBoolaIsPersistent
)[static, inline]

Two-phased constructor.

Parameters

const TUid & aImplUid
TBool aIsPersistent

SetId(TInt)

voidSetId(TIntaId)[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)

voidSetParameterL(const TDesC8 &aParam,
TIntaIndex
)[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]

TInt iId

TInt iId[private]

TUid iImplementationUid

TUid iImplementationUid[private]

TBool iIsPersistent

TBool iIsPersistent[private]