26#ifndef OBSERVABLE_GLOBVAR_H
27#define OBSERVABLE_GLOBVAR_H
73 void Set(
const T& arg) {
78 T Get() {
return *variable; }
Wrapper for global variable, supports notification events when value changes.
The observable notify/listen basic nuts and bolts.
virtual void Notify()
Notify all listeners about variable change.
General observable implementation with several specializations.
std::string ptr_key(const void *ptr)
Return address as printable string.