| 270 | |
| 271 | |
| 272 | void Module::onRandomize(const RandomizeEvent& e) { |
| 273 | // Randomize all parameters |
| 274 | for (ParamQuantity* pq : paramQuantities) { |
| 275 | if (!pq->randomizeEnabled) |
| 276 | continue; |
| 277 | if (!pq->isBounded()) |
| 278 | continue; |
| 279 | pq->randomize(); |
| 280 | } |
| 281 | // Call deprecated event |
| 282 | onRandomize(); |
| 283 | } |
| 284 | |
| 285 | |
| 286 | bool Module::isBypassed() { |
no test coverage detected