ParaView
vtkPVCacheSizeInformation.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: ParaView
4  Module: vtkPVCacheSizeInformation.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 =========================================================================*/
23 #ifndef vtkPVCacheSizeInformation_h
24 #define vtkPVCacheSizeInformation_h
25 
26 #include "vtkPVClientServerCoreRenderingModule.h" //needed for exports
27 #include "vtkPVInformation.h"
28 
29 class VTKPVCLIENTSERVERCORERENDERING_EXPORT vtkPVCacheSizeInformation : public vtkPVInformation
30 {
31 public:
32  static vtkPVCacheSizeInformation* New();
34  void PrintSelf(ostream& os, vtkIndent indent);
35 
39  virtual void CopyFromObject(vtkObject*);
40 
44  virtual void AddInformation(vtkPVInformation*);
45 
47 
50  virtual void CopyToStream(vtkClientServerStream*);
51  virtual void CopyFromStream(const vtkClientServerStream*);
53 
54  vtkGetMacro(CacheSize, unsigned long);
55  vtkSetMacro(CacheSize, unsigned long);
56 
57 protected:
60 
61  unsigned long CacheSize;
62 
63 private:
64  vtkPVCacheSizeInformation(const vtkPVCacheSizeInformation&) VTK_DELETE_FUNCTION;
65  void operator=(const vtkPVCacheSizeInformation&) VTK_DELETE_FUNCTION;
66 };
67 
68 #endif
information obeject to collect cache size information from a vtkCacheSizeKeeper.
virtual void CopyFromStream(const vtkClientServerStream *)
Manage a serialized version of the information.
Store messages for the interpreter.
void operator=(const vtkPVInformation &) VTK_DELETE_FUNCTION
void PrintSelf(ostream &os, vtkIndent indent)
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.