VCV Rack API v2
Loading...
Searching...
No Matches
LightInfo.hpp
Go to the documentation of this file.
1#pragma once
2#include <common.hpp>
3
4
5namespace rack {
6namespace engine {
7
8
9struct Module;
10
11
12struct LightInfo {
13 Module* module = NULL;
14 int lightId = -1;
15
22 std::string name;
23
25 std::string description;
26
27 virtual ~LightInfo() {}
28 virtual std::string getName();
29 virtual std::string getDescription();
30};
31
32
33} // namespace engine
34} // namespace rack
Root namespace for the Rack API.
Definition AudioDisplay.hpp:9
Definition LightInfo.hpp:12
std::string name
The name of the light, using sentence capitalization.
Definition LightInfo.hpp:22
virtual ~LightInfo()
Definition LightInfo.hpp:27
Module * module
Definition LightInfo.hpp:13
virtual std::string getDescription()
virtual std::string getName()
int lightId
Definition LightInfo.hpp:14
std::string description
An optional one-sentence description of the light.
Definition LightInfo.hpp:25
DSP processor instance for your module.
Definition Module.hpp:29