VTK
9.3.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Common
Core
vtkCommonInformationKeyManager.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
13
#ifndef vtkCommonInformationKeyManager_h
14
#define vtkCommonInformationKeyManager_h
15
16
#include "vtkCommonCoreModule.h"
// For export macro
17
#include "
vtkSystemIncludes.h
"
18
19
#include "
vtkDebugLeaksManager.h
"
// DebugLeaks exists longer than info keys.
20
21
VTK_ABI_NAMESPACE_BEGIN
22
class
vtkInformationKey
;
23
24
class
VTKCOMMONCORE_EXPORT
vtkCommonInformationKeyManager
25
{
26
public
:
27
vtkCommonInformationKeyManager
();
28
~
vtkCommonInformationKeyManager
();
29
36
static
void
Register(
vtkInformationKey
*
key
);
37
38
private
:
39
// Unimplemented
40
vtkCommonInformationKeyManager
(
const
vtkCommonInformationKeyManager
&) =
delete
;
41
vtkCommonInformationKeyManager
& operator=(
const
vtkCommonInformationKeyManager
&) =
delete
;
42
43
static
void
ClassInitialize();
44
static
void
ClassFinalize();
45
};
46
47
// This instance will show up in any translation unit that uses key
48
// types defined in vtkCommon or that has a singleton. It will
49
// make sure vtkCommonInformationKeyManager's vector of keys is
50
// initialized before and destroyed after it is used.
51
static
vtkCommonInformationKeyManager
vtkCommonInformationKeyManagerInstance
;
52
53
VTK_ABI_NAMESPACE_END
54
#endif
55
// VTK-HeaderTest-Exclude: vtkCommonInformationKeyManager.h
vtkSystemIncludes.h
vtkDebugLeaksManager.h
vtkInformationKey
Superclass for vtkInformation keys.
Definition:
vtkInformationKey.h:30
vtkCommonInformationKeyManager
Manages key types in vtkCommon.
Definition:
vtkCommonInformationKeyManager.h:24
vtkCommonInformationKeyManagerInstance
static vtkCommonInformationKeyManager vtkCommonInformationKeyManagerInstance
Definition:
vtkCommonInformationKeyManager.h:51
vtkX3D::key
Definition:
vtkX3D.h:257
Generated on Sun Dec 8 2024 22:10:10 for VTK by
1.8.10