12 #ifndef OBSPATTERN_SUB_H_
13 #define OBSPATTERN_SUB_H_
51 void notify ( std::vector<std::string> & message );
virtual void detach(Observer *obs)
function to detach, unregister, not used
Subject & operator=(const Subject &)
virtual void attach(Observer *obs)
function for subject to register
Subject()
constructor is protected
Receive notification from the python update.
void notify()
notify a message to all registered observer
std::vector< Observer * > vec_observer
vector of registered observer