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 172 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 178 of file VST3Wrapper.cpp.

179 : mParameterQueues(queues), mParameterCount(values.size())
180 {
181 FUNKNOWN_CTOR
182
183 int queueIndex{0};
184 for(auto& p : values)
185 queues[queueIndex++].Set(p.first, p.second);
186 }
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 188 of file VST3Wrapper.cpp.

189 {
190 FUNKNOWN_DTOR;
191 }

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 194 of file VST3Wrapper.cpp.

195 {
196 return nullptr;
197 }

◆ getParameterCount()

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

Definition at line 199 of file VST3Wrapper.cpp.

200 {
201 return mParameterCount;
202 }

◆ getParameterData()

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

Definition at line 203 of file VST3Wrapper.cpp.

204 {
205 return &mParameterQueues[index];
206 }

Member Data Documentation

◆ DECLARE_FUNKNOWN_METHODS

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

Definition at line 208 of file VST3Wrapper.cpp.

◆ mParameterCount

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

Definition at line 174 of file VST3Wrapper.cpp.

◆ mParameterQueues

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

Definition at line 175 of file VST3Wrapper.cpp.


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