VSTGUI 4.10
Graphical User Interface Framework not only for VST plugins
|
Value listener More...
#include <valuelistener.h>
Public Types | |
using | OnBeginEditFunc = void(*)(IValue &) |
using | OnEndEditFunc = void(*)(IValue &) |
using | OnStateChangeFunc = void(*)(IValue &) |
using | OnPerformEditFunc = void(*)(IValue &, IValue::Type) |
Public Member Functions | |
Listener (IValue &value) | |
![]() | |
ListenerBase (IValue &value) | |
~ListenerBase () noexcept override | |
IValue & | getValueObject () const |
virtual void | onBeginEdit (IValue &value)=0 |
Value begins editing. More... | |
virtual void | onPerformEdit (IValue &value, IValue::Type newValue)=0 |
Value performed an edit. More... | |
virtual void | onEndEdit (IValue &value)=0 |
Value ends editing. More... | |
virtual void | onStateChange (IValue &value)=0 |
Value changed some of its state. More... | |
![]() | |
virtual | ~Interface () noexcept |
Interface ()=default | |
Interface (const Interface &)=delete | |
Interface (Interface &&)=delete | |
Interface & | operator= (const Interface &)=delete |
Interface & | operator= (Interface &&)=delete |
template<typename T > | |
const auto | dynamicCast () const |
template<typename T > | |
auto | dynamicCast () |
Public Attributes | |
OnBeginEditFunc | onBeginEditFunc {nullptr} |
OnEndEditFunc | onEndEditFunc {nullptr} |
OnStateChangeFunc | onStateChangeFunc {nullptr} |
OnPerformEditFunc | onPerformEditFunc {nullptr} |
Value listener
using OnBeginEditFunc = void(*) (IValue&) |
using OnEndEditFunc = void(*) (IValue&) |
using OnPerformEditFunc = void(*) (IValue&, IValue::Type) |
using OnStateChangeFunc = void(*) (IValue&) |
OnBeginEditFunc onBeginEditFunc {nullptr} |
OnEndEditFunc onEndEditFunc {nullptr} |
OnPerformEditFunc onPerformEditFunc {nullptr} |
OnStateChangeFunc onStateChangeFunc {nullptr} |