OpenShot Library | OpenShotAudio 0.2.2
juce::ValueTreePropertyValueSource Struct Reference
+ Inheritance diagram for juce::ValueTreePropertyValueSource:

Public Member Functions

 ValueTreePropertyValueSource (const ValueTree &vt, const Identifier &prop, UndoManager *um, bool sync)
 
var getValue () const override
 Returns the current value of this object. More...
 
void setValue (const var &newValue) override
 Changes the current value. More...
 
- Public Member Functions inherited from juce::Value::ValueSource
virtual var getValue () const =0
 Returns the current value of this object. More...
 
virtual void setValue (const var &newValue)=0
 Changes the current value. More...
 
void sendChangeMessage (bool dispatchSynchronously)
 Delivers a change message to all the listeners that are registered with this value. More...
 
- Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
 Increments the object's reference count. More...
 
void decReferenceCount () noexcept
 Decreases the object's reference count. More...
 
bool decReferenceCountWithoutDeleting () noexcept
 Decreases the object's reference count. More...
 
int getReferenceCount () const noexcept
 Returns the object's current reference count. More...
 

Additional Inherited Members

- Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()=default
 Creates the reference-counted object (with an initial ref count of zero).
 
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
 Copying from another object does not affect this one's reference-count. More...
 
virtual ~ReferenceCountedObject ()
 Destructor. More...
 
void resetReferenceCount () noexcept
 Resets the reference count to zero without deleting the object. More...
 
- Protected Attributes inherited from juce::Value::ValueSource
SortedSet< Value * > valuesWithListeners
 

Detailed Description

Definition at line 809 of file juce_ValueTree.cpp.

Constructor & Destructor Documentation

◆ ValueTreePropertyValueSource()

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

Definition at line 812 of file juce_ValueTree.cpp.

◆ ~ValueTreePropertyValueSource()

juce::ValueTreePropertyValueSource::~ValueTreePropertyValueSource ( )
inlineoverride

Definition at line 818 of file juce_ValueTree.cpp.

Member Function Documentation

◆ getValue()

var juce::ValueTreePropertyValueSource::getValue ( ) const
inlineoverridevirtual

Returns the current value of this object.

Implements juce::Value::ValueSource.

Definition at line 823 of file juce_ValueTree.cpp.

◆ setValue()

void juce::ValueTreePropertyValueSource::setValue ( const var newValue)
inlineoverridevirtual

Changes the current value.

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

Implements juce::Value::ValueSource.

Definition at line 824 of file juce_ValueTree.cpp.

References juce::ValueTree::setProperty().


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