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 =========================================================================*/
24 #ifndef vtkPVDataAssemblyInformation_h
25 #define vtkPVDataAssemblyInformation_h
26 
27 #include "vtkPVInformation.h"
28 #include "vtkRemotingCoreModule.h" //needed for exports
29 
30 class vtkDataAssembly;
31 
33 {
34 public:
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
40 
43  vtkSetStringMacro(MethodName);
44  vtkGetStringMacro(MethodName);
46 
47  vtkGetObjectMacro(DataAssembly, vtkDataAssembly);
48 
50  void CopyFromObject(vtkObject*) override;
51  void CopyToStream(vtkClientServerStream*) override;
52  void CopyFromStream(const vtkClientServerStream*) override;
56 
57 protected:
59  ~vtkPVDataAssemblyInformation() override;
60 
61 private:
63  void operator=(const vtkPVDataAssemblyInformation&) = delete;
64 
65  void SetDataAssembly(vtkDataAssembly*);
66 
67  vtkDataAssembly* DataAssembly;
68  char* MethodName;
69 };
70 
71 #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
fetches vtkDataAssembly from a vtkObject subclass
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.