ParaView
vtkMPIMToNSocketConnectionPortInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkMPIMToNSocketConnectionPortInformation.h
5 
6  Copyright (c) Kitware, Inc.
7  All rights reserved.
8  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef vtkMPIMToNSocketConnectionPortInformation_h
25 #define vtkMPIMToNSocketConnectionPortInformation_h
26 
27 #include "vtkPVClientServerCoreCoreModule.h" //needed for exports
28 #include "vtkPVInformation.h"
29 
30 class vtkMPIMToNSocketConnectionPortInformationInternals;
31 
32 class VTKPVCLIENTSERVERCORECORE_EXPORT vtkMPIMToNSocketConnectionPortInformation
33  : public vtkPVInformation
34 {
35 public:
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
43  void SetConnectionInformation(unsigned int processNumber, int portNumber, const char* hostname);
44 
48  int GetNumberOfConnections();
49 
51 
54  int GetProcessPort(unsigned int processNumber);
55  const char* GetProcessHostName(unsigned int processNumber);
57 
61  virtual void CopyFromObject(vtkObject*);
62 
66  virtual void AddInformation(vtkPVInformation*);
67 
69 
72  virtual void CopyToStream(vtkClientServerStream*);
73  virtual void CopyFromStream(const vtkClientServerStream*);
75 
76 protected:
79 
81  vtkMPIMToNSocketConnectionPortInformationInternals* Internals;
82 
83 private:
85  const vtkMPIMToNSocketConnectionPortInformation&) VTK_DELETE_FUNCTION;
86  void operator=(const vtkMPIMToNSocketConnectionPortInformation&) VTK_DELETE_FUNCTION;
87 };
88 
89 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
Store messages for the interpreter.
vtkMPIMToNSocketConnectionPortInformationInternals * Internals
void operator=(const vtkPVInformation &) VTK_DELETE_FUNCTION
void PrintSelf(ostream &os, vtkIndent indent)
virtual void AddInformation(vtkPVInformation *)
Merge another information object.
virtual void CopyToStream(vtkClientServerStream *)=0
Manage a serialized version of the information.
virtual void CopyFromObject(vtkObject *)
Transfer information about a single object into this object.
Superclass for information objects.