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

Constructor & Destructor Documentation

CSsmSystemWideProperty()

CSsmSystemWideProperty ( ) [private]

~CSsmSystemWideProperty()

IMPORT_C ~CSsmSystemWideProperty ( )

Member Functions Documentation

AddSubscriberL(MSwpChangeNotificationSubscriber &)

IMPORT_C void AddSubscriberL ( MSwpChangeNotificationSubscriber & aSubscriber )

Parameters

MSwpChangeNotificationSubscriber & aSubscriber

ConstructL(TUint, TUid)

void ConstructL ( TUint aSwpKey,
TUid aProcessSid
) [private]

Parameters

TUint aSwpKey
TUid aProcessSid

GetValue(TSsmSwp &)

IMPORT_C TInt GetValue ( TSsmSwp & aSwp ) const

Parameters

TSsmSwp & aSwp

NewL(TUint)

IMPORT_C CSsmSystemWideProperty * NewL ( TUint aSwpKey ) [static]

Parameters

TUint aSwpKey

NewLC(TUint)

IMPORT_C CSsmSystemWideProperty * NewLC ( TUint aSwpKey ) [static]

Parameters

TUint aSwpKey

NewLC(TUint, TUid)

CSsmSystemWideProperty * NewLC ( TUint aSwpKey,
TUid aProcessSid
) [static]

Parameters

TUint aSwpKey
TUid aProcessSid

NotifySubscribers(TSsmSwp)

void NotifySubscribers ( TSsmSwp aSwp )

Parameters

TSsmSwp aSwp

RemoveSubscriber(const MSwpChangeNotificationSubscriber &)

IMPORT_C void RemoveSubscriber ( 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]