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
ivstmessage.h
Go to the documentation of this file.
1 //------------------------------------------------------------------------
2// Project : VST SDK
3//
4// Category : Interfaces
5// Filename : pluginterfaces/vst/ivstmessage.h
6// Created by : Steinberg, 04/2005
7// Description : VST Message 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
20
21//------------------------------------------------------------------------
23//------------------------------------------------------------------------
24
25//------------------------------------------------------------------------
26namespace Steinberg {
27namespace Vst {
28
29//------------------------------------------------------------------------
40class IMessage : public FUnknown
41{
42public:
43//------------------------------------------------------------------------
45 virtual FIDString PLUGIN_API getMessageID () = 0;
46
48 virtual void PLUGIN_API setMessageID (FIDString id /*in*/) = 0;
49
51 virtual IAttributeList* PLUGIN_API getAttributes () = 0;
52
53//------------------------------------------------------------------------
54 static const FUID iid;
55};
56
57DECLARE_CLASS_IID (IMessage, 0x936F033B, 0xC6C047DB, 0xBB0882F8, 0x13C1E613)
58
59//------------------------------------------------------------------------
73{
74public:
75//------------------------------------------------------------------------
77 virtual tresult PLUGIN_API connect (IConnectionPoint* other) = 0;
78
80 virtual tresult PLUGIN_API disconnect (IConnectionPoint* other) = 0;
81
83 virtual tresult PLUGIN_API notify (IMessage* message) = 0;
84
85//------------------------------------------------------------------------
86 static const FUID iid;
87};
88
89DECLARE_CLASS_IID (IConnectionPoint, 0x70A4156F, 0x6E6E4026, 0x989148BF, 0xAA60D8D1)
90
91//------------------------------------------------------------------------
92} // namespace Vst
93} // namespace Steinberg
94
95//------------------------------------------------------------------------
97//------------------------------------------------------------------------
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.
Connect a component with another one: Vst::IConnectionPoint.
Definition ivstmessage.h:73
virtual tresult PLUGIN_API notify(IMessage *message)=0
Called when a message has been sent from the connection point to this.
virtual tresult PLUGIN_API disconnect(IConnectionPoint *other)=0
Disconnects a given connection point from this.
virtual tresult PLUGIN_API connect(IConnectionPoint *other)=0
Connects this instance with another connection point.
Private plug-in message: Vst::IMessage.
Definition ivstmessage.h:41
virtual IAttributeList *PLUGIN_API getAttributes()=0
Returns the attribute list associated to the message.
virtual void PLUGIN_API setMessageID(FIDString id)=0
Sets a message ID (for example "TextMessage").
virtual FIDString PLUGIN_API getMessageID()=0
Returns the message ID (for example "TextMessage").