| 8 | |
| 9 | |
| 10 | struct 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 |
nothing calls this directly
no outgoing calls
no test coverage detected