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

Method getTopLevelInstance

Engine/AppManager.cpp:1337–1349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1335}
1336
1337AppInstancePtr
1338AppManager::getTopLevelInstance () const
1339{
1340 QMutexLocker k(&_imp->_appInstancesMutex);
1341
1342 for (AppInstanceVec::const_iterator it = _imp->_appInstances.begin(); it != _imp->_appInstances.end(); ++it) {
1343 if ( (*it)->getAppID() == _imp->_topLevelInstanceID ) {
1344 return *it;
1345 }
1346 }
1347
1348 return AppInstancePtr();
1349}
1350
1351bool
1352AppManager::isLoaded() const

Callers 15

SetUpMethod · 0.80
getActiveInstanceMethod · 0.80
onKnobValueChangedMethod · 0.80
findAndRunScriptFileMethod · 0.80
addToPythonPathFunctorFunction · 0.80
errorDialogMethod · 0.80
warningDialogMethod · 0.80
informationDialogMethod · 0.80
questionDialogMethod · 0.80
handlerMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
getAppIDMethod · 0.45

Tested by 1

SetUpMethod · 0.64