openshot-audio  0.1.2
Public Member Functions | List of all members
ValueTreePropertyValueSource Class Reference
Inheritance diagram for ValueTreePropertyValueSource:
Value::ValueSource ValueTree::Listener ReferenceCountedObject AsyncUpdater

Public Member Functions

 ValueTreePropertyValueSource (const ValueTree &vt, const Identifier &prop, UndoManager *um)
 
 ~ValueTreePropertyValueSource ()
 
var getValue () const override
 
void setValue (const var &newValue) override
 
- Public Member Functions inherited from Value::ValueSource
 ValueSource ()
 
virtual ~ValueSource ()
 
void sendChangeMessage (bool dispatchSynchronously)
 
- Public Member Functions inherited from ReferenceCountedObject
void incReferenceCount () noexcept
 
void decReferenceCount () noexcept
 
bool decReferenceCountWithoutDeleting () noexcept
 
int getReferenceCount () const noexcept
 

Additional Inherited Members

- Protected Member Functions inherited from ReferenceCountedObject
 ReferenceCountedObject ()
 
virtual ~ReferenceCountedObject ()
 
void resetReferenceCount () noexcept
 
- Protected Attributes inherited from Value::ValueSource
SortedSet< Value * > valuesWithListeners
 

Constructor & Destructor Documentation

◆ ValueTreePropertyValueSource()

ValueTreePropertyValueSource::ValueTreePropertyValueSource ( const ValueTree vt,
const Identifier prop,
UndoManager um 
)
inline

◆ ~ValueTreePropertyValueSource()

ValueTreePropertyValueSource::~ValueTreePropertyValueSource ( )
inline

Member Function Documentation

◆ getValue()

var ValueTreePropertyValueSource::getValue ( ) const
inlineoverridevirtual

Returns the current value of this object.

Implements Value::ValueSource.

◆ setValue()

void ValueTreePropertyValueSource::setValue ( const var newValue)
inlineoverridevirtual

Changes the current value. This must also trigger a change message if the value actually changes.

Implements Value::ValueSource.


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