| 120 | } |
| 121 | |
| 122 | void NodeContainer::prepareNodes(PrepareSpecs ps) |
| 123 | { |
| 124 | prepareContainer(ps); |
| 125 | |
| 126 | for (auto n : nodes) |
| 127 | { |
| 128 | if (n == nullptr) |
| 129 | continue; |
| 130 | |
| 131 | |
| 132 | |
| 133 | auto& eHandler = asNode()->getRootNetwork()->getExceptionHandler(); |
| 134 | |
| 135 | eHandler.removeError(n); |
| 136 | |
| 137 | try |
| 138 | { |
| 139 | n->prepare(ps); |
| 140 | n->reset(); |
| 141 | } |
| 142 | catch (Error& e) |
| 143 | { |
| 144 | eHandler.addError(n, e); |
| 145 | } |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | bool NodeContainer::shouldCreatePolyphonicClass() const |
| 150 | { |
nothing calls this directly
no test coverage detected