|
Event-Driven Programming in C++ 1.0
A case study on event-driven programming in C++
|
A concrete implementation of the IObserver interface. More...
Public Member Functions | |
| void | onNotify (const std::string &message) override |
| Handles the notification from the Subject. | |
Public Member Functions inherited from observer::IObserver | |
| virtual | ~IObserver ()=default |
| Virtual destructor. | |
A concrete implementation of the IObserver interface.
The ConcreteObserver class implements the onNotify() method to handle event notifications by printing the received message to the standard output.
|
inlineoverridevirtual |
Handles the notification from the Subject.
| message | A string containing details about the event. |
Implements observer::IObserver.