| 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() { |