#include <observer.hh>
Public Member Functions | |
virtual void | update (observed_subject *)=0 |
This method is automatically called when this observer is attached to a "notified" subject. |
You should declare a new observer type of some my_subject this way:
class my_observer : public observer<my_subject>
Every time notify() is called on the subject every attached observer is updated.
virtual void mets::observer< observed_subject >::update | ( | observed_subject * | ) | [pure virtual] |
This method is automatically called when this observer is attached to a "notified" subject.
Implemented in mets::search_listener< move_manager_type >.
Return to METSlib home page