#include <Parameter.h>


Public Types | |
| typedef void(C::* | method_type )(const T &) |
Public Member Functions | |
| ParameterObserver (C *m, void(C::*f)(const T &), DAQpp::Par< T > *p=0) | |
| void | set_par (DAQpp::Par< T > *p) |
| const C * | get_module () const |
| void | update (Observable *o, Argument *arg) |
| virtual function to connect to an Observable | |
Private Attributes | |
| C * | module |
| void(C::* | func )(const T &) |
| DAQpp::Par< T > * | par |
The class is an observer of a given parameter that will call a given method of your class when the parameter changed. That method should only accept one argument, which is the new value of the Parameter.
1.5.5