|
|
|
|
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>
List of all members.
Detailed Description
CEventServer.
-
Author:
-
Stephane Coutelas , Nevrax France
-
Date:
-
2000
Definition at line 52 of file event_server.h.
Constructor & Destructor Documentation
virtual NLMISC::CEventServer::~CEventServer |
( |
|
) |
[inline, virtual] |
|
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 104 of file event_server.cpp.
References _Listeners, and id. |
void NLMISC::CEventServer::postEvent |
( |
CEvent * |
event |
) |
|
|
void NLMISC::CEventServer::pump |
( |
|
) |
|
|
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 80 of file event_server.cpp.
References _Listeners, and id.
Referenced by pump. |
void NLMISC::CEventServer::removeEmitter |
( |
IEventEmitter * |
emitter |
) |
|
|
|
Remove a callback.
-
Parameters:
-
id |
of event's callback |
listener |
to be removed |
Definition at line 113 of file event_server.cpp.
References _Listeners, and id. |
Member Data Documentation
The documentation for this class was generated from the following files:
|
|