00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkParallelFactory.h,v $ 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 =========================================================================*/ 00034 #ifndef __vtkParallelFactory_h 00035 #define __vtkParallelFactory_h 00036 00037 #include "vtkObjectFactory.h" 00038 00039 class VTK_PARALLEL_EXPORT vtkParallelFactory : public vtkObjectFactory 00040 { 00041 public: 00042 // Methods from vtkObject 00043 vtkTypeRevisionMacro(vtkParallelFactory,vtkObjectFactory); 00044 static vtkParallelFactory *New(); 00045 void PrintSelf(ostream& os, vtkIndent indent); 00046 virtual const char* GetVTKSourceVersion(); 00047 virtual const char* GetDescription(); 00048 protected: 00049 vtkParallelFactory(); 00050 ~vtkParallelFactory() { } 00051 private: 00052 vtkParallelFactory(const vtkParallelFactory&); // Not implemented. 00053 void operator=(const vtkParallelFactory&); // Not implemented. 00054 }; 00055 00056 extern "C" VTK_PARALLEL_EXPORT vtkObjectFactory* vtkLoad(); 00057 #endif