ML Reference
|
00001 // **InsertLicense** code 00002 //------------------------------------------------------------------------- 00010 //------------------------------------------------------------------------- 00011 00012 #ifndef __mlEngine_H 00013 #define __mlEngine_H 00014 00015 // ML-includes 00016 #ifndef __mlInitSystemML_H 00017 #include "mlInitSystemML.h" 00018 #endif 00019 #ifndef __mlModuleIncludes_H 00020 #include "mlModuleIncludes.h" 00021 #endif 00022 00023 ML_START_NAMESPACE 00024 00025 //------------------------------------------------------------------------- 00028 //------------------------------------------------------------------------- 00029 class MLEXPORT Engine : public Module 00030 { 00031 00032 public: 00033 00035 Engine(int numInputImages=0, int numOutputImages=0) : Module(numInputImages, numOutputImages) 00036 { 00037 ML_TRACE_IN( "Engine::Engine( )" ); 00038 00039 if ((numInputImages!=0) || (numOutputImages!=0)) 00040 { 00041 ML_PRINT_FATAL_ERROR("Engine::Engine", ML_PROGRAMMING_ERROR, 00042 "Engines currently does not support input or output images."); 00043 } 00044 _valid = false; 00045 }; 00046 00048 ML_ABSTRACT_MODULE_CLASS_HEADER(Engine) 00049 00050 protected: 00051 00053 bool _valid; 00054 }; 00055 00056 ML_END_NAMESPACE 00057 00058 #endif // __mlEngine_H 00059 00060