MHierarchyObserver Class Reference

class MHierarchyObserver

An interface to the domain manager for an observer.

To make use of this class, an application must derive from it and implement the pure vitual functions to handle transition event notifications.

Member Functions Documentation

TransFailEvent(TDmDomainId, TDmDomainState, TInt)

voidTransFailEvent(TDmDomainIdaDomainId,
TDmDomainStateaState,
TIntaError
)[pure virtual]

When observer is active, then upon any failing transition, this will be called indicating the Id of the domain, the state of the domain for the transition and the error occured. Clients are expected to use this for debugging purpose.

Parameters

TDmDomainId aDomainId
TDmDomainState aState
TInt aError

TransProgEvent(TDmDomainId, TDmDomainState)

voidTransProgEvent(TDmDomainIdaDomainId,
TDmDomainStateaState
)[pure virtual]

When the observer is active, then upon any successful transition, this will be called indicating the Id of the transitioned domain and the state of the domain after the transition. Clients are expected to use this for debugging purpose.

Parameters

TDmDomainId aDomainId
TDmDomainState aState

TransReqEvent(TDmDomainId, TDmDomainState)

voidTransReqEvent(TDmDomainIdaDomainId,
TDmDomainStateaState
)[pure virtual]

When observer is active, then upon any request for transition, this will be called indicating the Id of the domain and the desired state of the domain. Clients are expected to use this for debugging purpose.

Parameters

TDmDomainId aDomainId
TDmDomainState aState