MIRA
Namespaces | Functions
SetterNotify.h File Reference

Provides a special setter, that simply sets the value of the member to the given value AND calls a user defined notification method afterwards. More...

#include <serialization/GetterSetter.h>
Include dependency graph for SetterNotify.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mira
 specialize cv::DataType for our ImgPixel and inherit from cv::DataType<Vec>
 

Functions

template<typename T >
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 user defined notification method afterwards. More...
 
template<typename T , typename Class >
Setter< T > setterNotify (T &member, void(Class::*f)(), Class *obj)
 Creates a setter that simply sets the value of the specified member to the given value AND calls a user defined notification method afterwards. More...
 

Detailed Description

Provides a special setter, that simply sets the value of the member to the given value AND calls a user defined notification method afterwards.

Author
Erik Einhorn
Date
2012/05/08