Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

vtkDummyController.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkDummyController.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 =========================================================================*/
00025 #ifndef __vtkDummyController_h
00026 #define __vtkDummyController_h
00027 
00028 #include "vtkMultiProcessController.h"
00029 
00030 class VTK_PARALLEL_EXPORT vtkDummyController : public vtkMultiProcessController
00031 {
00032 public:
00033   static vtkDummyController *New();
00034   vtkTypeRevisionMacro(vtkDummyController,vtkMultiProcessController);
00035   void PrintSelf(ostream& os, vtkIndent indent);
00036 
00038 
00039   virtual void Initialize(int*, char***, int) {}
00040   virtual void Initialize(int*, char***) {}
00041   virtual void Finalize() {}
00042   virtual void Finalize(int) {}
00044 
00046   int GetLocalProcessId() { return 0; }
00047 
00049   virtual void SingleMethodExecute() {}
00050   
00052   virtual void MultipleMethodExecute() {}
00053 
00055   virtual void Barrier() {}
00056 
00058   virtual void CreateOutputWindow() {}
00059 
00060 protected:
00061   vtkDummyController() {}
00062   ~vtkDummyController() {}
00063   
00064 private:
00065   vtkDummyController(const vtkDummyController&);  // Not implemented.
00066   void operator=(const vtkDummyController&);  // Not implemented.
00067 };
00068 
00069 #endif
00070 
00071 

Generated on Mon Jan 21 23:07:33 2008 for VTK by  doxygen 1.4.3-20050530