ITK  4.3.0
Insight Segmentation and Registration Toolkit
itkVideoIOFactory.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Insight Segmentation & Registration Toolkit
4  Module: itkVideoIOFactory.h
5  Language: C++
6  Date: $Date$
7  Version: $Revision$
8 
9  Copyright (c) Insight Software Consortium. All rights reserved.
10  See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
11 
12  This software is distributed WITHOUT ANY WARRANTY; without even
13  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14  PURPOSE. See the above copyright notices for more information.
15 
16 =========================================================================*/
17 #ifndef __itkVideoIOFactory_h
18 #define __itkVideoIOFactory_h
19 
20 #include "itkObject.h"
21 #include "itkVideoIOBase.h"
22 
23 namespace itk
24 {
25 
35 class ITK_EXPORT VideoIOFactory : public Object
36 {
37 public:
40  typedef Object Superclass;
43 
45  typedef enum { ReadFileMode, ReadCameraMode, WriteMode } IOModeType;
46 
48  itkTypeMacro(VideoIOFactory, Object);
49 
55  static VideoIOBase::Pointer CreateVideoIO( IOModeType mode, const char* arg );
56 
57 protected:
59  ~VideoIOFactory();
60 
61 private:
62  VideoIOFactory(const Self &); //purposely not implemented
63  void operator=(const Self &); //purposely not implemented
64 
65 };
66 
67 } // end namespace itk
68 
69 #endif
70