VTK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
home
boeckb
code
depot
group-kitware
vtk
build-release
Utilities
Doxygen
dox
Common
Core
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 "
vtkCommonCoreModule.h
"
// For export macro
28
#include "
vtkSystemIncludes.h
"
29
30
#include "
vtkDebugLeaksManager.h
"
// DebugLeaks exists longer than info keys.
31
32
class
vtkInformationKey
;
33
34
class
VTKCOMMONCORE_EXPORT
vtkCommonInformationKeyManager
35
{
36
public
:
37
vtkCommonInformationKeyManager
();
38
~
vtkCommonInformationKeyManager
();
39
43
static
void
Register(
vtkInformationKey
*
key
);
44
45
private
:
46
static
void
ClassInitialize();
47
static
void
ClassFinalize();
48
};
49
50
// This instance will show up in any translation unit that uses key
51
// types defined in vtkCommon or that has a singleton. It will
52
// make sure vtkCommonInformationKeyManager's vector of keys is
53
// initialized before and destroyed after it is used.
54
static
vtkCommonInformationKeyManager
vtkCommonInformationKeyManagerInstance
;
55
56
#endif
57
// VTK-HeaderTest-Exclude: vtkCommonInformationKeyManager.h
vtkSystemIncludes.h
vtkCommonCoreModule.h
VTKCOMMONCORE_EXPORT
#define VTKCOMMONCORE_EXPORT
Definition:
vtkCommonCoreModule.h:15
vtkDebugLeaksManager.h
vtkInformationKey
Superclass for vtkInformation keys.
Definition:
vtkInformationKey.h:37
vtkCommonInformationKeyManager
Manages key types in vtkCommon.
Definition:
vtkCommonInformationKeyManager.h:34
vtkCommonInformationKeyManagerInstance
static vtkCommonInformationKeyManager vtkCommonInformationKeyManagerInstance
Definition:
vtkCommonInformationKeyManager.h:54
vtkX3D::key
Definition:
vtkX3D.h:257
Generated by
1.8.9.1