CMPXTaskQueue Class Reference
class CMPXTaskQueue : public CBase |
Encapsulates a task queue.
MPXCommon.lib
Constructor & Destructor Documentation
CMPXTaskQueue()
CMPXTaskQueue | ( | ) | [protected] |
~CMPXTaskQueue()
IMPORT_C | ~CMPXTaskQueue | ( | ) | [virtual] |
Member Functions Documentation
AddTaskL(TInt, TAny *, TInt, CBufBase *, TAny *, CBase *, CBase *)
Add a task into the queue.
Parameters
TInt aTask | task id |
TAny * aCallback | callback |
TInt aParamData = 0 | parameter data of the task |
CBufBase * aBuf = NULL | extra data in buffer, ownership transferred. |
TAny * aPtrData = NULL | object pointer, owership not transferred. |
CBase * aCObject1 = NULL | pointer to CBased object, ownership transferred |
CBase * aCObject2 = NULL | pointer to CBased object, ownership transferred |
BufData()
IMPORT_C const TDesC8 & | BufData | ( | ) | |
Get pointer to buffer data. Task Queue has ownership of this buffer.
Callback()
IMPORT_C TAny * | Callback | ( | ) | |
ConstructL()
void | ConstructL | ( | ) | [protected] |
IsEmpty()
Return if the queue is empty.
Param()
Get current parameter data.
PtrData()
Get pointer parameter data. Client has ownership of this data.
RemoveTask()
IMPORT_C TAny * | RemoveTask | ( | ) | |
Remove current task, return callback function.
RemoveTask(TAny *)
IMPORT_C void | RemoveTask | ( | TAny * | aCallback | ) | |
Remove task for one client.
Member Data Documentation
TSglQue< CTask > iTaskList
TSglQue< CTask > | iTaskList | [protected] |
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.