25#ifndef OBSERVABLE_GLOBVAR_H
26#define OBSERVABLE_GLOBVAR_H
75 void Set(
const T& arg) {
80 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 to configured key about variable change.
General observable pattern implementation built on top of wxWidgets event handling.
std::string PtrKey(const void *ptr)
Return address as printable string.