Observer

Define a one-to-many dependency between objects where a state change in one object results in all its dependents being notified and updated automatically.

Examples in C++
No examples yet.
You can see if there are examples in other languages or
be the first to post an example in C++!