00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkParallelFactory.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00025 #ifndef __vtkParallelFactory_h 00026 #define __vtkParallelFactory_h 00027 00028 #include "vtkObjectFactory.h" 00029 00030 class VTK_PARALLEL_EXPORT vtkParallelFactory : public vtkObjectFactory 00031 { 00032 public: 00033 // Methods from vtkObject 00034 vtkTypeMacro(vtkParallelFactory,vtkObjectFactory); 00035 static vtkParallelFactory *New(); 00036 void PrintSelf(ostream& os, vtkIndent indent); 00037 virtual const char* GetVTKSourceVersion(); 00038 virtual const char* GetDescription(); 00039 protected: 00040 vtkParallelFactory(); 00041 ~vtkParallelFactory() { } 00042 private: 00043 vtkParallelFactory(const vtkParallelFactory&); // Not implemented. 00044 void operator=(const vtkParallelFactory&); // Not implemented. 00045 }; 00046 00047 extern "C" VTK_PARALLEL_EXPORT vtkObjectFactory* vtkLoad(); 00048 #endif