LMMS
Loading...
Searching...
No Matches
juce::SimpleValueSource Class Reference
Inheritance diagram for juce::SimpleValueSource:
juce::Value::ValueSource juce::ReferenceCountedObject juce::AsyncUpdater

Public Member Functions

 SimpleValueSource ()
 SimpleValueSource (const var &initialValue)
var getValue () const override
void setValue (const var &newValue) override
Public Member Functions inherited from juce::Value::ValueSource
 ValueSource ()
 ~ValueSource () override
void sendChangeMessage (bool dispatchSynchronously)
Public Member Functions inherited from juce::ReferenceCountedObject
void incReferenceCount () noexcept
void decReferenceCount () noexcept
bool decReferenceCountWithoutDeleting () noexcept
int getReferenceCount () const noexcept

Private Attributes

var value

Additional Inherited Members

Protected Member Functions inherited from juce::ReferenceCountedObject
 ReferenceCountedObject ()=default
 ReferenceCountedObject (const ReferenceCountedObject &) noexcept
 ReferenceCountedObject (ReferenceCountedObject &&) noexcept
ReferenceCountedObjectoperator= (const ReferenceCountedObject &) noexcept
ReferenceCountedObjectoperator= (ReferenceCountedObject &&) noexcept
virtual ~ReferenceCountedObject ()
void resetReferenceCount () noexcept
Protected Attributes inherited from juce::Value::ValueSource
SortedSet< Value * > valuesWithListeners

Constructor & Destructor Documentation

◆ SimpleValueSource() [1/2]

juce::SimpleValueSource::SimpleValueSource ( )
inline

◆ SimpleValueSource() [2/2]

juce::SimpleValueSource::SimpleValueSource ( const var & initialValue)
inline

Member Function Documentation

◆ getValue()

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

Returns the current value of this object.

Implements juce::Value::ValueSource.

◆ setValue()

void juce::SimpleValueSource::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.

Member Data Documentation

◆ value

var juce::SimpleValueSource::value
private

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