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

Servers/Common/vtkProcessModuleGUIHelper.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkProcessModuleGUIHelper.h,v $
00005 
00006   Copyright (c) Kitware, Inc.
00007   All rights reserved.
00008   See Copyright.txt or http://www.paraview.org/HTML/Copyright.html 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 =========================================================================*/
00021 #ifndef __vtkProcessModuleGUIHelper_h
00022 #define __vtkProcessModuleGUIHelper_h
00023 
00024 #include "vtkObject.h"
00025 
00026 class vtkProcessModule;
00027 class vtkPVOptions;
00028 
00029 class VTK_EXPORT vtkProcessModuleGUIHelper : public vtkObject
00030 {
00031 public:
00032   vtkTypeRevisionMacro(vtkProcessModuleGUIHelper,vtkObject);
00033   void PrintSelf(ostream& os, vtkIndent indent);
00034 
00039   virtual int Run(vtkPVOptions* options);
00040   
00042   virtual int RunGUIStart(int argc, char **argv, int numServerProcs, int myId) = 0; 
00043 
00045   virtual int OpenConnectionDialog(int* start) = 0;
00046   
00048 
00049   virtual void SendPrepareProgress() = 0;
00050   virtual void SendCleanupPendingProgress() = 0;
00051   virtual void SetLocalProgress(const char* filter, int progress) = 0;
00053   
00055   virtual void ExitApplication() = 0;
00056 
00057   // Set the Process module pointer
00058   virtual void SetProcessModule(vtkProcessModule*);
00059 
00061 
00063   virtual void PopupDialog(const char* title, const char* text)
00064     {
00065     (void) title;
00066     (void) text;
00067     }
00068   virtual int UpdatePopup() { return 1; }
00069   virtual void ClosePopup() { }
00070   //ETX
00072 
00073 protected:
00074   vtkProcessModuleGUIHelper();
00075 
00076   vtkProcessModule* ProcessModule;
00077   
00078 private:
00079   vtkProcessModuleGUIHelper(const vtkProcessModuleGUIHelper&); // Not implemented
00080   void operator=(const vtkProcessModuleGUIHelper&); // Not implemented
00081 };
00082 
00083 #endif

Generated on Tue May 30 12:31:45 2006 for ParaView by doxygen 1.3.5