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... | |
| T | get () const |
| Return the current value of the property. More... | |
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.
| void attachToValue | ( | const juce::Value & | value | ) |
Let the attachment refer to the value.
| T get | ( | ) | const |
Return the current value of the property.