JUCE-7.0.12-0-g4f43011b96 JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins

« « « Anklang Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | Static Public Member Functions | List of all members
Steinberg::Vst::HostAttributeList Class Referencefinal

Example, ready to use implementation of IAttributeList. More...

#include "hostclasses.h"

Inheritance diagram for Steinberg::Vst::HostAttributeList:
Steinberg::Vst::IAttributeList Steinberg::FUnknown

Classes

struct  Attribute
 

Public Member Functions

tresult PLUGIN_API setInt (AttrID aid, int64 value) override
 Sets integer value.
 
tresult PLUGIN_API getInt (AttrID aid, int64 &value) override
 Gets integer value.
 
tresult PLUGIN_API setFloat (AttrID aid, double value) override
 Sets float value.
 
tresult PLUGIN_API getFloat (AttrID aid, double &value) override
 Gets float value.
 
tresult PLUGIN_API setString (AttrID aid, const TChar *string) override
 Sets string value (UTF16) (must be null-terminated!).
 
tresult PLUGIN_API getString (AttrID aid, TChar *string, uint32 sizeInBytes) override
 Gets string value (UTF16).
 
tresult PLUGIN_API setBinary (AttrID aid, const void *data, uint32 sizeInBytes) override
 Sets binary data.
 
tresult PLUGIN_API getBinary (AttrID aid, const void *&data, uint32 &sizeInBytes) override
 Gets binary data.
 
- Public Member Functions inherited from Steinberg::FUnknown
virtual tresult PLUGIN_API queryInterface (const TUID _iid, void **obj)=0
 Query for a pointer to the specified interface.
 
virtual uint32 PLUGIN_API addRef ()=0
 Adds a reference and returns the new reference count.
 
virtual uint32 PLUGIN_API release ()=0
 Releases a reference and returns the new reference count.
 

Static Public Member Functions

static IPtr< IAttributeListmake ()
 make a new attribute list instance
 

Additional Inherited Members

- Public Types inherited from Steinberg::Vst::IAttributeList
typedef const charAttrID
 
- Static Public Attributes inherited from Steinberg::Vst::IAttributeList
static const FUID iid
 
- Static Public Attributes inherited from Steinberg::FUnknown
static const FUID iid
 

Detailed Description

Example, ready to use implementation of IAttributeList.

Definition at line 74 of file hostclasses.h.

Constructor & Destructor Documentation

◆ ~HostAttributeList()

Steinberg::Vst::HostAttributeList::~HostAttributeList ( )
virtualnoexcept

Definition at line 239 of file hostclasses.cpp.

Member Function Documentation

◆ getBinary()

tresult PLUGIN_API Steinberg::Vst::HostAttributeList::getBinary ( AttrID  id,
const void *&  data,
uint32 &  sizeInBytes 
)
overridevirtual

Gets binary data.

Implements Steinberg::Vst::IAttributeList.

Definition at line 327 of file hostclasses.cpp.

◆ getFloat()

tresult PLUGIN_API Steinberg::Vst::HostAttributeList::getFloat ( AttrID  id,
double value 
)
overridevirtual

Gets float value.

Implements Steinberg::Vst::IAttributeList.

Definition at line 277 of file hostclasses.cpp.

◆ getInt()

tresult PLUGIN_API Steinberg::Vst::HostAttributeList::getInt ( AttrID  id,
int64 &  value 
)
overridevirtual

Gets integer value.

Implements Steinberg::Vst::IAttributeList.

Definition at line 254 of file hostclasses.cpp.

◆ getString()

tresult PLUGIN_API Steinberg::Vst::HostAttributeList::getString ( AttrID  id,
TChar string,
uint32  sizeInBytes 
)
overridevirtual

Gets string value (UTF16).

Note that Size is in Byte, not the string Length! Do not forget to multiply the length by sizeof (TChar)!

Implements Steinberg::Vst::IAttributeList.

Definition at line 302 of file hostclasses.cpp.

◆ make()

IPtr< IAttributeList > Steinberg::Vst::HostAttributeList::make ( )
static

make a new attribute list instance

Definition at line 230 of file hostclasses.cpp.

◆ setBinary()

tresult PLUGIN_API Steinberg::Vst::HostAttributeList::setBinary ( AttrID  id,
const void *  data,
uint32  sizeInBytes 
)
overridevirtual

Sets binary data.

Implements Steinberg::Vst::IAttributeList.

Definition at line 318 of file hostclasses.cpp.

◆ setFloat()

tresult PLUGIN_API Steinberg::Vst::HostAttributeList::setFloat ( AttrID  id,
double  value 
)
overridevirtual

Sets float value.

Implements Steinberg::Vst::IAttributeList.

Definition at line 268 of file hostclasses.cpp.

◆ setInt()

tresult PLUGIN_API Steinberg::Vst::HostAttributeList::setInt ( AttrID  id,
int64  value 
)
overridevirtual

Sets integer value.

Implements Steinberg::Vst::IAttributeList.

Definition at line 245 of file hostclasses.cpp.

◆ setString()

tresult PLUGIN_API Steinberg::Vst::HostAttributeList::setString ( AttrID  id,
const TChar string 
)
overridevirtual

Sets string value (UTF16) (must be null-terminated!).

Implements Steinberg::Vst::IAttributeList.

Definition at line 291 of file hostclasses.cpp.


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