That class receives a message (call back/handler function) after each modification of a Graph.
More...
That class receives a message (call back/handler function) after each modification of a Graph.
To receive a notification from an ObservableGraph, the GraphObserver must first be connected to the ObservableGraph. This is done by calling ObservableGraph::addGraphObserver.
Depending on which messages you want to receive, you need to override different functions of GraphObserver.
If manageObservables is set to true, the GraphObserver will automatically unregister from an ObservableGraph when deleted. (ie, unregistering is done automatically)
The Observer pattern is described pp293-304 of the book 'Design Patterns' by Gamma, Helm, Johnson, and Vlissides.