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

Method getAppInstance

Engine/AppManager.cpp:1180–1192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1178}
1179
1180AppInstancePtr
1181AppManager::getAppInstance(int appID) const
1182{
1183 QMutexLocker k(&_imp->_appInstancesMutex);
1184
1185 for (AppInstanceVec::const_iterator it = _imp->_appInstances.begin(); it != _imp->_appInstances.end(); ++it) {
1186 if ( (*it)->getAppID() == appID ) {
1187 return *it;
1188 }
1189 }
1190
1191 return AppInstancePtr();
1192}
1193
1194int
1195AppManager::getNumInstances() const

Callers 4

getInstanceMethod · 0.80
openProjectInternalMethod · 0.80
getGuiInstanceMethod · 0.80
openRecentFileMethod · 0.80

Calls 3

beginMethod · 0.45
endMethod · 0.45
getAppIDMethod · 0.45

Tested by

no test coverage detected