MeVisLab Toolbox Reference
mlEngine.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_ENGINE_H
14#define ML_ENGINE_H
15
18
19// ML-includes
20#include "mlInitSystemML.h"
21#include "mlModuleIncludes.h"
22
24
25//-------------------------------------------------------------------------
28//-------------------------------------------------------------------------
29class MLEXPORT Engine : public Module
30{
31
32public:
33
36 {
37 if ((numInputImages!=0) || (numOutputImages!=0))
38 {
40 "Engines currently does not support input or output images.");
41 }
42 _valid = false;
43 };
44
47
48protected:
49
51 bool _valid;
52};
53
55
56#endif // __mlEngine_H
57
58
Base class for all ML Engines which are derived from Module, which have no inputs or outputs and whic...
Definition mlEngine.h:30
Engine(int numInputImages=0, int numOutputImages=0)
Constructor.
Definition mlEngine.h:35
bool _valid
Implements the runtime system interface of this class.
Definition mlEngine.h:51
Base class for an image processing module of the ML.
Definition mlModule.h:151
#define ML_ABSTRACT_MODULE_CLASS_HEADER(className)
Like ML_ABSTRACT_CLASS_HEADER for the usage of derived classes from Module.
#define ML_PROGRAMMING_ERROR
A case occurred which should not appear and here are a variety of reasons, typically it is a programm...
Definition mlTypeDefs.h:788
#define ML_PRINT_FATAL_ERROR(FUNC_NAME, REASON, HANDLING)
Like ML_PRINT_FATAL_ERROR_DUMP(FUNC_NAME, REASON, HANDLING, RT_OBJ) without a runtime object to be du...
#define MLEXPORT
To export symbols from a dll/shared object, we need to mark them with the MLEXPORT symbol.
Target mlrange_cast(Source arg)
Generic version of checked ML casts.