CEventManagerBase Class Reference

class CEventManagerBase : public CBase

This class provides with the general functionality of a general purpose event manager.

Inherits from

Constructor & Destructor Documentation

CEventManagerBase()

CEventManagerBase()

Constructor.

~CEventManagerBase()

~CEventManagerBase()

Destructor.

Member Functions Documentation

LookForEventInArray(TUint, CDosEvent *&)

voidLookForEventInArray(TUintaEventName,
CDosEvent *&aEventPtr
)[private]

It looks for an event id in the event array.

Parameters

TUint aEventNameThe event id to look for.
CDosEvent *& aEventPtrIt will contain a pointer to the event if found or NULL if not.

RaiseEvent(const RMessage2 &)

TInt RaiseEvent(const RMessage2 &aMessage)

Raises and event contained in the client-server message.

Parameters

const RMessage2 & aMessageClient-server message containing the request.

RaiseEvent(TUint, TAny *, TInt)

TInt RaiseEvent(TUintaEvent,
TAny *aParameter = NULL,
TIntaParLength = 0
)[protected]

Raises and event.

Parameters

TUint aEventThe evetn id.
TAny * aParameter = NULLA pointer to the event's parameter.
TInt aParLength = 0Length of the parameter.

RegisterListenerL(CDosEventRcvService *, TUint)

TInt RegisterListenerL(CDosEventRcvService *aListener,
TUintaEvent
)

Registers a listener to listen to an event.

Parameters

CDosEventRcvService * aListenerThe listener.
TUint aEventThe event.

UnRegisterListener(CDosEventRcvService *, TUint)

TInt UnRegisterListener(CDosEventRcvService *aListener,
TUintaEvent
)

The listener doesn't want to listen for event anymore.

Parameters

CDosEventRcvService * aListenerThe listener.
TUint aEventThe event.

Member Data Documentation

RPointerArray< CDosEvent > iEventArray

RPointerArray< CDosEvent >iEventArray[private]

TLinearOrder< CDosEvent > iOrder

TLinearOrder< CDosEvent >iOrder[private]