Interested party
ANotifiablerepresents an event consumer. Events are delivered to aNotifiableby calling theirnotifymethod. ANotifiablemust specializenotifyto implement its specific response to event notifications. Example:class Ticker : public Notifiable { virtual void notify(Event &e) { cout << e["price"].int_value() << endl; }; } // ... Filter f; Ticker t; f.add_constraint("price", Siena_lt, 500); S->subscribe(f, t); // ...
Alphabetic index HTML hierarchy of classes or Java