MeVisLab Toolbox Reference
mlImageFormatSave.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef ML_IMAGE_FORMAT_SAVE_H
14#define ML_IMAGE_FORMAT_SAVE_H
15
16
20
21#include "MLImageFormatSystem.h"
22
23// ML includes
24#include "mlModuleIncludes.h"
25
26#include "mlImageFormatIOBase.h"
27
28
29ML_START_NAMESPACE
30
31 // ----------------------------------------------------------
34 // ----------------------------------------------------------
36 {
37 public:
38
41
42 protected:
44 void activateAttachments() override;
45
47 void handleNotification (Field *field) override;
48
52 virtual void _save(bool onlyCreate);
53
54 private:
55
57 NotifyField *_saveFld;
58
60 NotifyField *_createFld;
61
63 DoubleField *_saveTimeFld;
64
67 DoubleField *_calcTimeFld;
68
71 DoubleField *_totalTimeFld;
72
75 };
76
77
78ML_END_NAMESPACE
79
80#endif // __mlImageFormatSave_H
81
82
#define MLIMAGEFORMAT_EXPORT
Global and OS specific declarations for the MLImageFormat project.
MLImageFormatIOBase(int numIns=0, int numOuts=0)
Constructor for a module with numIns inputs and numOuts outputs.
void handleNotification(Field *field) override
Handle field changes of the field field.
MLImageFormatSave()
Constructor.
void activateAttachments() override
Update internal module state after (field)reload or clone.
virtual void _save(bool onlyCreate)
#define ML_MODULE_CLASS_HEADER(className)