ITK  4.9.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 #include "ITKVideoIOExport.h"
23 
24 namespace itk
25 {
26 
36 class ITKVideoIO_EXPORT VideoIOFactory : public Object
37 {
38 public:
41  typedef Object Superclass;
44 
46  typedef enum { ReadFileMode, ReadCameraMode, WriteMode } IOModeType;
47 
49  itkTypeMacro(VideoIOFactory, Object);
50 
56  static VideoIOBase::Pointer CreateVideoIO( IOModeType mode, const char* arg );
57 
58 protected:
60  ~VideoIOFactory();
61 
62 private:
63  VideoIOFactory(const Self &) ITK_DELETE_FUNCTION;
64  void operator=(const Self &) ITK_DELETE_FUNCTION;
65 
66 };
67 
68 } // end namespace itk
69 
70 #endif
SmartPointer< const Self > ConstPointer
SmartPointer< Self > Pointer
Create instances of VideoIO objects using an object factory.
Base class for most ITK classes.
Definition: itkObject.h:57