VCV Rack API
v2
Loading...
Searching...
No Matches
Cable.hpp
Go to the documentation of this file.
1
#pragma once
2
#include <common.hpp>
3
#include <
engine/Module.hpp
>
4
5
6
namespace
rack
{
7
namespace
engine {
8
9
10
struct
Cable
{
15
int64_t
id
= -1;
16
Module
*
inputModule
= NULL;
17
int
inputId
= -1;
18
Module
*
outputModule
= NULL;
19
int
outputId
= -1;
20
21
json_t*
toJson
();
22
void
fromJson
(json_t* rootJ);
23
PRIVATE
static
void
jsonStripIds
(json_t* rootJ);
24
};
25
26
27
}
// namespace engine
28
}
// namespace rack
Module.hpp
PRIVATE
#define PRIVATE
Attribute for private functions not intended to be called by plugins.
Definition
common.hpp:32
rack
Root namespace for the Rack API.
Definition
AudioDisplay.hpp:9
rack::engine::Cable
Definition
Cable.hpp:10
rack::engine::Cable::outputId
int outputId
Definition
Cable.hpp:19
rack::engine::Cable::jsonStripIds
static PRIVATE void jsonStripIds(json_t *rootJ)
rack::engine::Cable::toJson
json_t * toJson()
rack::engine::Cable::inputModule
Module * inputModule
Definition
Cable.hpp:16
rack::engine::Cable::inputId
int inputId
Definition
Cable.hpp:17
rack::engine::Cable::fromJson
void fromJson(json_t *rootJ)
rack::engine::Cable::outputModule
Module * outputModule
Definition
Cable.hpp:18
rack::engine::Module
DSP processor instance for your module.
Definition
Module.hpp:29
include
engine
Cable.hpp
Generated by
1.12.0