//Public methods
void addObserver(Observer *observer);
- bool hasChanged();
-
- void notifyObservers(int idController=-1,int command=REPAINT);
-
- void setChanged();
+ void notifyObservers(int idCaller,int command=REPAINT);
private:
- //Private Attributes
- bool _changed;
-
+ //Private Attributes
std::vector<Observer*> _observers;
//Private Methods