CSsmStateAwareSession Class Reference

class CSsmStateAwareSession : public CBase

Utility class for monitoring the System State. Maintains a list of subscribers that share a single active object. When the System State changes the subscribers will be notified in the order they were added to the list of subscribers.

TSsmMainSystemStates RSsmStateAwareSession

Inherits from

  • CSsmStateAwareSession

Constructor & Destructor Documentation

CSsmStateAwareSession()

CSsmStateAwareSession()[private]

~CSsmStateAwareSession()

IMPORT_C~CSsmStateAwareSession()

Member Functions Documentation

AddSubscriberL(MStateChangeNotificationSubscriber &)

IMPORT_C voidAddSubscriberL(MStateChangeNotificationSubscriber &aSubscriber)

Parameters

MStateChangeNotificationSubscriber & aSubscriber

ConstructL(TDmDomainId)

voidConstructL(TDmDomainIdaId)[private]

Parameters

TDmDomainId aId

NewL(TDmDomainId)

IMPORT_C CSsmStateAwareSession *NewL(TDmDomainIdaId)[static]

Parameters

TDmDomainId aId

NewLC(TDmDomainId)

IMPORT_C CSsmStateAwareSession *NewLC(TDmDomainIdaId)[static]

Parameters

TDmDomainId aId

NotifySubscribers(TSsmState)

voidNotifySubscribers(TSsmStateaNewState)

Parameters

TSsmState aNewState

RemoveSubscriber(const MStateChangeNotificationSubscriber &)

IMPORT_C voidRemoveSubscriber(const MStateChangeNotificationSubscriber &aSubscriber)

Parameters

const MStateChangeNotificationSubscriber & aSubscriber

State()

IMPORT_C TSsmStateState()const

Member Data Documentation

CSsmStateMonitor * iMonitor

CSsmStateMonitor *iMonitor[private]

TInt iSpare

TInt iSpare[private]

RPointerArray< MStateChangeNotificationSubscriber > iSubscribers

RPointerArray< MStateChangeNotificationSubscriber >iSubscribers[private]