|
VolViz
A volume visualization tool
|
#include <AtomicWrapper.h>
Inheritance diagram for VolViz::SetAndNotifyPolicy< T >:
Collaboration diagram for VolViz::SetAndNotifyPolicy< T >:Public Attributes | |
| std::function< void(T const &)> | beforeAction |
| std::function< void(T const &)> | afterAction |
Protected Member Functions | |
| template<class Arg > | |
| void | set (T &dest, Arg &&src) const noexcept |
Protected Member Functions inherited from VolViz::DefaultSetPolicy< T > | |
| void | set (T &dest, T const &src) const noexcept |
| void | set (T &dest, T &&src) const noexcept |
Notification set policy for AtomicWrapper If beforeAction is set, it is called right before the set operation. If afterAction is set, it is called right after the set operation
|
inlineprotectednoexcept |
| std::function<void(T const &)> VolViz::SetAndNotifyPolicy< T >::afterAction |
Action (or notification) that's called right after the set operation. The function is called with the new value as a parameter.
| std::function<void(T const &)> VolViz::SetAndNotifyPolicy< T >::beforeAction |
action (or notification) that's called right before the set operation. The function is called with the value to be set as a parameter.
1.8.6