#include <eventgenerator.h>
Public Member Functions | |
void | addListener (EventListener *listener) |
void | removeListener (EventListener *listener) |
bool | hasListeners () const |
void | notify (const EventType &event) |
Notifies all listeners of a specific event. | |
Private Attributes | |
std::list< EventListener * > | listeners |
the list of listeners |
EventListener must implement the method notify(const EventType &)
void srchilite::EventGenerator< EventListener, EventType >::notify | ( | const EventType & | event | ) | [inline] |
Notifies all listeners of a specific event.
event | the event |