vtkPVDataAssemblyInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVDataAssemblyInformation.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 =========================================================================*/
26 #ifndef vtkPVDataAssemblyInformation_h
27 #define vtkPVDataAssemblyInformation_h
28 
29 #include "vtkPVInformation.h"
30 #include "vtkRemotingCoreModule.h" //needed for exports
31 #include "vtkSmartPointer.h" // for vtkSmartPointer
32 
33 class vtkDataAssembly;
35 {
36 public:
39  void PrintSelf(ostream& os, vtkIndent indent) override;
40 
41  void Initialize();
42 
44 
49  vtkSetMacro(PortNumber, int);
50  vtkGetMacro(PortNumber, int);
52 
56  void CopyFromObject(vtkObject*) override;
57 
59 
62  void CopyToStream(vtkClientServerStream*) override;
63  void CopyFromStream(const vtkClientServerStream*) override;
67 
71  vtkDataAssembly* GetDataAssembly();
72 
73 protected:
76 
77 private:
79  void operator=(const vtkPVDataAssemblyInformation&) = delete;
80 
82  int PortNumber;
83 };
84 
85 #endif
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
virtual void CopyParametersToStream(vtkMultiProcessStream &)
Serialize/Deserialize the parameters that control how/what information is gathered.
void PrintSelf(ostream &os, vtkIndent indent) override
information to collect vtkDataAssembly
Store messages for the interpreter.
void operator=(const vtkPVInformation &)=delete
#define VTKREMOTINGCORE_EXPORT
virtual void CopyParametersFromStream(vtkMultiProcessStream &)
Serialize/Deserialize the parameters that control how/what information is gathered.
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.