|
|
|
|
Documentation |
|
Main Page Namespace List Class Hierarchy Alphabetical List Compound List File List Namespace Members Compound Members File Members Related Pages Search
NLMISC::CEventServer Class ReferenceCEventServer.
More...
#include <event_server.h>
Collaboration diagram for NLMISC::CEventServer:
[legend]List of all members.
Detailed Description
CEventServer.
-
Author(s):
-
Stephane Coutelas , Nevrax France
-
Date:
-
2000
Definition at line 52 of file event_server.h.
Member Function Documentation
void NLMISC::CEventServer::addEmitter (
|
IEventEmitter * emitter )
|
|
|
Add a callback (associated with an id).
-
Parameters:
-
id
|
of the CEvent class to hook |
listener
|
to use with this event |
Definition at line 102 of file event_server.cpp. |
void NLMISC::CEventServer::postEvent (
|
CEvent * event )
|
|
void NLMISC::CEventServer::pump (
|
)
|
|
|
get call every callbacks associated with event id.
-
Parameters:
-
Definition at line 49 of file event_server.cpp. |
bool NLMISC::CEventServer::pumpEvent (
|
CEvent * event ) [protected, virtual]
|
|
|
call every callbacks associated with event id.
-
Parameters:
-
-
Returns:
-
true if the pointer must be delete, false if it not. (post to another message queue...)
Definition at line 78 of file event_server.cpp. |
void NLMISC::CEventServer::removeEmitter (
|
IEventEmitter * emitter )
|
|
|
Remove an Emitter from the server.
-
Parameters:
-
Definition at line 142 of file event_server.cpp. |
|
Remove a callback.
-
Parameters:
-
id
|
of event's callback |
listener
|
to be removed |
Definition at line 111 of file event_server.cpp. |
Member Data Documentation
std::list< IEventEmitter *> NLMISC::CEventServer::_Emitters [private]
|
|
std::list< CEvent *> NLMISC::CEventServer::_Events [private]
|
|
The documentation for this class was generated from the following files:
|
|