12 # define A_OBSERVER_H_
23 enum class States { NONE, QUIT, REPORT };
29 unsigned int id(
void)
const;
53 static unsigned int _iterator;
unsigned int id(void) const
Return the ID of the observer.
Definition: a_observer.cc:23
States _state
Definition: a_observer.h:43
States const & getState(void) const
Return the state of the observer.
Definition: a_observer.cc:28
Contains the objects that define the GAEngine.
void setId(void)
Set the ID of the observer.
Definition: a_observer.cc:17
void Update(States state)
Update the observer.
Definition: a_observer.cc:33
Define the abstract class that allow to be an observer.
Definition: a_observer.h:20