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

Method writeToOutputPipe

Engine/AppManager.cpp:1371–1388  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1369}
1370
1371bool
1372AppManager::writeToOutputPipe(const QString & longMessage,
1373 const QString & shortMessage,
1374 bool printIfNoChannel)
1375{
1376 if (!_imp->_backgroundIPC) {
1377 if (printIfNoChannel) {
1378 QMutexLocker k(&_imp->errorLogMutex);
1379 ///Don't use qdebug here which is disabled if QT_NO_DEBUG_OUTPUT is defined.
1380 std::cout << longMessage.toStdString() << std::endl;
1381 }
1382
1383 return false;
1384 }
1385 _imp->_backgroundIPC->writeToOutputChannel(shortMessage);
1386
1387 return true;
1388}
1389
1390void
1391AppManager::setApplicationsCachesMaximumMemoryPercent(double p)

Callers 3

notifyFrameRenderedMethod · 0.80
aboutToStartRenderMethod · 0.80
onRenderStoppedMethod · 0.80

Calls 2

toStdStringMethod · 0.80
writeToOutputChannelMethod · 0.80

Tested by

no test coverage detected