Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitknnUNetWorker.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitknnUNetWorker_h
14 #define QmitknnUNetWorker_h
15 
16 #include "mitkProcessExecutor.h"
17 #include <QMutex>
18 #include <QObject>
19 
22 
26 class nnUNetDownloadWorker : public QObject
27 {
28  Q_OBJECT
29 
30 public slots:
36 
37 signals:
38 
45  void Exit(bool exitCode, const QString message);
46 
47 private:
48  QMutex mutex;
49 };
50 
51 #endif
mitk::ProcessExecutor::ArgumentListType
std::vector< std::string > ArgumentListType
Definition: mitkProcessExecutor.h:81
mitkProcessExecutor.h
nnUNetDownloadWorker::Exit
void Exit(bool exitCode, const QString message)
the signal emitted when a download process is finished; success or failed
itk::SmartPointer
Definition: mitkIFileReader.h:30
Q_DECLARE_METATYPE
Q_DECLARE_METATYPE(mitk::ProcessExecutor::Pointer)
nnUNetDownloadWorker::DoWork
void DoWork(QString, QString, mitk::ProcessExecutor::Pointer, mitk::ProcessExecutor::ArgumentListType)
Starts the download process worker thread.
nnUNetDownloadWorker
Class to execute some functions from the Segmentation Plugin in a separate thread.
Definition: QmitknnUNetWorker.h:26