Functions | |
void | ExecuteAndDeleteLD (CPosLmOperation *aOperation) |
Executes the operation synchronously and then deletes it. |
|
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.
|