foleys_gui_magic
WYSWYG editor for JUCE GUIs including Visualisers
Public Member Functions | List of all members
AtomicValueAttachment< T > Class Template Reference

The AtomicValueAttachment allows to read from a Value in a thread safe manner. More...

Inherits Listener.

Public Member Functions

 AtomicValueAttachment ()
 
void attachToValue (const juce::Value &value)
 Let the attachment refer to the value. More...
 
get () const
 Return the current value of the property. More...
 

Detailed Description

template<typename T>
class foleys::AtomicValueAttachment< T >

The AtomicValueAttachment allows to read from a Value in a thread safe manner.

You attach to a Value and call get() to read the current value.

Constructor & Destructor Documentation

◆ AtomicValueAttachment()

Member Function Documentation

◆ attachToValue()

void attachToValue ( const juce::Value &  value)

Let the attachment refer to the value.

◆ get()

T get ( ) const

Return the current value of the property.


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