class CLbtContainerAO : public CActive |
Private Member Functions | |
---|---|
CLbtContainerAO ( RPointerArray < MLbtTriggerStore > &, RArray < CLbtContainer::TLbtTriggerStoreChangeObserver > &) | |
void | ConstructL () |
void | DoCancel () |
void | NotifyListeners () |
void | ProcessFilter ( TBool &, TLbtTriggerEventMask &, TLbtTriggerEventMask &) |
void | ReverseArray ( RPointerArray < CLbtContainerTriggerEntry > &) |
TInt | RunError ( TInt ) |
void | RunL () |
void | SortByDistance ( RPointerArray < CLbtContainerTriggerEntry > &) |
void | SortByName ( RPointerArray < CLbtContainerTriggerEntry > &) |
void | SortTriggers ( RPointerArray < CLbtContainerTriggerEntry > &) |
Inherited Enumerations | |
---|---|
CActive:TPriority |
Inherited Attributes | |
---|---|
CActive::iStatus |
CLbtContainerAO | ( | RPointerArray < MLbtTriggerStore > & | aTriggerStores, |
RArray < CLbtContainer::TLbtTriggerStoreChangeObserver > & | aObservers | ||
) | [private] |
RPointerArray < MLbtTriggerStore > & aTriggerStores | |
RArray < CLbtContainer::TLbtTriggerStoreChangeObserver > & aObservers |
~CLbtContainerAO | ( | ) |
Destructor.
If the notification is started, the destructor will cancel the notification.
void | AddAsyncOpToQueue | ( | CLbtContainerAOOperation * | aAsyncOp | ) |
CLbtContainerAOOperation * aAsyncOp |
void | CreateTriggerL | ( | CLbtContainerTriggerEntry * | aEntry, |
TInt | aOpCode, | |||
TRequestStatus & | aStatus | |||
) |
CLbtContainerTriggerEntry * aEntry | |
TInt aOpCode | |
TRequestStatus & aStatus |
void | DeleteTriggersL | ( | CLbtContainerUpdateFilter * | aFilter, |
TInt | aOpCode, | |||
TRequestStatus & | aStatus, | |||
TLbtSecurityPolicy | aSecurityPolicy | |||
) |
CLbtContainerUpdateFilter * aFilter | |
TInt aOpCode | |
TRequestStatus & aStatus | |
TLbtSecurityPolicy aSecurityPolicy |
void | DoCancel | ( | ) | [private, virtual] |
Implements cancellation of an outstanding request.
This function is called as part of the active object's Cancel() .
It must call the appropriate cancel function offered by the active object's asynchronous service provider. The asynchronous service provider's cancel is expected to act immediately.
DoCancel() must not wait for event completion; this is handled by Cancel() .
void | GetTriggersL | ( | const RArray < TLbtTriggerId > & | aTriggerIds, |
RPointerArray < CLbtContainerTriggerEntry > & | aTriggers, | |||
TInt & | aOpId, | |||
TRequestStatus & | aStatus, | |||
TLbtSecurityPolicy | aSecurityPolicy = KLbtNullSecurity | |||
) |
const RArray < TLbtTriggerId > & aTriggerIds | |
RPointerArray < CLbtContainerTriggerEntry > & aTriggers | |
TInt & aOpId | |
TRequestStatus & aStatus | |
TLbtSecurityPolicy aSecurityPolicy = KLbtNullSecurity |
void | ListTriggersL | ( | CLbtContainerListOptions * | aFilter, |
RPointerArray < CLbtContainerTriggerEntry > & | aTriggers, | |||
TInt | aOpCode, | |||
TRequestStatus & | aStatus, | |||
TLbtSecurityPolicy | aSecurityPolicy | |||
) |
CLbtContainerListOptions * aFilter | |
RPointerArray < CLbtContainerTriggerEntry > & aTriggers | |
TInt aOpCode | |
TRequestStatus & aStatus | |
TLbtSecurityPolicy aSecurityPolicy |
CLbtContainerAO * | NewL | ( | RPointerArray < MLbtTriggerStore > & | aTriggerStores, |
RArray < CLbtContainer::TLbtTriggerStoreChangeObserver > & | aObservers | |||
) | [static] |
Construct a trigger change event notifier object.
When the object is constructed. The trigger change notification request is not issued to the Location Triggering Server. Client shall call CLbtTriggerChangeEventNotifier::Start() to start notification.
RPointerArray < MLbtTriggerStore > & aTriggerStores | |
RArray < CLbtContainer::TLbtTriggerStoreChangeObserver > & aObservers |
void | ProcessFilter | ( | TBool & | aIsRequested, |
TLbtTriggerEventMask & | aRequestedMask, | |||
TLbtTriggerEventMask & | aEventMask | |||
) | [private] |
TBool & aIsRequested | |
TLbtTriggerEventMask & aRequestedMask | |
TLbtTriggerEventMask & aEventMask |
void | ReverseArray | ( | RPointerArray < CLbtContainerTriggerEntry > & | aTriggers | ) | [private] |
RPointerArray < CLbtContainerTriggerEntry > & aTriggers |
void | RunL | ( | ) | [private, virtual] |
Handles an active object's request completion event.
A derived class must provide an implementation to handle the completed request. If appropriate, it may issue another request.
The function is called by the active scheduler when a request completion event occurs, i.e. after the active scheduler's WaitForAnyRequest() function completes.
Before calling this active object's RunL() function, the active scheduler has:
1. decided that this is the highest priority active object with a completed request
2. marked this active object's request as complete (i.e. the request is no longer outstanding)
RunL() runs under a trap harness in the active scheduler. If it leaves, then the active scheduler calls RunError() to handle the leave.
Note that once the active scheduler's Start() function has been called, all user code is run under one of the program's active object's RunL() or RunError() functions.
CActiveScheduler::Start CActiveScheduler::Error CActiveScheduler::WaitForAnyRequest TRAPD
void | SortByDistance | ( | RPointerArray < CLbtContainerTriggerEntry > & | aTriggers | ) | [private] |
RPointerArray < CLbtContainerTriggerEntry > & aTriggers |
void | SortByName | ( | RPointerArray < CLbtContainerTriggerEntry > & | aTriggers | ) | [private] |
RPointerArray < CLbtContainerTriggerEntry > & aTriggers |
void | SortTriggers | ( | RPointerArray < CLbtContainerTriggerEntry > & | aTriggers | ) | [private] |
RPointerArray < CLbtContainerTriggerEntry > & aTriggers |
void | UpdateTriggerFiredStateL | ( | RArray < TLbtTriggerId > & | aTriggerIds, |
TBool | aFireBool, | |||
TInt | aOpCode, | |||
TRequestStatus & | aStatus | |||
) |
RArray < TLbtTriggerId > & aTriggerIds | |
TBool aFireBool | |
TInt aOpCode | |
TRequestStatus & aStatus |
void | UpdateTriggerL | ( | CLbtContainerTriggerEntry & | aEntry, |
TLbtTriggerDataMask | aDataMask, | |||
TLbtTriggerAttributeFieldsMask | aAttrMask, | |||
TInt | aOpCode, | |||
TRequestStatus & | aStatus, | |||
TLbtSecurityPolicy | aSecurityPolicy | |||
) |
CLbtContainerTriggerEntry & aEntry | |
TLbtTriggerDataMask aDataMask | |
TLbtTriggerAttributeFieldsMask aAttrMask | |
TInt aOpCode | |
TRequestStatus & aStatus | |
TLbtSecurityPolicy aSecurityPolicy |
void | UpdateTriggersStateL | ( | CLbtTriggerEntry::TLbtTriggerState | aState, |
CLbtContainerUpdateFilter * | aFilter, | |||
TInt | aOpCode, | |||
TLbtFireOnUpdate | aFireOnUpdate, | |||
TRequestStatus & | aStatus, | |||
TLbtSecurityPolicy | aSecurityPolicy | |||
) |
CLbtTriggerEntry::TLbtTriggerState aState | |
CLbtContainerUpdateFilter * aFilter | |
TInt aOpCode | |
TLbtFireOnUpdate aFireOnUpdate | |
TRequestStatus & aStatus | |
TLbtSecurityPolicy aSecurityPolicy |
void | UpdateTriggersValidityL | ( | TLbtTriggerDynamicInfo::TLbtTriggerValidity | aValidity, |
RArray < TLbtTriggerId > & | aTriggerIds, | |||
TInt | aOpCode, | |||
TRequestStatus & | aStatus, | |||
TLbtSecurityPolicy | aSecurityPolicy | |||
) |
TLbtTriggerDynamicInfo::TLbtTriggerValidity aValidity | |
RArray < TLbtTriggerId > & aTriggerIds | |
TInt aOpCode | |
TRequestStatus & aStatus | |
TLbtSecurityPolicy aSecurityPolicy |
RPointerArray < CLbtContainerAOOperation > | iAsyncOpQueue | [private] |
RArray < CLbtContainer::TLbtTriggerStoreChangeObserver > & | iObservers | [private] |
CLbtListTriggerOptions::TLbtListTriggerSorting | iSortingOption | [private] |
RPointerArray < MLbtTriggerStore > & | iTriggerStores | [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.