StoneyVCV v2
StoneyDSP Modules for VCV Rack 2.
Loading...
Searching...
No Matches
plugin.hpp
Go to the documentation of this file.
1
31#pragma once
32
33#define STONEYVCV_PLUGIN_HPP_INCLUDED 1
34
35#if defined (STONEYVCV_BUILD_PLUGIN)
36
37//==============================================================================
38
39#include <StoneyVCV.hpp>
40#include <StoneyVCV/version.hpp>
41
42//==============================================================================
43
44#include <rack.hpp>
45#include <StoneyDSP/Core.hpp>
46
47//==============================================================================
48
49namespace StoneyDSP
50{
55//==============================================================================
56
57namespace StoneyVCV
58{
63//==============================================================================
64
72namespace Plugin
73{
78//==============================================================================
79
83extern ::rack::plugin::Plugin* pluginInstance;
84
85//==============================================================================
86
88} // namespace Plugin
89
90//==============================================================================
91
92#if defined (STONEYVCV_BUILD_MODULES)
93
94// Declare each Model, defined in each module source file
95
96#if defined (STONEYVCV_BUILD_VCA)
97 namespace VCA {
105 extern ::rack::plugin::Model* modelVCA;
106
108 } // namespace VCA
109#endif // STONEYVCV_BUILD_VCA
110
111#if defined (STONEYVCV_BUILD_HP4)
112 namespace HP4 {
120 extern ::rack::plugin::Model* modelHP4;
121
122
124 } // namespace HP4
125#endif // STONEYVCV_BUILD_HP4
126
127#if defined (STONEYVCV_BUILD_HP2)
128 namespace HP2 {
136 extern ::rack::plugin::Model* modelHP2;
137
139 } // namespace HP1
140#endif // STONEYVCV_BUILD_HP2
141
142#if defined (STONEYVCV_BUILD_HP1)
143 namespace HP1 {
151 extern ::rack::plugin::Model* modelHP1;
152
154 } // namespace HP1
155#endif // STONEYVCV_BUILD_HP1
156
157#if (STONEYVCV_VERSION_MAJOR >= 2U) && (STONEYVCV_VERSION_MINOR >= 0U) && (STONEYVCV_VERSION_PATCH < 1U)
158 #warning "No modules found..."
159#endif
160
161#if defined (STONEYVCV_EXPERIMENTAL)
162
163 // EXPERIMENTAL MODULES HERE...
164
165 #if defined (STONEYVCV_BUILD_LFO)
166 namespace LFO {
174 extern ::rack::plugin::Model* modelLFO;
175
177 } // namespace LFO
178 #endif // STONEYVCV_BUILD_LFO
179
180#endif // STONEYVCV_EXPERIMENTAL
181
182#endif // STONEYVCV_BUILD_MODULES
183
184//==============================================================================
185
187} // namespace StoneyVCV
188
189//==============================================================================
190
192} // namespace StoneyDSP
193
194//==============================================================================
195
196#endif // STONEYVCV_BUILD_PLUGIN
197
198//==============================================================================
StoneyDSP Modules for VCV Rack 2.
extern::rack::plugin::Model * modelHP1
Declaration of the HP1 Model instance, defined in HP1.cpp.
Definition plugin.hpp:151
extern::rack::plugin::Model * modelHP2
Declaration of the HP2 Model instance, defined in HP2.cpp.
Definition plugin.hpp:136
extern::rack::plugin::Model * modelHP4
Declaration of the HP4 Model instance, defined in HP4.cpp.
Definition plugin.hpp:120
extern::rack::plugin::Model * modelLFO
Declaration of the LFO Model instance, defined in LFO.cpp.
Definition plugin.hpp:174
extern::rack::plugin::Plugin * pluginInstance
Declare the Plugin instance, defined in plugin.cpp
Definition plugin.hpp:83
extern::rack::plugin::Model * modelVCA
Declaration of the VCA Model instance, defined in VCA.cpp.
Definition plugin.hpp:105
The StoneyDSP namespace.
Definition StoneyVCV.hpp:78
StoneyDSP Modules for VCV Rack 2.