49 #ifndef _MIRA_SETTERNOTIFY_H_ 50 #define _MIRA_SETTERNOTIFY_H_ 62 void setterNotifyHelper(
const T& value, T* member, boost::function<
void ()> notifyFn)
88 boost::function<void(const T&)> fn =
89 boost::bind(&Private::setterNotifyHelper<T>, _1, &member, notifyFn);
107 template<
typename T,
typename Class>
110 boost::function<void ()> notifyFn = boost::bind( f, boost::ref(*obj));
128 template<
typename T,
typename Class>
129 Setter<T>
setterNotify(T& member,
void (Class::*f)()
const, Class* obj)
131 boost::function<void ()> notifyFn = boost::bind( f, boost::ref(*obj));
specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
Definition: IOService.h:67
Class object which supports some kind of class reflection.
Definition: Class.h:97
Holds a boost::function object to a special setter function that must meet the signature "void method...
Definition: GetterSetter.h:395
Setter< T > setterNotify(T &member, boost::function< void()> notifyFn)
Creates a setter that simply sets the value of the specified member to the given value AND calls a us...
Definition: SetterNotify.h:86
Provides definition for getters and setters that are used with the serialization framework.