Audacity 3.2.0
Public Member Functions | Public Attributes | Private Attributes | List of all members
anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges Class Referencefinal
Inheritance diagram for anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges:
[legend]
Collaboration diagram for anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges:
[legend]

Public Member Functions

 InputParameterChanges (const std::vector< std::pair< Steinberg::Vst::ParamID, Steinberg::Vst::ParamValue > > &values, SingleInputParameterValue *queues)
 
 ~InputParameterChanges ()
 
Steinberg::Vst::IParamValueQueue *PLUGIN_API addParameterData (const Steinberg::Vst::ParamID &id, Steinberg::int32 &index) override
 
Steinberg::int32 PLUGIN_API getParameterCount () override
 
Steinberg::Vst::IParamValueQueue *PLUGIN_API getParameterData (Steinberg::int32 index) override
 

Public Attributes

 DECLARE_FUNKNOWN_METHODS
 

Private Attributes

const Steinberg::int32 mParameterCount
 
SingleInputParameterValue *const mParameterQueues
 

Detailed Description

Definition at line 202 of file VST3Wrapper.cpp.

Constructor & Destructor Documentation

◆ InputParameterChanges()

anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges::InputParameterChanges ( const std::vector< std::pair< Steinberg::Vst::ParamID, Steinberg::Vst::ParamValue > > &  values,
SingleInputParameterValue queues 
)
inline

Definition at line 208 of file VST3Wrapper.cpp.

209 : mParameterQueues(queues), mParameterCount(values.size())
210 {
211 FUNKNOWN_CTOR
212
213 int queueIndex{0};
214 for(auto& p : values)
215 queues[queueIndex++].Set(p.first, p.second);
216 }
const wxChar * values
void Set(Steinberg::Vst::ParamID id, const Steinberg::Vst::ParamValue value)

References SingleInputParameterValue::Set(), and values.

Here is the call graph for this function:

◆ ~InputParameterChanges()

anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges::~InputParameterChanges ( )
inline

Definition at line 218 of file VST3Wrapper.cpp.

219 {
220 FUNKNOWN_DTOR;
221 }

Member Function Documentation

◆ addParameterData()

Steinberg::Vst::IParamValueQueue *PLUGIN_API anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges::addParameterData ( const Steinberg::Vst::ParamID &  id,
Steinberg::int32 &  index 
)
inlineoverride

Definition at line 224 of file VST3Wrapper.cpp.

225 {
226 return nullptr;
227 }

◆ getParameterCount()

Steinberg::int32 PLUGIN_API anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges::getParameterCount ( )
inlineoverride

Definition at line 229 of file VST3Wrapper.cpp.

230 {
231 return mParameterCount;
232 }

◆ getParameterData()

Steinberg::Vst::IParamValueQueue *PLUGIN_API anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges::getParameterData ( Steinberg::int32  index)
inlineoverride

Definition at line 233 of file VST3Wrapper.cpp.

234 {
235 return &mParameterQueues[index];
236 }

Member Data Documentation

◆ DECLARE_FUNKNOWN_METHODS

anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges::DECLARE_FUNKNOWN_METHODS

Definition at line 238 of file VST3Wrapper.cpp.

◆ mParameterCount

const Steinberg::int32 anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges::mParameterCount
private

Definition at line 204 of file VST3Wrapper.cpp.

◆ mParameterQueues

SingleInputParameterValue* const anonymous_namespace{VST3Wrapper.cpp}::InputParameterChanges::mParameterQueues
private

Definition at line 205 of file VST3Wrapper.cpp.


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