Object that notifies its changes to a set of observers. More...
#include <ql/patterns/observable.hpp>
Inheritance diagram for Observable:Public Member Functions | |
| Observable (const Observable &) | |
| Observable & | operator= (const Observable &) |
| void | notifyObservers () |
Friends | |
| class | Observer |
Object that notifies its changes to a set of observers.
| Observable & operator= | ( | const Observable & | o | ) |
| void notifyObservers | ( | ) |
This method should be called at the end of non-const methods or when the programmer desires to notify any changes.