Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryJobStatus.h
Go to the documentation of this file.
1 /*===================================================================
2 
3 BlueBerry Platform
4 
5 Copyright (c) German Cancer Research Center,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef _BERRYJOBSTATUS_H
18 #define _BERRYJOBSTATUS_H
19 
20 #include "berryIJobStatus.h"
21 #include "berryStatus.h"
22 #include "berryJob.h"
23 
24 namespace berry {
25 
26 class BERRY_JOBS JobStatus : public Status, public IJobStatus
27 {
28 
29 public:
30 
32 
39  JobStatus(const Severity& severity, Job::Pointer sptr_job, const QString& message,
40  const Status::SourceLocation& sl);
41 
45  Job::Pointer GetJob() override;
46 
47 private:
48 
49  Job::Pointer m_myJob;
50 
51 };
52 
53 
54 }
55 
56 #endif /* _BERRYJOBSTATUS_H */
itk::SmartPointer< Self > Pointer
#define berryObjectMacro(...)
Definition: berryMacros.h:37