ML Reference
MeVis/Foundation/Sources/ML/include/host/mlProcessAllPagesJob.h
Go to the documentation of this file.
00001 // **InsertLicense** code
00002 //-------------------------------------------------------------------------
00009 //-------------------------------------------------------------------------
00010 #ifndef __mlProcessAllPagesJob_H
00011 #define __mlProcessAllPagesJob_H
00012 
00013 // ML-includes
00014 #ifndef __mlInitSystemML_H
00015 #include "mlInitSystemML.h"
00016 #endif
00017 
00018 
00019 #include "mlPagedImage.h"
00020 #include "mlTileRequest.h"
00021 #include "mlPageRequestCursor.h"
00022 #include "mlGetTileJob.h"
00023 
00024 ML_START_NAMESPACE
00025 
00026 class PageRequest;
00027 class PageRequestProcessor;
00028 class ProcessAllPagesHandler;
00029 
00030 //-------------------------------------------------------------------------------------------
00032 //-------------------------------------------------------------------------------------------
00033 class MLEXPORT ProcessAllPagesJob : public GetTileJobBase
00034 {
00035 public:
00038   ProcessAllPagesJob(Module& module, ProcessAllPagesHandler* handler = NULL, const SubImageBox& box = SubImageBox(), int outputIndex = -1);
00039 
00041   ~ProcessAllPagesJob();
00042 
00046   virtual MLErrorCode init(PageRequestProcessor& processor);
00047 
00048 private:
00050   ProcessAllPagesHandler* _handler;
00052   PagedImage             _tempImage;
00054   SubImageBox            _box;
00055 
00057   PagedImage* _image;
00058 };
00059 
00060 ML_END_NAMESPACE
00061 
00062 #endif //of __mlProcessAllPagesJob_H
00063