VTK
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dox
Common
vtkCommonInformationKeyManager.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkCommonInformationKeyManager.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
=========================================================================*/
24
#ifndef __vtkCommonInformationKeyManager_h
25
#define __vtkCommonInformationKeyManager_h
26
27
#include "
vtkSystemIncludes.h
"
28
29
#include "
vtkDebugLeaksManager.h
"
// DebugLeaks exists longer than info keys.
30
31
class
vtkInformationKey
;
32
33
class
VTK_COMMON_EXPORT
vtkCommonInformationKeyManager
34
{
35
public
:
36
vtkCommonInformationKeyManager
();
37
~
vtkCommonInformationKeyManager
();
38
42
static
void
Register(
vtkInformationKey
* key);
43
44
private
:
45
static
void
ClassInitialize();
46
static
void
ClassFinalize();
47
};
48
49
// This instance will show up in any translation unit that uses key
50
// types defined in vtkCommon or that has a singleton. It will
51
// make sure vtkCommonInformationKeyManager's vector of keys is
52
// initialized before and destroyed after it is used.
53
static
vtkCommonInformationKeyManager
vtkCommonInformationKeyManagerInstance
;
54
55
#endif
vtkSystemIncludes.h
vtkDebugLeaksManager.h
vtkInformationKey
Superclass for vtkInformation keys.
Definition:
vtkInformationKey.h:36
VTK_COMMON_EXPORT
#define VTK_COMMON_EXPORT
Definition:
vtkWin32Header.h:269
vtkCommonInformationKeyManager
Manages key types in vtkCommon.
Definition:
vtkCommonInformationKeyManager.h:33
vtkCommonInformationKeyManagerInstance
static vtkCommonInformationKeyManager vtkCommonInformationKeyManagerInstance
Definition:
vtkCommonInformationKeyManager.h:53
Generated on Thu Oct 24 2019 21:14:24 for VTK by
1.8.6