Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
berryIJobChangeEvent.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 BERRYIJOBCHANGEEVENT_H_
18 #define BERRYIJOBCHANGEEVENT_H_
19 
20 #include <berryObject.h>
21 #include <berryMacros.h>
22 
23 #include <berryIStatus.h>
24 
25 #include <Poco/Timestamp.h>
26 
27 #include <org_blueberry_core_jobs_Export.h>
28 
29 namespace berry
30 {
31 
32 class Job;
33 
40 struct BERRY_JOBS IJobChangeEvent : public Object
41 {
42 
44 
45 
52  virtual Poco::Timestamp::TimeDiff GetDelay() const = 0;
53 
59  virtual SmartPointer<Job> GetJob() const = 0;
60 
67  virtual IStatus::Pointer GetResult() const = 0;
68 
69 
70 };
71 
72 }
73 
74 #endif /* BERRYIJOBCHANGEEVENT_H_ */
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:78
Implements transparent reference counting.
#define berryObjectMacro(...)
Definition: berryMacros.h:37