CPosLmMultiDbSearchOperation Class Reference
|
class CPosLmMultiDbSearchOperation : public CPosLmOperation
|
Operation to search for landmarks or landmark categories from multiple databases.
Inherits from
-
CPosLmMultiDbSearchOperation
Constructor & Destructor Documentation
CPosLmMultiDbSearchOperation(CPosLmMultiDbSearch *, TBool)
~CPosLmMultiDbSearchOperation()
|
~CPosLmMultiDbSearchOperation
|
(
|
)
|
[virtual]
|
Member Functions Documentation
AppendAsActiveOperationL(CPosLmOperation *)
|
void
|
AppendAsActiveOperationL
|
(
|
CPosLmOperation
*
|
aOperation
|
)
|
[private]
|
Parameters
|
CPosLmOperation
* aOperation
|
|
CalculateAsyncStepProgress()
|
TReal32
|
CalculateAsyncStepProgress
|
(
|
)
|
[private]
|
CalculateProgress()
|
void
|
CalculateProgress
|
(
|
)
|
[private]
|
CalculateSyncStepProgress()
|
TReal32
|
CalculateSyncStepProgress
|
(
|
)
|
[private]
|
CompleteClientRequest()
|
void
|
CompleteClientRequest
|
(
|
)
|
[private]
|
ConstructL(const CPosLmSearchCriteria &, CPosLmMultiDbSortPref *)
Symbian 2nd phase constructor.
CreateSearchOpL()
|
CPosLmOperation
*
|
CreateSearchOpL
|
(
|
)
|
[private]
|
DoOperationCallBack(CPosLmActiveOperation *)
|
TInt
|
DoOperationCallBack
|
(
|
CPosLmActiveOperation *
|
aActiveOp
|
)
|
[private]
|
Parameters
|
CPosLmActiveOperation * aActiveOp
|
|
ExecuteAsyncStep()
|
void
|
ExecuteAsyncStep
|
(
|
)
|
[private]
|
ExecuteL()
|
void
|
ExecuteL
|
(
|
)
|
[virtual]
|
From
CPosLmOperation
.
Synchronous execution of the operation.
When this function returns, the operation has successfully finished.
ExecuteSyncStep()
|
void
|
ExecuteSyncStep
|
(
|
)
|
[private]
|
ExecuteSyncStepL()
|
void
|
ExecuteSyncStepL
|
(
|
)
|
[private]
|
HandleMultiDbSearchDeleted()
|
void
|
HandleMultiDbSearchDeleted
|
(
|
)
|
|
This function must be called by the
CPosLmMultiDbSearch
class if it is deleted before the search operation has completed.
HandleOperationCompleted()
|
void
|
HandleOperationCompleted
|
(
|
)
|
[private]
|
IncrementIndexAndSearchStatus()
|
void
|
IncrementIndexAndSearchStatus
|
(
|
)
|
[private]
|
IncrementSearchStatus()
|
void
|
IncrementSearchStatus
|
(
|
)
|
[private]
|
IncrementSearchStep()
|
void
|
IncrementSearchStep
|
(
|
)
|
[private]
|
NewL(CPosLmMultiDbSearch *, const CPosLmSearchCriteria &, CPosLmMultiDbSortPref *, TBool)
Parameters
|
CPosLmMultiDbSearch
* aMultiDbSearch
|
A pointer to the multi db search object.
|
|
const
CPosLmSearchCriteria
& aCriteria
|
The search criteria.
|
|
CPosLmMultiDbSortPref
* aSortPref
|
A pointer to the sort preference object. This class takes ownership.
|
|
TBool
aSearchOnlyPreviousMatches
|
This flag may be used to perform a search within the results of previous search.
|
NextStep(TRequestStatus &, TReal32 &)
From
CPosLmOperation
.
Performs one step of the operation asynchronously.
Parameters
|
TRequestStatus
& aStatus
|
The request status. Will be completed when the step has been performed. The request status will be KRequestPending if the step has not completed. It will be KPosLmOperationNotComplete if the step has completed but more steps are needed before the operation has finished. The request status will be KErrNone if the operation has finished successfully.
|
|
TReal32
& aProgress
|
Will be set to the progress of the operation when the step has finished.
|
OpenDbAndCreateInitOpL()
|
CPosLmOperation
*
|
OpenDbAndCreateInitOpL
|
(
|
)
|
[private]
|
OperationCallBack(TAny *)
|
TInt
|
OperationCallBack
|
(
|
TAny
*
|
aPtr
|
)
|
[static]
|
Member Enumerations Documentation
Enum TPosLmMultiAsyncSearchStatus
Enumerators
|
ESearchNotStarted = 0
|
|
|
EOpenDbs
|
|
|
EInitDbs
|
|
|
ECreateSearchOps
|
|
|
ESearchDbs
|
|
|
ESearchCompleted
|
|
Enum TPosLmOperationStatus
Enumerators
|
EOperationNotStarted = 0
|
|
|
EAsyncStarted
|
|
|
ESyncStarted
|
|
|
EOperationCompleted
|
|
Member Data Documentation
RPointerArray< CPosLmActiveOperation > iActiveOperations
|
RPointerArray
< CPosLmActiveOperation >
|
iActiveOperations
|
[private]
|
TReal32 * iClientProgress
|
TReal32
*
|
iClientProgress
|
[private]
|
TRequestStatus * iClientStatus
CPosLmSearchCriteria * iCriteria
TUint
iCurrentDbIndex
|
TUint
|
iCurrentDbIndex
|
[private]
|
CPosLmMultiDbSearch * iMultiDbSearch
TPosLmOperationStatus
iOperationStatus
TBool
iSearchOnlyPreviousMatches
|
TBool
|
iSearchOnlyPreviousMatches
|
[private]
|
TPosLmMultiAsyncSearchStatus
iSearchStatus
CPosLmMultiDbSortPref * iSortPref
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.