AFieldObservable#
Stores a value and observes it's changes, notifying observers.
| Header: | #include <AUI/Util/AFieldObservable.h> |
| CMake: | aui_link(my_target PUBLIC aui::core) |
Public Methods#
addObserver#
Adds an observer, immediately feeding the observer with the current value.
- Arguments
observerobserver. Optionally can accept the AFieldObservable's stored type as the first argument.
removeObserver#
Removes an observer.