#pragma once /*========================================================================= medInria Copyright (c) INRIA 2013. All rights reserved. See LICENSE.txt for details in the root of the sources or: https://github.com/medInria/medInria-public/blob/master/LICENSE.txt This software is distributed WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. =========================================================================*/ #include #include #include #include #include class medAbstractData; class medDataLoadThread : public QObject { Q_OBJECT public: medDataLoadThread(QList const & index, QList const & urls, medViewContainer *parent); virtual ~medDataLoadThread() override = default ; public slots: void process(); signals: void finished(); void dataReady(medAbstractData *); private: void internalProcess(medDataIndex &index, int deep); private: QList m_urlList; QList m_indexList; medViewContainer *m_parent; QList m_pAbsDataList; QMap m_volumePathsMap; QMap> m_volumeRelMap; QString m_rootDir; };