next up previous contents
Next: MultiplexerListener Up: Classes Previous: Subscriber   Contents

EventFilter

When Events are posted, sometime it is interresting to filter them, in order to only receive only appropriate Events. This class is used for that purpose.
A derived class EventFiltering is also defined, which allows to automatically filter events of a given type. This class is used in the ListenerForEvent<EVENT>.
Its interface is:
  class EventFilter {
  public:
    virtual bool filter(Event* e) = 0 ;
  } ;



Frantz Maerten 2006-01-30