Medical Imaging Interaction Toolkit  2023.04.00
Medical Imaging Interaction Toolkit
berryIJobChangeEvent.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 BERRYIJOBCHANGEEVENT_H_
14 #define BERRYIJOBCHANGEEVENT_H_
15 
16 #include <berryObject.h>
17 #include <berryMacros.h>
18 
19 #include <berryIStatus.h>
20 
21 #include <Poco/Timestamp.h>
22 
23 #include <org_blueberry_core_jobs_Export.h>
24 
25 namespace berry
26 {
27 
28 class Job;
29 
36 struct BERRY_JOBS IJobChangeEvent : public Object
37 {
38 
40 
48  virtual Poco::Timestamp::TimeDiff GetDelay() const = 0;
49 
55  virtual SmartPointer<Job> GetJob() const = 0;
56 
63  virtual IStatus::Pointer GetResult() const = 0;
64 
65 
66 };
67 
68 }
69 
70 #endif /* BERRYIJOBCHANGEEVENT_H_ */
berry::IJobChangeEvent
Definition: berryIJobChangeEvent.h:36
berryMacros.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
berry::Object
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
berryObjectMacro
#define berryObjectMacro(...)
Definition: berryMacros.h:33
berryObject.h
berryIStatus.h
berry
Definition: QmitkPropertyItemModel.h:24