Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 
35  JobStatus(const Severity& severity, Job::Pointer sptr_job, const QString& message,
36  const Status::SourceLocation& sl);
37 
41  Job::Pointer GetJob() override;
42 
43 private:
44 
45  Job::Pointer m_myJob;
46 
47 };
48 
49 
50 }
51 
52 #endif /* _BERRYJOBSTATUS_H */
#define berryObjectMacro(...)
Definition: berryMacros.h:33