MCPcopy Create free account
hub / github.com/VCVRack/Rack / Cable

Class Cable

include/engine/Cable.hpp:10–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9
10struct Cable {
11 /** Unique ID for referring to the cable in the engine.
12 Between 0 and 2^53 since this is serialized with JSON.
13 Assigned when added to the engine.
14 */
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected