Binding to object properties in C++ -


i've seen in wpf can bind control values properties of other controls. how binding accomplished in c++?

for example, if have class called car , guage control called rpm, how tie value of rpm member variable car.rpm, when car.rpm changes, automatically (as in without specific update call coded me) reflected rpm control?

general answers or directions pertinent resources fine also, i'm beginning dabble in c++ , haven't had google luck particular question.

edit: see comments further clarification.

it sounds want have pointer value car.rpm in gauge control. control never updated want to.

in pure c++ sounds work observer-observable pattern, or simple callback function.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -