MCPcopy Create free account
hub / github.com/blizzard4591/openMittsu / ThreadContainer

Method ThreadContainer

src/utility/ThreadContainer.cpp:14–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12
13 template <typename T>
14 ThreadContainer<T>::ThreadContainer() : QObject() {
15 m_threadWorker = std::make_unique<T>();
16 m_threadWorker->moveToThread(&m_workerThread);
17 m_workerThread.start();
18 }
19
20 template <typename T>
21 ThreadContainer<T>::~ThreadContainer() {

Callers

nothing calls this directly

Calls 1

startMethod · 0.80

Tested by

no test coverage detected