Update architecture documentation

This commit is contained in:
Alex Spataru 2021-12-06 19:32:57 -06:00
parent a78b52134f
commit 58b5657b3b
4 changed files with 8 additions and 4 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 267 KiB

After

Width:  |  Height:  |  Size: 251 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 47 KiB

After

Width:  |  Height:  |  Size: 47 KiB

View File

@ -299,10 +299,14 @@ void Generator::readData(const QByteArray &data)
// Create new worker thread to read JSON data
if (processFramesInSeparateThread())
{
// clang-format off
QThread *thread = new QThread;
JSONWorker *worker
= new JSONWorker(data, m_frameCount, QDateTime::currentDateTime());
JSONWorker *worker = new JSONWorker(data,
m_frameCount,
QDateTime::currentDateTime());
worker->moveToThread(thread);
// clang-format on
connect(thread, SIGNAL(started()), worker, SLOT(process()));
connect(worker, SIGNAL(finished()), thread, SLOT(quit()));
connect(worker, SIGNAL(finished()), worker, SLOT(deleteLater()));