ParaView
vtkPVClassNameInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVClassNameInformation.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 vtkPVClassNameInformation_h
25 #define vtkPVClassNameInformation_h
26 
27 #include "vtkPVClientServerCoreCoreModule.h" //needed for exports
28 #include "vtkPVInformation.h"
29 
30 class VTKPVCLIENTSERVERCORECORE_EXPORT vtkPVClassNameInformation : public vtkPVInformation
31 {
32 public:
33  static vtkPVClassNameInformation* New();
35  void PrintSelf(ostream& os, vtkIndent indent);
36 
38 
46  vtkSetMacro(PortNumber, int);
48 
50 
53  vtkGetStringMacro(VTKClassName);
55 
59  virtual void CopyFromObject(vtkObject*);
60 
64  virtual void AddInformation(vtkPVInformation*);
65 
67 
70  virtual void CopyToStream(vtkClientServerStream*);
71  virtual void CopyFromStream(const vtkClientServerStream*);
73 
75 
81  virtual void CopyParametersToStream(vtkMultiProcessStream&);
82  virtual void CopyParametersFromStream(vtkMultiProcessStream&);
84 
85 protected:
88 
90  char* VTKClassName;
91  vtkSetStringMacro(VTKClassName);
92 
93 private:
94  vtkPVClassNameInformation(const vtkPVClassNameInformation&) VTK_DELETE_FUNCTION;
95  void operator=(const vtkPVClassNameInformation&) VTK_DELETE_FUNCTION;
96 };
97 
98 #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.
Store messages for the interpreter.
void operator=(const vtkPVInformation &) VTK_DELETE_FUNCTION
void PrintSelf(ostream &os, vtkIndent indent)
virtual void CopyParametersFromStream(vtkMultiProcessStream &)
Serialize/Deserialize the parameters that control how/what information is gathered.
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.