
Public Types | |
| typedef ControlListener * | LPtr |
Public Member Functions | |
| void | addControl (Control *_control) |
| Add a control to be dispatched later. | |
| void | addControlListener (const LPtr &l) |
| ClientProxy () | |
| void | dispatchControlEvents () |
| Distribute the queued Controls using ControlEvents. | |
| EventDispatcher () | |
| void | fireEvent (ControlEvent &e) const |
| notifies all registered listeners | |
| bool | getDispatched () |
| Indicate if all queued controls of a disconnected client have been dispatched. | |
| bool | getZombie () |
| Indicate if the associated client was lost. | |
| bool | isMuted () const |
| reflects this dispatcher's muted state. | |
| void | removeControlListener (const LPtr &l) |
| void | setDispatched (bool _b) |
| Tag ClientProxy when all queued controls of a disconnected client have been dispatched. | |
| void | setMuted (bool mute) |
| mutes or un-mutes the dispatcher | |
| void | setZombie (bool _b) |
| Tag ClientProxy when associated client was lost. | |
Protected Member Functions | |
| void | add (const LPtr &l) |
| registers a listener | |
| void | remove (const LPtr &l) |
| de-registers a listener. | |
Friends | |
| class | Server |
|
|
|
|
|
|
|
|
registers a listener
|
|
|
Add a control to be dispatched later.
|
|
|
|
|
|
Distribute the queued Controls using ControlEvents.
|
|
|
|
|
|
notifies all registered listeners
The listeners are called in the order in which they were added.
|
|
|
Indicate if all queued controls of a disconnected client have been dispatched.
|
|
|
Indicate if the associated client was lost.
|
|
|
reflects this dispatcher's muted state.
|
|
|
de-registers a listener.
This listener will no longer notify
|
|
|
|
|
|
Tag ClientProxy when all queued controls of a disconnected client have been dispatched.
|
|
|
mutes or un-mutes the dispatcher Muted dispatchers no longer notify their listeners. |
|
|
Tag ClientProxy when associated client was lost.
|
|
|
|
1.4.3