MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / getViewers

Method getViewers

Engine/NodeGroup.cpp:222–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222void
223NodeCollection::getViewers(std::list<ViewerInstance*>* viewers) const
224{
225 QMutexLocker k(&_imp->nodesMutex);
226
227 for (NodesList::iterator it = _imp->nodes.begin(); it != _imp->nodes.end(); ++it) {
228 ViewerInstance* isViewer = (*it)->isEffectViewer();
229 if (isViewer) {
230 viewers->push_back(isViewer);
231 }
232 NodeGroup* isGrp = (*it)->isEffectGroup();
233 if (isGrp) {
234 isGrp->getViewers(viewers);
235 }
236 }
237}
238
239void
240NodeCollection::getWriters(std::list<OutputEffectInstance*>* writers) const

Callers 3

warnChangedKnobsMethod · 0.80
AddFormatDialogMethod · 0.80
redoMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected