ITK  4.0.0
Insight Segmentation and Registration Toolkit
itkVideoIOFactory.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Insight Segmentation & Registration Toolkit
00004   Module:    itkVideoIOFactory.h
00005   Language:  C++
00006   Date:      $Date$
00007   Version:   $Revision$
00008 
00009   Copyright (c) Insight Software Consortium. All rights reserved.
00010   See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details.
00011 
00012      This software is distributed WITHOUT ANY WARRANTY; without even
00013      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00014      PURPOSE.  See the above copyright notices for more information.
00015 
00016 =========================================================================*/
00017 #ifndef __itkVideoIOFactory_h
00018 #define __itkVideoIOFactory_h
00019 
00020 #include "itkObject.h"
00021 #include "itkVideoIOBase.h"
00022 
00023 namespace itk
00024 {
00025 
00035 class ITK_EXPORT VideoIOFactory : public Object
00036 {
00037 public:
00039   typedef VideoIOFactory             Self;
00040   typedef Object                     Superclass;
00041   typedef SmartPointer< Self >       Pointer;
00042   typedef SmartPointer< const Self > ConstPointer;
00043 
00045   typedef enum { ReadFileMode, ReadCameraMode, WriteMode } IOModeType;
00046 
00048   itkTypeMacro(VideoIOFactory, Object);
00049 
00055   static VideoIOBase::Pointer CreateVideoIO( IOModeType mode, const char* arg );
00056 
00057 protected:
00058   VideoIOFactory();
00059   ~VideoIOFactory();
00060 
00061 private:
00062   VideoIOFactory(const Self &); //purposely not implemented
00063   void operator=(const Self &); //purposely not implemented
00064 
00065 };
00066 
00067 } // end namespace itk
00068 
00069 #endif
00070