next up previous contents
Next: Listener Up: Classes Previous: Classes   Contents

Event

The argument which is propagated from the Publisher to the Subscriber by the use of Listener. There can be as many types of Events as needed.
Event inherits from GenObject, and therefor is a smart-pointer. You don't have to worry about deallocations of events after emission.
Its interface is:
  class Event {
  public:
    Publisher* get_source() const ;
  } ;



Frantz Maerten 2006-01-30