24 #ifndef _OBSERVABLE_GLOBVAR_H
25 #define _OBSERVABLE_GLOBVAR_H
33 #include "observable.h"
75 void Set(
const T& arg) {
80 const T Get() {
return *variable; }
Wrapper for global variable, supports notification events when value changes.
The observable notify/listen basic nuts and bolts.
virtual const void Notify()
Notify all listeners about variable change.