StoneyVCV v2
StoneyDSP Modules for VCV Rack 2.
Loading...
Searching...
No Matches
StoneyVCV.hpp File Reference

StoneyDSP Modules for VCV Rack 2. More...

#include <rack.hpp>
#include <StoneyDSP/Core.hpp>
Include dependency graph for StoneyVCV.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  StoneyDSP::StoneyVCV::Engine< T >
 

Namespaces

namespace  StoneyDSP
 The StoneyDSP namespace.
 
namespace  StoneyDSP::StoneyVCV
 The StoneyVCV namespace.
 
namespace  StoneyDSP::StoneyVCV::Tools
 

Macros

#define STONEYVCV_HPP_INCLUDED   1
 
#define DBG(msg, ...)   ::StoneyDSP::ignoreUnused(msg, ##__VA_ARGS__)
 
#define assert_message(condition, message)   ::StoneyDSP::ignoreUnused(condition, message)
 
#define STONEYVCV_DECLARE_WIDGET_FACTORY_FUNCTIONS(ClassName)
 Add this definition to a class or struct's declaration body to make it compatible with the StoneyVCV createWidget factory methods.
 

Functions

template<class TWidget = ::rack::widget::Widget>
TWidgetStoneyDSP::StoneyVCV::createWidget (::rack::math::Vec pos)
 Creates a Widget subclass with its top-left at a position.
 
template::rack::widget::Widget * StoneyDSP::StoneyVCV::::StoneyDSP::StoneyVCV::createWidget<::rack::widget::Widget > (::rack::math::Vec pos)
 
template<class TWidget = ::rack::widget::Widget>
TWidgetStoneyDSP::StoneyVCV::createWidgetCentered (::rack::math::Vec pos)
 Creates a Widget subclass with its center at a position.
 
template::rack::widget::Widget * StoneyDSP::StoneyVCV::::StoneyDSP::StoneyVCV::createWidgetCentered<::rack::widget::Widget > (::rack::math::Vec pos)
 
template<class TWidget = ::rack::widget::Widget>
TWidgetStoneyDSP::StoneyVCV::createWidgetSized (::rack::math::Vec pos, ::rack::math::Vec size)
 Creates a Widget subclass with its top-left at a position and its size set.
 
template::rack::widget::Widget * StoneyDSP::StoneyVCV::::StoneyDSP::StoneyVCV::createWidgetSized<::rack::widget::Widget > (::rack::math::Vec pos, ::rack::math::Vec size)
 
template<class TWidget = ::rack::widget::Widget>
TWidgetStoneyDSP::StoneyVCV::createWidgetCenteredSized (::rack::math::Vec pos, ::rack::math::Vec size)
 Creates a Widget subclass with its top-left at a position.
 
template::rack::widget::Widget * StoneyDSP::StoneyVCV::::StoneyDSP::StoneyVCV::createWidgetCenteredSized<::rack::widget::Widget > (::rack::math::Vec pos, ::rack::math::Vec size)
 
template<class TParamWidget = ::rack::app::ParamWidget>
TParamWidgetStoneyDSP::StoneyVCV::createParamWidget (::rack::math::Vec pos, ::rack::engine::Module *module, int paramId)
 
template::rack::app::ParamWidget * StoneyDSP::StoneyVCV::::StoneyDSP::StoneyVCV::createParamWidget<::rack::app::ParamWidget > (::rack::math::Vec pos, ::rack::engine::Module *module, int paramId)
 
template<class TParamWidget = ::rack::app::ParamWidget>
TParamWidgetStoneyDSP::StoneyVCV::createParamWidgetCentered (::rack::math::Vec pos, ::rack::engine::Module *module, int paramId)
 
template::rack::app::ParamWidget * StoneyDSP::StoneyVCV::::StoneyDSP::StoneyVCV::createParamWidgetCentered<::rack::app::ParamWidget > (::rack::math::Vec pos, ::rack::engine::Module *module, int paramId)
 
template<class TPortWidget = ::rack::app::PortWidget>
TPortWidgetStoneyDSP::StoneyVCV::createInput (::rack::math::Vec pos, ::rack::engine::Module *module, int inputId)
 
template::rack::app::PortWidget * StoneyDSP::StoneyVCV::::StoneyDSP::StoneyVCV::createInput<::rack::app::PortWidget > (::rack::math::Vec pos, ::rack::engine::Module *module, int inputId)
 
template<class TPortWidget = ::rack::app::PortWidget>
TPortWidgetStoneyDSP::StoneyVCV::createInputCentered (::rack::math::Vec pos, ::rack::engine::Module *module, int inputId)
 
