MEventService Class Reference
class MEventService : public MInetBase |
Event Managers distribute the event notifications to the registered listeners.
Constructor & Destructor Documentation
~MEventService()
~MEventService | ( | ) | [inline, virtual] |
Member Functions Documentation
CreateEventManager(TUint)
Parameters
TUint aNumClasses | Number of event classes handled by the new manager. |
IsEmpty(TUint)
Parameters
TUint aEventClass | event class to be checked for listeners. |
Notify(TUint, TUint, const void *)
void | Notify | ( | TUint | aEventClass, |
| TUint | aEventType, |
| const void * | aData |
| ) | [pure virtual] |
Parameters
TUint aEventClass | event class, determines which listeners are notified. |
TUint aEventType | event type code, specific for given class. |
const void * aData | Event type specific data. The data is passed to all notified listeners. |
RegisterListener(MEventListener *, TUint)
If a listener wants to register for several event classes, this method needs to be called a multiple times.
Parameters
MEventListener * aListener | Pointer to listener instance |
TUint aEventClass | Event class for which notifications are to be sent. |
RemoveListener(MEventListener *, TUint)
Parameters
MEventListener * aListener | Pointer to listener instance to be unregistered |
TUint aEventClass = 0 | Event class which is unregistered. If the listener was registered to other event classes, it remains registered there. If this parameter is omitted or 0 is given, then the listener is unregistered from all event classes (useful for cleanup). |
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.