VISH
0.2
|
Base class for objects which are informed when a value is changed. More...
#include </home/werner/origo/vish/ocean/plankton/ValueNotifier.hpp>
Base class for objects which are informed when a value is changed.
Classes derived from this base class are allowed to listen to a certain value.
virtual void Wizt::ValueNotifier::valueChanged | ( | const RefPtr< VValueBase > & | value, |
const ValuePoolPtr & | , | ||
const ValueNotifierList * | DoNotBroadcast, | ||
const ValueMap * | VP = 0 |
||
) | [pure virtual] |
Virtual callback function that is invoked when the referred value is modified.
value | The new value. |
DoNotBroadcast | Do not broadcast notification events to this list, but still allow to retrieve the event. |
This function is called whenever an instance of a common parameter has been changed. Implementations of this function are supposed to set local variables according to the given value, and to touch() itself in case the new value has changed something significantly.
Implemented in Wizt::VTask.