Design Patterns in C++: Observer

The Observer Pattern is one of the heavily used ones and well, the name says it : It’s purpose is to observe other classes for any updates. To be a bit more exact: you register the Observer classes at the Subject class and when the Subject changes, then all Observers get notified. So, to be…
Weiterlesen