| 5255 | } |
| 5256 | |
| 5257 | int |
| 5258 | Node::getInputIndex(const Node* node) const |
| 5259 | { |
| 5260 | QMutexLocker l(&_imp->inputsMutex); |
| 5261 | |
| 5262 | for (U32 i = 0; i < _imp->inputs.size(); ++i) { |
| 5263 | if (_imp->inputs[i].lock().get() == node) { |
| 5264 | return i; |
| 5265 | } |
| 5266 | } |
| 5267 | |
| 5268 | return -1; |
| 5269 | } |
| 5270 | |
| 5271 | const std::vector<NodeWPtr > & |
| 5272 | Node::getInputs() const |
no test coverage detected