CEventManagerBase Class Reference
class CEventManagerBase : public CBase
|
This class provides with the general functionality of a general purpose event manager.
Constructor & Destructor Documentation
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 &)
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]
|
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
TLinearOrder< CDosEvent > iOrder
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.