openshot-audio  0.1.7
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ChoicePropertyComponent::RemapperValueSource Class Reference
Inheritance diagram for ChoicePropertyComponent::RemapperValueSource:
Value::Listener

Public Member Functions

 RemapperValueSource (const Value &source, const Array< var > &map)
 
var getValue () const
 
void setValue (const var &newValue)
 

Protected Member Functions

void valueChanged (Value &)
 

Protected Attributes

Value sourceValue
 
Array< varmappings
 

Constructor & Destructor Documentation

ChoicePropertyComponent::RemapperValueSource::RemapperValueSource ( const Value source,
const Array< var > &  map 
)
inline

Member Function Documentation

var ChoicePropertyComponent::RemapperValueSource::getValue ( ) const
inline
void ChoicePropertyComponent::RemapperValueSource::setValue ( const var newValue)
inline
void ChoicePropertyComponent::RemapperValueSource::valueChanged ( Value value)
inlineprotectedvirtual

Called when a Value object is changed.

Note that the Value object passed as a parameter may not be exactly the same object that you registered the listener with - it might be a copy that refers to the same underlying ValueSource. To find out, you can call Value::refersToSameSourceAs().

Implements Value::Listener.

Member Data Documentation

Array<var> ChoicePropertyComponent::RemapperValueSource::mappings
protected
Value ChoicePropertyComponent::RemapperValueSource::sourceValue
protected

The documentation for this class was generated from the following file: