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   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00029 #ifndef __vtkDummyController_h
00030 #define __vtkDummyController_h
00031 
00032 #include "vtkMultiProcessController.h"
00033 
00034 class VTK_PARALLEL_EXPORT vtkDummyController : public vtkMultiProcessController
00035 {
00036 public:
00037   static vtkDummyController *New();
00038   vtkTypeRevisionMacro(vtkDummyController,vtkMultiProcessController);
00039   void PrintSelf(ostream& os, vtkIndent indent);
00040 
00042 
00043   virtual void Initialize(int*, char***, int) {}
00044   virtual void Initialize(int*, char***) {}
00045   virtual void Finalize() {}
00046   virtual void Finalize(int) {}
00048 
00050   int GetLocalProcessId() { return 0; }
00051 
00053   virtual void SingleMethodExecute() {}
00054   
00056   virtual void MultipleMethodExecute() {}
00057 
00059   virtual void Barrier() {}
00060 
00062   virtual void CreateOutputWindow() {}
00063 
00064 protected:
00065   vtkDummyController() {}
00066   ~vtkDummyController() {}
00067   
00068 private:
00069   vtkDummyController(const vtkDummyController&);  // Not implemented.
00070   void operator=(const vtkDummyController&);  // Not implemented.
00071 };
00072 
00073 #endif
00074 
00075