Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members File Members Related Pages

# Parallel/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 =========================================================================*/
    00040 #ifndef __vtkDummyController_h
    00041 #define __vtkDummyController_h
    00042
    00043 #include "vtkMultiProcessController.h"
    00044
    00045 class VTK_PARALLEL_EXPORT vtkDummyController : public vtkMultiProcessController
    00046 {
    00047 public:
    00048   static vtkDummyController *New();
    00049   vtkTypeRevisionMacro(vtkDummyController,vtkMultiProcessController);
    00050   void PrintSelf(ostream& os, vtkIndent indent);
    00051
    00053
    00054   virtual void Initialize(int*, char***, int) {}
    00055   virtual void Initialize(int*, char***) {}
    00056   virtual void Finalize() {}
    00057   virtual void Finalize(int) {}
    00059
    00061   int GetLocalProcessId() { return 0; }
    00062
    00064   virtual void SingleMethodExecute() {}
    00065
    00067   virtual void MultipleMethodExecute() {}
    00068
    00070   virtual void Barrier() {}
    00071
    00073   virtual void CreateOutputWindow() {}
    00074
    00075 protected:
    00076   vtkDummyController() {}
    00077   ~vtkDummyController() {}
    00078
    00079 private:
    00080   vtkDummyController(const vtkDummyController&);  // Not implemented.
    00081   void operator=(const vtkDummyController&);  // Not implemented.
    00082 };
    00083
    00084 #endif
    00085
    00086