You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- #pragma once
- #include "common.hpp"
- #include "engine/Module.hpp"
- #include "engine/Param.hpp"
-
-
- namespace rack {
- namespace engine {
-
-
- /** A weak handle to a Param. Managed by Engine */
- struct ParamHandle {
- /** Do not set these directly.
- They are handled by Engine methods.
- */
- int moduleId;
- int paramId;
- Module *module;
-
- ParamHandle() {
- reset();
- }
-
- void reset() {
- moduleId = -1;
- paramId = 0;
- module = NULL;
- }
- };
-
-
- } // namespace engine
- } // namespace rack
|