Audacity 3.2.0
|
Carry output control port information back to main thread. More...
#include <LV2Ports.h>
Public Member Functions | |
~LV2EffectOutputs () override | |
std::unique_ptr< EffectOutputs > | Clone () const override |
void | Assign (EffectOutputs &&src) override |
Update one Outputs object from another. More... | |
Public Member Functions inherited from EffectOutputs | |
virtual | ~EffectOutputs () |
virtual std::unique_ptr< EffectOutputs > | Clone () const =0 |
virtual void | Assign (EffectOutputs &&src)=0 |
Update one Outputs object from another. More... | |
Public Attributes | |
std::vector< float > | values |
vector of values in correspondence with the control ports More... | |
Carry output control port information back to main thread.
Definition at line 228 of file LV2Ports.h.
|
overridedefault |
|
overridevirtual |
Update one Outputs object from another.
This may run in a worker thread, and should avoid allocating and freeing. Even on the main thread, it must avoid relocation of members of containers. Therefore do not grow or clear any containers, but assign the preallocated contents of one container from another.
src | settings to copy from; assume it comes from the same EffectSettingsManager as *this |
Implements EffectOutputs.
Definition at line 144 of file LV2Ports.cpp.
References staffpad::vo::copy(), and values.
|
overridevirtual |
Implements EffectOutputs.
Definition at line 139 of file LV2Ports.cpp.
std::vector<float> LV2EffectOutputs::values |
vector of values in correspondence with the control ports
Definition at line 233 of file LV2Ports.h.
Referenced by Assign(), and LV2Editor::BuildPlain().