#include <observer.hpp>
Public Member Functions | |
virtual void | clearObservers () |
Remove all observers; should only be used for debugging purposes. | |
virtual void | addObserver (Observer< S > *pObserver) |
virtual void | delObserver (Observer< S > *pObserver) |
virtual void | notify () |
Notify the observers when the status has changed. |
Definition at line 35 of file observer.hpp.
|
Add an observer to this subject Note: adding twice the same observer is not harmful Definition at line 48 of file observer.hpp. Referenced by CtrlCheckbox::CtrlCheckbox(), CtrlRadialSlider::CtrlRadialSlider(), CtrlSliderCursor::CtrlSliderCursor(), and CtrlText::CtrlText(). |
|
Remove an observer from this subject Note: removing twice the same observer is not harmful Definition at line 55 of file observer.hpp. |