Functor class to update observers with a for_each, only intended for internal use. More...
#include <observer.hh>
Public Member Functions | |
void | operator() (observer< observed_subject > *o) |
Subscript operator to update an observer. | |
update_observer (observed_subject *who) | |
Ctor. | |
Private Member Functions | |
update_observer () | |
Private Attributes | |
observed_subject * | who_m |
Functor class to update observers with a for_each, only intended for internal use.
Definition at line 56 of file observer.hh.
mets::update_observer< observed_subject >::update_observer | ( | observed_subject * | who | ) | [inline] |
Ctor.
Definition at line 60 of file observer.hh.
mets::update_observer< observed_subject >::update_observer | ( | ) | [private] |
void mets::update_observer< observed_subject >::operator() | ( | observer< observed_subject > * | o | ) | [inline] |
Subscript operator to update an observer.
Definition at line 63 of file observer.hh.
observed_subject* mets::update_observer< observed_subject >::who_m [private] |
Definition at line 66 of file observer.hh.