template::rack::app::PortWidget * StoneyDSP::StoneyVCV::::StoneyDSP::StoneyVCV::createInputCentered<::rack::app::PortWidget > (::rack::math::Vec pos, ::rack::engine::Module *module, int inputId)
 
template<class TPortWidget = ::rack::app::PortWidget>
TPortWidgetStoneyDSP::StoneyVCV::createOutput (::rack::math::Vec pos, ::rack::engine::Module *module, int outputId)
 
template::rack::app::PortWidget * StoneyDSP::StoneyVCV::::StoneyDSP::StoneyVCV::createOutput<::rack::app::PortWidget > (::rack::math::Vec pos, ::rack::engine::Module *module, int inputId)
 
template<class TPortWidget = ::rack::app::PortWidget>
TPortWidgetStoneyDSP::StoneyVCV::createOutputCentered (::rack::math::Vec pos, ::rack::engine::Module *module, int outputId)
 
template::rack::app::PortWidget * StoneyDSP::StoneyVCV::::StoneyDSP::StoneyVCV::createOutputCentered<::rack::app::PortWidget > (::rack::math::Vec pos, ::rack::engine::Module *module, int inputId)
 

Variables

const ::StoneyDSP::float_t StoneyDSP::StoneyVCV::Tools::vMin
 
const ::StoneyDSP::float_t StoneyDSP::StoneyVCV::Tools::vMax
 
const ::StoneyDSP::float_t StoneyDSP::StoneyVCV::Tools::vNominal
 
const ::StoneyDSP::float_t StoneyDSP::StoneyVCV::Tools::vBias
 
const ::StoneyDSP::float_t StoneyDSP::StoneyVCV::Tools::vGround
 
const ::StoneyDSP::float_t StoneyDSP::StoneyVCV::Tools::vFloor
 

Detailed Description

StoneyDSP Modules for VCV Rack 2.

Author
Nathan J. Hood natha.nosp@m.njho.nosp@m.od@go.nosp@m.ogle.nosp@m.mail..nosp@m.com
Version
2.0.1352.33316364666530

Copyright (c) 2024 Nathan J. Hood natha.nosp@m.njho.nosp@m.od@go.nosp@m.ogle.nosp@m.mail..nosp@m.com

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Macro Definition Documentation

◆ STONEYVCV_HPP_INCLUDED

#define STONEYVCV_HPP_INCLUDED   1

◆ DBG

#define DBG (   msg,
  ... 
)    ::StoneyDSP::ignoreUnused(msg, ##__VA_ARGS__)

◆ assert_message

#define assert_message (   condition,
  message 
)    ::StoneyDSP::ignoreUnused(condition, message)

◆ STONEYVCV_DECLARE_WIDGET_FACTORY_FUNCTIONS

#define STONEYVCV_DECLARE_WIDGET_FACTORY_FUNCTIONS (   ClassName)
Value:
public: \
template <class TWidget> \
friend TWidget *::rack::createWidget(::rack::math::Vec pos); \
\
template <class TWidget> \
friend TWidget *::rack::createWidgetCentered(::rack::math::Vec pos); \
\
template <class TWidget> \
friend TWidget *::StoneyDSP::StoneyVCV::createWidget(::rack::math::Vec pos); \
\
template <class TWidget> \
friend TWidget *::StoneyDSP::StoneyVCV::createWidgetCentered(::rack::math::Vec pos); \
\
template <class TWidget> \
friend TWidget *::StoneyDSP::StoneyVCV::createWidgetSized(::rack::math::Vec pos, ::rack::math::Vec size); \
\
template <class TWidget> \
friend TWidget *::StoneyDSP::StoneyVCV::createWidgetCenteredSized(::rack::math::Vec pos, ::rack::math::Vec size);
TWidget * createWidgetCenteredSized(::rack::math::Vec pos, ::rack::math::Vec size)
Creates a Widget subclass with its top-left at a position.
Definition StoneyVCV.hpp:237
TWidget * createWidgetCentered(::rack::math::Vec pos)
Creates a Widget subclass with its center at a position.
Definition StoneyVCV.hpp:196
TWidget * createWidget(::rack::math::Vec pos)
Creates a Widget subclass with its top-left at a position.
Definition StoneyVCV.hpp:175
TWidget * createWidgetSized(::rack::math::Vec pos, ::rack::math::Vec size)
Creates a Widget subclass with its top-left at a position and its size set.
Definition StoneyVCV.hpp:217

Add this definition to a class or struct's declaration body to make it compatible with the StoneyVCV createWidget factory methods.