24#ifndef _OBSERVABLE_EVTVAR_H
25#define _OBSERVABLE_EVTVAR_H
34#include "observable.h"
88 const void Notify(std::shared_ptr<void> p,
const std::string& s,
int n = 0) {
93 std::string Autokey() {
94 static std::atomic<unsigned long> last_ix(0);
95 return std::string(
"!@%/+") + std::to_string(last_ix++);
Generic event handling between between two parties like MVC Model and Controller using a shared Event...
const void Notify(int n, const std::string &s)
Notify all listeners about variable change with a string and an int.
const void Notify(std::shared_ptr< void > p, const std::string &s, int n=0)
Notify all listeners about variable change with shared_ptr, a string and an optional number.
const void Notify()
Notify all listeners, no data supplied.
const void Notify(const std::string &s)
Notify all listeners about variable change with a string.
const void Notify(void *data)
Notify all listeners about variable change with ClientData.
The observable notify/listen basic nuts and bolts.
virtual const void Notify()
Notify all listeners about variable change.