11 #ifndef A_OBSERVABLE_H_
12 # define A_OBSERVABLE_H_
16 # include "GA/a_observer.h"
47 std::list<AObserver *>
_obs;
53 void Notify(AObserver::States state);
Define the abstract class that allow to be observable.
Definition: a_observable.h:28
Contains the objects that define the GAEngine.
void Notify(AObserver::States state)
Notify to the observers that something has changed.
Definition: a_observable.cc:34
virtual ~AObservable(void)
Destructor.
Definition: a_observable.cc:15
void delObserver(AObserver *obs)
Delete an observer.
Definition: a_observable.cc:24
Define the abstract class that allow to be an observer.
Definition: a_observer.h:20
void addObserver(AObserver *obs)
Add a new observer to the list.
Definition: a_observable.cc:19
std::list< AObserver * > _obs
Definition: a_observable.h:47