EPos_CPosLmOperation.inl File Reference


Functions

void ExecuteAndDeleteLD (CPosLmOperation *aOperation)
 Executes the operation synchronously and then deletes it.


Function Documentation

void ExecuteAndDeleteLD CPosLmOperation aOperation  )  [inline]
 

Executes the operation synchronously and then deletes it.

All functions which return a CPosLmOperation object can be run incrementally. If the client is not interested in running it incrementally, it can call CPosLmOperation::ExecuteL to run the whole operation in one batch. This can be simplified by using ExecuteAndDeleteLD. It runs the operation and deletes the object when it is done.

For instance, to use this function for CPosLandmarkDatabase::InitializeL, the client would call

ExecuteAndDeleteLD( database->InitializeL() );

The operation object should not be on the cleanup stack when this function is called.

Since:
S60 3.0
Parameters:
aOperation The operation to handle. It will be deleted when the function returns.


Copyright © Nokia Corporation 2001-2007
Back to top