Medical Imaging Interaction Toolkit  2023.12.00
Medical Imaging Interaction Toolkit
berryJobStatus.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 _BERRYJOBSTATUS_H
14 #define _BERRYJOBSTATUS_H
15 
16 #include "berryIJobStatus.h"
17 #include "berryStatus.h"
18 #include "berryJob.h"
19 
20 namespace berry {
21 
22 class BERRY_JOBS JobStatus : public Status, public IJobStatus
23 {
24 
25 public:
26 
28 
36  JobStatus(const Severity& severity, Job::Pointer sptr_job, const QString& message,
37  const Status::SourceLocation& sl);
38 
42  Job::Pointer GetJob() override;
43 
44 private:
45 
46  Job::Pointer m_myJob;
47 
48 };
49 
50 
51 }
52 
53 #endif /* _BERRYJOBSTATUS_H */
berry::Status
Definition: berryStatus.h:30
berryIJobStatus.h
berry::IJobStatus
Definition: berryIJobStatus.h:28
berry::JobStatus
Definition: berryJobStatus.h:22
berryJob.h
berryStatus.h
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:33
berry::IStatus::Severity
Severity
Definition: berryIStatus.h:56
berry::Status::SourceLocation
Definition: berryStatus.h:35
berry
Definition: QmitkPropertyItemModel.h:24