#include <EventListener.hh>
Public Member Functions |
| virtual | ~EventListener () |
| virtual int | signalEvent (const std::shared_ptr< const Event > &event)=0 |
| | This method gets called when an event you are subscribed to occurs.
|
Detailed Description
Definition at line 10 of file EventListener.hh.
Constructor & Destructor Documentation
| virtual openmsx::EventListener::~EventListener |
( |
| ) |
|
|
inlinevirtual |
| openmsx::EventListener::EventListener |
( |
| ) |
|
|
inlineprotected |
Member Function Documentation
| virtual int openmsx::EventListener::signalEvent |
( |
const std::shared_ptr< const Event > & |
event | ) |
|
|
pure virtual |
This method gets called when an event you are subscribed to occurs.
- Returns
- Must return a bitmask of EventListener priorities. When a bit is set, this event won't be delivered to listeners with that priority. It's only allowed/possible to block an event for listeners with a strictly lower priority than this listener. Returning 0 means don't block the event for any listeners.
The documentation for this class was generated from the following file: