RSsmSystemWideProperty Class Reference

class RSsmSystemWideProperty

Read-only client interface to receive notifications when a System Wide Property's value is changed.

The implementation is similar to RProperty so the general pitfalls of RProperties applies. I.e. if the value changes several times before being read, only the last set value will be available. And to avoid missing a second notification, subscribtion must be reissued the first thing when you get a change notification, not after the change have been handled.

CSsmSystemWideProperty wraps this class in an active object.

CSsmSystemWideProperty

Public Member Functions
IMPORT_C voidClose()
IMPORT_C TIntConnect(TUint)
TInt Connect(TUint, TUid)
IMPORT_C TIntGetValue(TInt &)
IMPORT_C voidSubscribe(TRequestStatus &)
IMPORT_C voidSubscribeCancel()
Private Attributes
TUint iKey
RProperty iProperty
TInt iSpare

Member Functions Documentation

Close()

IMPORT_C voidClose()

Connect(TUint)

IMPORT_C TIntConnect(TUintaSwpKey)

Parameters

TUint aSwpKey

Connect(TUint, TUid)

TInt Connect(TUintaSwpKey,
TUidaProcessSid
)

Parameters

TUint aSwpKey
TUid aProcessSid

GetValue(TInt &)

IMPORT_C TIntGetValue(TInt &aValue)const

Parameters

TInt & aValue

Subscribe(TRequestStatus &)

IMPORT_C voidSubscribe(TRequestStatus &aStatus)

Parameters

TRequestStatus & aStatus

SubscribeCancel()

IMPORT_C voidSubscribeCancel()

Member Data Documentation

TUint iKey

TUint iKey[private]

RProperty iProperty

RProperty iProperty[private]

TInt iSpare

TInt iSpare[private]