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

Method writeToOutputPipe

Engine/AppManager.cpp:1457–1474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1455}
1456
1457bool
1458AppManager::writeToOutputPipe(const QString & longMessage,
1459 const QString & shortMessage,
1460 bool printIfNoChannel)
1461{
1462 if (!_imp->_backgroundIPC) {
1463 if (printIfNoChannel) {
1464 QMutexLocker k(&_imp->errorLogMutex);
1465 ///Don't use qdebug here which is disabled if QT_NO_DEBUG_OUTPUT is defined.
1466 std::cout << longMessage.toStdString() << std::endl;
1467 }
1468
1469 return false;
1470 }
1471 _imp->_backgroundIPC->writeToOutputChannel(shortMessage);
1472
1473 return true;
1474}
1475
1476void
1477AppManager::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