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

GUI/Client/vtkPVConnectDialog.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   ParaView
00004   Module:    $RCSfile: vtkPVConnectDialog.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 =========================================================================*/
00030 #ifndef __vtkPVConnectDialog_h
00031 #define __vtkPVConnectDialog_h
00032 
00033 #include "vtkKWMessageDialog.h"
00034 
00035 class vtkKWCheckButtonWithLabel;
00036 class vtkKWEntry;
00037 class vtkKWLabel;
00038 class vtkKWScaleWithEntry;
00039 class vtkKWEntryWithLabel;
00040 class vtkKWComboBoxWithLabel;
00041 class vtkKWApplication;
00042 class vtkStringList;
00043 
00044 class VTK_EXPORT vtkPVConnectDialog : public vtkKWMessageDialog
00045 {
00046 public:
00047   static vtkPVConnectDialog* New();
00048   vtkTypeRevisionMacro(vtkPVConnectDialog, vtkKWMessageDialog);
00049   void PrintSelf(ostream& os, vtkIndent indent);
00050 
00051   // Create the widget.
00052   void Create(vtkKWApplication* app);
00053 
00054   void OK();
00055   void SetHostname(const char* hn);
00056   const char* GetHostName();
00057   void SetPortNumber(int pt);
00058   int GetPortNumber();
00059   void MPICheckBoxCallback();
00060 
00061   void SetListOfServers(const char* list);
00062   const char* GetListOfServers();
00063 
00064   vtkSetMacro(MultiProcessMode, int);
00065   vtkGetMacro(MultiProcessMode, int);
00066   vtkSetMacro(NumberOfProcesses, int);
00067   vtkGetMacro(NumberOfProcesses, int);
00068 
00069   vtkSetStringMacro(SSHUser);
00070   vtkGetStringMacro(SSHUser);
00071 
00072 protected:
00073   vtkPVConnectDialog();
00074   ~vtkPVConnectDialog();
00075 
00076   vtkKWEntry* Username;
00077   vtkKWComboBoxWithLabel* Hostname;
00078   vtkKWEntryWithLabel* Port;
00079   vtkKWLabel* Label;
00080   vtkKWCheckButtonWithLabel* MPIMode;
00081   vtkKWScaleWithEntry* MPINumberOfServers;
00082 
00083   vtkSetStringMacro(HostnameString);
00084   char* HostnameString;
00085   char* SSHUser;
00086   int PortInt;
00087   int MultiProcessMode;
00088   int NumberOfProcesses;
00089 
00090   vtkStringList *Servers;
00091 
00092   vtkSetStringMacro(ListOfServersString);
00093   char* ListOfServersString;
00094 
00095 
00096 private:
00097   vtkPVConnectDialog(const vtkPVConnectDialog&); // Not implemented
00098   void operator=(const vtkPVConnectDialog&); // Not implemented
00099 };
00100 
00101 #endif
00102 
00103 

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