vtkPVMultiClientsInformation.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2 // SPDX-License-Identifier: BSD-3-Clause
11 #ifndef vtkPVMultiClientsInformation_h
12 #define vtkPVMultiClientsInformation_h
13 
14 #include "vtkPVInformation.h"
15 #include "vtkRemotingServerManagerModule.h" //needed for exports
16 
18 
20 {
21 public:
24  void PrintSelf(ostream& os, vtkIndent indent) override;
25 
27 
31  void CopyFromObject(vtkObject*) override;
32 
36  void AddInformation(vtkPVInformation*) override;
37 
39 
42  void CopyToStream(vtkClientServerStream*) override;
43  void CopyFromStream(const vtkClientServerStream*) override;
45 
47 
50  vtkGetMacro(ClientId, int);
52 
57  int GetClientId(int idx);
58 
60 
63  vtkGetMacro(NumberOfClients, int);
65 
67 
70  vtkGetMacro(MultiClientEnable, int);
72 
74 
77  vtkGetMacro(MasterId, int);
79 
80 protected:
82  ~vtkPVMultiClientsInformation() override;
83 
84  int ClientId;
85  int* ClientIds;
88  int MasterId;
89 
91  void operator=(const vtkPVMultiClientsInformation&) = delete;
92 };
93 
94 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
#define VTKREMOTINGSERVERMANAGER_EXPORT
void PrintSelf(ostream &os, vtkIndent indent) override
void DeepCopy(vtkPistonReference *self, vtkPistonReference *other)
Store messages for the interpreter.
Gets Multi-clients information from the server.
void operator=(const vtkPVInformation &)=delete
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.