CLbsAdminImpl Class Reference
class CLbsAdminImpl : public CBase |
Constructor & Destructor Documentation
CLbsAdminImpl(MLbsAdminObserver *)
~CLbsAdminImpl()
~CLbsAdminImpl | ( | ) | [virtual] |
Member Functions Documentation
CheckCenRepL()
void | CheckCenRepL | ( | ) | [private] |
Check the admin cenrep values are within range
- leave
- KErrGeneral if one of the values is not within range
ClearNotificationMask()
void | ClearNotificationMask | ( | ) | |
ConstructL()
void | ConstructL | ( | ) | [private] |
ConstructL(const TLbsAdminSettingGroup &)
Second phase constructor
- capability
- WriteDeviceData if the configuration settings need to be created/initialised, none otherwise
DefineArrayProperties(const TLbsAdminSetting, TUint32)
Defines the properties for array types. These are read from a number of central repository keys starting at 'aKeyBase'
DefinePropertiesL()
void | DefinePropertiesL | ( | ) | [private] |
Initialises the configuration
-
leave
- One of the system wide error codes
-
capability
- WriteDeviceData if the configuration settings need to be created/initialised, none otherwise
DeleteSubscribers()
void | DeleteSubscribers | ( | ) | [private] |
Deletes all the setting subscribers.
It automatically cancels outstanding setting event request (if any).
-
capability
- WriteDeviceData
DeleteSubscribersNotInMask(TLbsAdminSettingGroup &)
Deletes all the setting subscribers whose setting is not selected by aMask. If there is a subscriber for a setting selected by aMask, then that setting is removed from aMask. That way, when the method finishes, the resulting mask selects only those settings for which a subscriber is missing.
-
capability
- WriteDeviceData
GetProtocolModulesValidated(TLbsAdminSetting, TInt &, const TLbsAdminSetting)
GetSettingValidated(TLbsAdminSetting, TInt &)
Returns an LBS Administration setting obtained from the corresponding property. This method should be used by one of overloaded DoGet()s after validating the attributes.
For the KLbsSpecialFeatureMaximumRequestDelay read-only seting KErrArgument is returned if the value is greater than KLbsMaximumRequestDelayMax.
TLbsAdminSetting KLbsMaximumRequestDelayMax
NewL()
Static constructor.
- capability
- WriteDeviceData if the configuration settings need to be created/initialised, none otherwise
NewL(MLbsAdminObserver &, const TLbsAdminSettingGroup &)
Static constructor.
- capability
- WriteDeviceData if the configuration settings need to be created/initialised, none otherwise
SetInfoBaseValidated(TLbsAdminSetting, const TLbsAdminInfoBase &)
Updates a setting in a relevant property and in the corresponding Central Repository setting. This method should be used by one of overloaded DoSet()s after validating the attributes.
SetNotificationMaskL(const TLbsAdminSettingGroup &)
SetSettingValidated(TLbsAdminSetting, const TInt &)
Updates a setting in a relevant property and in the corresponding Central Repository setting. This method should be used by one of overloaded DoSet()s after validating the attributes.
Parameters
TLbsAdminSetting aSetting | The setting to be changed. |
const TInt & aValue | The new value of the setting. |
SyncCenrep(TLbsAdminSetting)
As a result of race conditions when there are two or more simultaneous calls of the set functions the values stored in the P&S and CenRep may be different. So we may need to sync the CenRep value with the last P&S value. We run the cycle only once. It must be enough for handling two concurrent calls. We consider the probability of three or more concurrent calls as very low.
Member Data Documentation
MLbsAdminObserver * iObserver
RPointerArray< CAdminSettingSubscriber > iSubscribers
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.