34 std::set<const IObserver*> observers;
Interface for Observer.
Definition: IObserver.h:10
Interface for Publisher.
Definition: IPublisher.h:13
void removeObserver(const IObserver *o)
removes an observer in the simulation
void addObserver(const IObserver *o)
adds an observer to the simulation
void notifyObservers(const std::string &message) const
notifies all observers with a specific message