CMPXActiveTaskQueue Class Reference
class CMPXActiveTaskQueue : public CMPXTaskQueue |
Encapsulates a task queue which will auto schedule the task
MPXCommon.lib
Inherited Functions |
---|
| CBase::CBase() |
| CBase::Delete(CBase *) |
| CBase::Extension_(TUint,TAny *&,TAny *) |
| CBase::operator new(TUint) |
| CBase::operator new(TUint,TAny *) |
| CBase::operator new(TUint,TLeave) |
| CBase::operator new(TUint,TLeave,TUint) |
| CBase::operator new(TUint,TUint) |
| CBase::~CBase() |
| CMPXTaskQueue::AddTaskL(TInt,TAny *,TInt,CBufBase *,TAny *,CBase *,CBase *) |
| CMPXTaskQueue::BufData() |
| CMPXTaskQueue::CMPXTaskQueue() |
| CMPXTaskQueue::Callback() |
| CMPXTaskQueue::IsEmpty() |
| CMPXTaskQueue::Param() |
| CMPXTaskQueue::PtrData() |
| CMPXTaskQueue::RemoveTask() |
| CMPXTaskQueue::RemoveTask(TAny *) |
| CMPXTaskQueue::Reset() |
| CMPXTaskQueue::Task() |
| CMPXTaskQueue::~CMPXTaskQueue() |
Private Attributes |
---|
CMPXTaskQueueScheduler * | iScheduler |
Constructor & Destructor Documentation
CMPXActiveTaskQueue()
CMPXActiveTaskQueue | ( | ) | [private] |
~CMPXActiveTaskQueue()
IMPORT_C | ~CMPXActiveTaskQueue | ( | ) | [virtual] |
Member Functions Documentation
AddTaskL(TInt, TAny *, MMPXTaskQueueObserver *, TInt, CBufBase *, TAny *, CBase *, CBase *)
IMPORT_C void | AddTaskL | ( | TInt | aTask, |
| TAny * | aCallback, |
| MMPXTaskQueueObserver * | aHandler, |
| TInt | aParamData = 0, |
| CBufBase * | aBuf = NULL, |
| TAny * | aPtrData = NULL, |
| CBase * | aCObject1 = NULL, |
| CBase * | aCObject2 = NULL |
| ) | |
Add a task and automatically schedule task.
Parameters
TInt aTask | task id |
TAny * aCallback | callback |
MMPXTaskQueueObserver * aHandler | task handler |
TInt aParamData = 0 | data |
CBufBase * aBuf = NULL | pointer to the buffer containing externalized parameter data. Client passes ownership of the buffer to TaskQueue. |
TAny * aPtrData = NULL | object pointer |
CBase * aCObject1 = NULL | pointer to CBased object, ownership transferred |
CBase * aCObject2 = NULL | pointer to CBased object, ownership transferred |
CancelRequests()
IMPORT_C void | CancelRequests | ( | ) | |
Cancel all outstanding, asynchronous requests.
CompleteAllTasks(TInt)
IMPORT_C void | CompleteAllTasks | ( | TInt | aError | ) | |
Completes all outstanding tasks with an error code.
CompleteTask()
IMPORT_C void | CompleteTask | ( | ) | |
ConstructL()
void | ConstructL | ( | ) | [private] |
ScheduleNextTask()
IMPORT_C void | ScheduleNextTask | ( | ) | |
Schedule to execute next task.
Member Data Documentation
CMPXTaskQueueScheduler * iScheduler
CMPXTaskQueueScheduler * | iScheduler | [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.