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

Public Member Functions

 SimpleValueSource ()
 
 SimpleValueSource (const var &initialValue)
 
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

◆ SimpleValueSource() [1/2]

SimpleValueSource::SimpleValueSource ( )
inline

◆ SimpleValueSource() [2/2]

SimpleValueSource::SimpleValueSource ( const var initialValue)
inline

Member Function Documentation

◆ getValue()

var SimpleValueSource::getValue ( ) const
inlineoverridevirtual

Returns the current value of this object.

Implements Value::ValueSource.

◆ setValue()

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