|
Event-Driven Programming in C++ 1.0
A case study on event-driven programming in C++
|
Declaration of the Subject class for the Observer pattern. More...
Go to the source code of this file.
Classes | |
| class | observer::Subject |
| The Subject class manages a list of observers and notifies them of events. More... | |
Namespaces | |
| namespace | observer |
| Implements the Observer design pattern for event notifications. | |
Declaration of the Subject class for the Observer pattern.
This file declares the Subject class, which maintains a list of observers and notifies them about events. Observers can be added or removed dynamically.