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 *&)

void LookForEventInArray ( TUint aEventName,
CDosEvent *& aEventPtr
) [private]

It looks for an event id in the event array.

Parameters

TUint aEventName The event id to look for.
CDosEvent *& aEventPtr It 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 & aMessage Client-server message containing the request.

RaiseEvent(TUint, TAny *, TInt)

TInt RaiseEvent ( TUint aEvent,
TAny * aParameter = NULL,
TInt aParLength = 0
) [protected]

Raises and event.

Parameters

TUint aEvent The evetn id.
TAny * aParameter = NULL A pointer to the event's parameter.
TInt aParLength = 0 Length of the parameter.

RegisterListenerL(CDosEventRcvService *, TUint)

TInt RegisterListenerL ( CDosEventRcvService * aListener,
TUint aEvent
)

Registers a listener to listen to an event.

Parameters

CDosEventRcvService * aListener The listener.
TUint aEvent The event.

UnRegisterListener(CDosEventRcvService *, TUint)

TInt UnRegisterListener ( CDosEventRcvService * aListener,
TUint aEvent
)

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

Parameters

CDosEventRcvService * aListener The listener.
TUint aEvent The event.

Member Data Documentation

RPointerArray< CDosEvent > iEventArray

RPointerArray < CDosEvent > iEventArray [private]

TLinearOrder< CDosEvent > iOrder

TLinearOrder < CDosEvent > iOrder [private]