00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkParallelFactory.h,v $ 00005 Language: C++ 00006 00007 00008 Copyright (c) 1999-2000 Mercury Computers Inc. All rigts reserved. 00009 00010 IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR 00011 DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT 00012 OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, 00013 EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 00014 00015 THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES, INCLUDING, 00016 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A 00017 PARTICULAR PURPOSE, AND NON-INFRINGEMENT. THIS SOFTWARE IS PROVIDED ON AN 00018 "AS IS" BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE 00019 MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 00020 00021 00022 =========================================================================*/ 00033 #ifndef __vtkParallelFactory_h 00034 #define __vtkParallelFactory_h 00035 00036 #include "vtkObjectFactory.h" 00037 00038 class VTK_PARALLEL_EXPORT vtkParallelFactory : public vtkObjectFactory 00039 { 00040 public: 00041 // Methods from vtkObject 00042 vtkTypeMacro(vtkParallelFactory,vtkObjectFactory); 00043 static vtkParallelFactory *New(); 00044 void PrintSelf(ostream& os, vtkIndent indent); 00045 virtual const char* GetVTKSourceVersion(); 00046 virtual const char* GetDescription(); 00047 protected: 00048 vtkParallelFactory(); 00049 ~vtkParallelFactory() { } 00050 private: 00051 vtkParallelFactory(const vtkParallelFactory&); // Not implemented. 00052 void operator=(const vtkParallelFactory&); // Not implemented. 00053 }; 00054 00055 extern "C" VTK_PARALLEL_EXPORT vtkObjectFactory* vtkLoad(); 00056 #endif