CSsmSystemWideProperty Class Reference

class CSsmSystemWideProperty : public CBase

Utility class for monitoring a system Wide Property. Maintains a list of subscribers that share a single active object. When the monitored Sytem Wide Property changes the subscribers will be notified in the order they were added to the list of subscribers.

RSsmSystemWideProperty

Inherits from

  • CSsmSystemWideProperty

Constructor & Destructor Documentation

CSsmSystemWideProperty()

CSsmSystemWideProperty()[private]

~CSsmSystemWideProperty()

IMPORT_C~CSsmSystemWideProperty()

Member Functions Documentation

AddSubscriberL(MSwpChangeNotificationSubscriber &)

IMPORT_C voidAddSubscriberL(MSwpChangeNotificationSubscriber &aSubscriber)

Parameters

MSwpChangeNotificationSubscriber & aSubscriber

ConstructL(TUint, TUid)

voidConstructL(TUintaSwpKey,
TUidaProcessSid
)[private]

Parameters

TUint aSwpKey
TUid aProcessSid

GetValue(TSsmSwp &)

IMPORT_C TIntGetValue(TSsmSwp &aSwp)const

Parameters

TSsmSwp & aSwp

NewL(TUint)

IMPORT_C CSsmSystemWideProperty *NewL(TUintaSwpKey)[static]

Parameters

TUint aSwpKey

NewLC(TUint)

IMPORT_C CSsmSystemWideProperty *NewLC(TUintaSwpKey)[static]

Parameters

TUint aSwpKey

NewLC(TUint, TUid)

CSsmSystemWideProperty *NewLC(TUintaSwpKey,
TUidaProcessSid
)[static]

Parameters

TUint aSwpKey
TUid aProcessSid

NotifySubscribers(TSsmSwp)

voidNotifySubscribers(TSsmSwpaSwp)

Parameters

TSsmSwp aSwp

RemoveSubscriber(const MSwpChangeNotificationSubscriber &)

IMPORT_C voidRemoveSubscriber(const MSwpChangeNotificationSubscriber &aSubscriber)

Parameters

const MSwpChangeNotificationSubscriber & aSubscriber

Member Data Documentation

CSsmPropertyMonitor * iMonitor

CSsmPropertyMonitor *iMonitor[private]

TInt iSpare

TInt iSpare[private]

RPointerArray< MSwpChangeNotificationSubscriber > iSubscribers

RPointerArray< MSwpChangeNotificationSubscriber >iSubscribers[private]