| 237 | } |
| 238 | |
| 239 | void |
| 240 | NodeCollection::getWriters(std::list<OutputEffectInstance*>* writers) const |
| 241 | { |
| 242 | QMutexLocker k(&_imp->nodesMutex); |
| 243 | |
| 244 | for (NodesList::iterator it = _imp->nodes.begin(); it != _imp->nodes.end(); ++it) { |
| 245 | if ( (*it)->getGroup() && (*it)->isActivated() && (*it)->getEffectInstance()->isWriter() && (*it)->isPartOfProject() ) { |
| 246 | OutputEffectInstance* out = dynamic_cast<OutputEffectInstance*>( (*it)->getEffectInstance().get() ); |
| 247 | assert(out); |
| 248 | writers->push_back(out); |
| 249 | } |
| 250 | NodeGroup* isGrp = (*it)->isEffectGroup(); |
| 251 | if (isGrp) { |
| 252 | isGrp->getWriters(writers); |
| 253 | } |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | void |
| 258 | NodeCollection::quitAnyProcessingInternal(bool blocking) |
no test coverage detected