OTB  5.0.0
Orfeo Toolbox
otbMWImageIOFactory.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 __otbMWImageIOFactory_h
19 #define __otbMWImageIOFactory_h
20 
21 #include "itkObjectFactoryBase.h"
22 
23 namespace otb
24 {
30 class ITK_EXPORT MWImageIOFactory : public itk::ObjectFactoryBase
31 {
32 public:
38 
40  virtual const char* GetITKSourceVersion(void) const;
41  virtual const char* GetDescription(void) const;
43 
45  itkFactorylessNewMacro(Self);
46  static MWImageIOFactory * FactoryNew() { return new MWImageIOFactory; }
48 
51 
53  static void RegisterOneFactory(void)
54  {
57  }
59 
60 protected:
62  virtual ~MWImageIOFactory();
63 
64 private:
65  MWImageIOFactory(const Self &); //purposely not implemented
66  void operator =(const Self&); //purposely not implemented
67 
68 };
69 
70 } // end namespace otb
71 
72 #endif
itk::SmartPointer< Self > Pointer
itk::ObjectFactoryBase Superclass
static MWImageIOFactory * FactoryNew()
static bool RegisterFactory(ObjectFactoryBase *, InsertionPositionType where=INSERT_AT_BACK, vcl_size_t position=0)
itk::SmartPointer< const Self > ConstPointer
Creation d'un instance d'un objet LUMImageIO utilisant les object factory.
static void RegisterOneFactory(void)
static Pointer New(void)