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
ivstattributes.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------
2// Project : VST SDK
3//
4// Category : Interfaces
5// Filename : pluginterfaces/vst/ivstattributes.h
6// Created by : Steinberg, 05/2006
7// Description : VST Attribute Interfaces
8//
9//-----------------------------------------------------------------------------
10// This file is part of a Steinberg SDK. It is subject to the license terms
11// in the LICENSE file found in the top-level directory of this distribution
12// and at www.steinberg.net/sdklicenses.
13// No part of the SDK, including this file, may be copied, modified, propagated,
14// or distributed except according to the terms contained in the LICENSE file.
15//-----------------------------------------------------------------------------
16
17#pragma once
18
21
22//------------------------------------------------------------------------
24//------------------------------------------------------------------------
25
26//------------------------------------------------------------------------
27namespace Steinberg {
28namespace Vst {
29
30//------------------------------------------------------------------------
41{
42public:
43//------------------------------------------------------------------------
44 typedef const char* AttrID;
45
47 virtual tresult PLUGIN_API setInt (AttrID id, int64 value) = 0;
48
50 virtual tresult PLUGIN_API getInt (AttrID id, int64& value) = 0;
51
53 virtual tresult PLUGIN_API setFloat (AttrID id, double value) = 0;
54
56 virtual tresult PLUGIN_API getFloat (AttrID id, double& value) = 0;
57
59 virtual tresult PLUGIN_API setString (AttrID id, const TChar* string) = 0;
60
63 virtual tresult PLUGIN_API getString (AttrID id, TChar* string, uint32 sizeInBytes) = 0;
64
66 virtual tresult PLUGIN_API setBinary (AttrID id, const void* data, uint32 sizeInBytes) = 0;
67
69 virtual tresult PLUGIN_API getBinary (AttrID id, const void*& data, uint32& sizeInBytes) = 0;
70//------------------------------------------------------------------------
71 static const FUID iid;
72};
73
74DECLARE_CLASS_IID (IAttributeList, 0x1E5F0AEB, 0xCC7F4533, 0xA2544011, 0x38AD5EE4)
75
76//------------------------------------------------------------------------
130{
131public:
132 //------------------------------------------------------------------------
134 virtual tresult PLUGIN_API getFileName (String128 name) = 0;
135
137 virtual IAttributeList* PLUGIN_API getAttributes () = 0;
138 //------------------------------------------------------------------------
139 static const FUID iid;
140};
141
142DECLARE_CLASS_IID (IStreamAttributes, 0xD6CE2FFC, 0xEFAF4B8C, 0x9E74F1BB, 0x12DA44B4)
143
144//------------------------------------------------------------------------
145} // namespace Vst
146} // namespace Steinberg
147
148//------------------------------------------------------------------------
150//------------------------------------------------------------------------
Handling 16 Byte Globally Unique Identifiers.
Definition funknown.h:241
The basic interface of all interfaces.
Definition funknown.h:375
Attribute list used in IMessage and IStreamAttributes: Vst::IAttributeList.
virtual tresult PLUGIN_API setInt(AttrID id, int64 value)=0
Sets integer value.
virtual tresult PLUGIN_API getBinary(AttrID id, const void *&data, uint32 &sizeInBytes)=0
Gets binary data.
virtual tresult PLUGIN_API getInt(AttrID id, int64 &value)=0
Gets integer value.
virtual tresult PLUGIN_API setFloat(AttrID id, double value)=0
Sets float value.
virtual tresult PLUGIN_API setString(AttrID id, const TChar *string)=0
Sets string value (UTF16) (must be null-terminated!).
virtual tresult PLUGIN_API setBinary(AttrID id, const void *data, uint32 sizeInBytes)=0
Sets binary data.
virtual tresult PLUGIN_API getFloat(AttrID id, double &value)=0
Gets float value.
virtual tresult PLUGIN_API getString(AttrID id, TChar *string, uint32 sizeInBytes)=0
Gets string value (UTF16).
Meta attributes of a stream: Vst::IStreamAttributes.
virtual tresult PLUGIN_API getFileName(String128 name)=0
Gets filename (without file extension) of the stream.
virtual IAttributeList *PLUGIN_API getAttributes()=0
Gets meta information list.
TChar String128[128]
128 character UTF-16 string
Definition vsttypes.h:69
char16 TChar
UTF-16 character.
Definition vsttypes.h:68