#include <EventFilter.H>
Inherited by IS3D::TextMessageFilter.
Public Member Functions | |
EventFilter () | |
virtual | ~EventFilter () |
virtual bool | filter (EventRef e)=0 |
IS3D::EventFilter::EventFilter | ( | ) | [inline] |
virtual IS3D::EventFilter::~EventFilter | ( | ) | [inline, virtual] |
virtual bool IS3D::EventFilter::filter | ( | EventRef | e | ) | [pure virtual] |
Subclasses implement this method, when a filter is added to FsaMgr its filter method is called for every event that gets queued. The filter can do whatever it wants with that event, usually it will generate different events based on its data. If the filter method returns true then the original event gets queued as usual, if it returns false, then the original event is not queued, and therefore never processed by Fsa's.
Implemented in IS3D::TextMessageFilter.