VISH
0.2
|
Base class for objects providing an input of any kind. More...
#include </home/werner/origo/vish/ocean/plankton/VInput.hpp>
Base class for objects providing an input of any kind.
It extends the ValueNotifier class by a reference to a VParameter base class.
Wizt::VInputBase::VInputBase | ( | const WeakPtr< VParameter > & | owner | ) |
Construct a new input base type.
The creation preferences of the owner might influence the properties of this input, for instance if the "local" property is found in the creation preferences of the owner, then a context-local variable is created.
bool Wizt::VInputBase::activateNotification | ( | ) | const |
Allow the owner of this InputBase to retrieve notification events when the value is changed.
void Wizt::VInputBase::notify | ( | const ValueNotifierList * | Source, |
const Wizt::ValuePoolPtr & | Ctx | ||
) | const |
Emit a notification event to all ValueNotifiers listening on the certain variable.
Source | The notification event is only broadcasted if the owner is not the source of the event. |