vtkMPIMToNSocketConnectionPortInformation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
12 #ifndef vtkMPIMToNSocketConnectionPortInformation_h
13 #define vtkMPIMToNSocketConnectionPortInformation_h
14 
15 #include "vtkPVInformation.h"
16 #include "vtkRemotingCoreModule.h" //needed for exports
17 
18 class vtkMPIMToNSocketConnectionPortInformationInternals;
19 
21 {
22 public:
25  void PrintSelf(ostream& os, vtkIndent indent) override;
26 
30  void SetConnectionInformation(unsigned int processNumber, int portNumber, const char* hostname);
31 
35  int GetNumberOfConnections();
36 
38 
41  int GetProcessPort(unsigned int processNumber);
42  const char* GetProcessHostName(unsigned int processNumber);
44 
48  void CopyFromObject(vtkObject*) override;
49 
53  void AddInformation(vtkPVInformation*) override;
54 
56 
59  void CopyToStream(vtkClientServerStream*) override;
60  void CopyFromStream(const vtkClientServerStream*) override;
62 
63 protected:
66 
68  vtkMPIMToNSocketConnectionPortInformationInternals* Internals;
69 
70 private:
74 };
75 
76 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
void PrintSelf(ostream &os, vtkIndent indent) override
Store messages for the interpreter.
vtkMPIMToNSocketConnectionPortInformationInternals * Internals
void operator=(const vtkPVInformation &)=delete
#define VTKREMOTINGCORE_EXPORT
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.
static vtkObject * New()
Superclass for information objects.