Orfeo Toolbox  4.0
otbRAMDrivenTiledStreamingManager.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ORFEO Toolbox
4  Language: C++
5  Date: $Date$
6  Version: $Revision$
7 
8 
9  Copyright (c) Centre National d'Etudes Spatiales. All rights reserved.
10  See OTBCopyright.txt for details.
11 
12 
13  This software is distributed WITHOUT ANY WARRANTY; without even
14  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15  PURPOSE. See the above copyright notices for more information.
16 
17 =========================================================================*/
18 #ifndef __otbRAMDrivenTiledStreamingManager_h
19 #define __otbRAMDrivenTiledStreamingManager_h
20 
21 #include "otbStreamingManager.h"
22 
23 namespace otb
24 {
25 
37 template<class TImage>
38 class ITK_EXPORT RAMDrivenTiledStreamingManager : public StreamingManager<TImage>
39 {
40 public:
46 
47  typedef TImage ImageType;
49 
51  itkNewMacro(Self);
52 
55 
57  itkStaticConstMacro(ImageDimension, unsigned int, ImageType::ImageDimension);
58 
61  itkSetMacro(AvailableRAMInMB, unsigned int);
62 
65  itkGetConstMacro(AvailableRAMInMB, unsigned int);
66 
68  itkSetMacro(Bias, double);
69 
71  itkGetConstMacro(Bias, double);
72 
75  virtual void PrepareStreaming(itk::DataObject * input, const RegionType &region);
76 
77 protected:
80 
82  unsigned int m_AvailableRAMInMB;
83 
85  double m_Bias;
86 
87 private:
89  void operator =(const RAMDrivenTiledStreamingManager&);
90 };
91 
92 } // End namespace otb
93 
94 #ifndef OTB_MANUAL_INSTANTIATION
96 #endif
97 
98 #endif
99 

Generated at Sat Mar 8 2014 16:14:43 for Orfeo Toolbox with doxygen 1.8.3.1