VTK
vtkFilteringInformationKeyManager.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkFilteringInformationKeyManager.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm 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 =========================================================================*/
25 #ifndef vtkFilteringInformationKeyManager_h
26 #define vtkFilteringInformationKeyManager_h
27 
28 #include "vtkCommonExecutionModelModule.h" // For export macro
29 #include "vtkSystemIncludes.h"
30 
31 #include "vtkDebugLeaksManager.h" // DebugLeaks exists longer than info keys.
32 
33 class vtkInformationKey;
34 
35 class VTKCOMMONEXECUTIONMODEL_EXPORT vtkFilteringInformationKeyManager
36 {
37 public:
40 
47  static void Register(vtkInformationKey* key);
48 
49 private:
50  // Unimplemented
54 
55  static void ClassInitialize();
56  static void ClassFinalize();
57 };
58 
59 // This instance will show up in any translation unit that uses key
60 // types defined in vtkFiltering or that has a singleton. It will
61 // make sure vtkFilteringInformationKeyManager's vector of keys is
62 // initialized before and destroyed after it is used.
64 
65 #endif
66 // VTK-HeaderTest-Exclude: vtkFilteringInformationKeyManager.h
static vtkFilteringInformationKeyManager vtkFilteringInformationKeyManagerInstance
Superclass for vtkInformation keys.