|
VTK
9.7.20260709
|
Manages key types in vtkCommon. More...
#include <vtkCommonInformationKeyManager.h>
Public Member Functions | |
| vtkCommonInformationKeyManager () | |
| ~vtkCommonInformationKeyManager () | |
Static Public Member Functions | |
| static void | Register (vtkInformationKey *key) |
| Called by constructors of vtkInformationKey subclasses defined in vtkCommon to register themselves with the manager. | |
| static void | Unregister (vtkInformationKey *key) |
| Remove a key from the manager's deletion list. | |
Manages key types in vtkCommon.
vtkCommonInformationKeyManager is included in the header of any subclass of vtkInformationKey defined in the vtkCommon library. It makes sure that the table of keys is created before and destroyed after it is used.
Definition at line 24 of file vtkCommonInformationKeyManager.h.
| vtkCommonInformationKeyManager::vtkCommonInformationKeyManager | ( | ) |
| vtkCommonInformationKeyManager::~vtkCommonInformationKeyManager | ( | ) |
|
static |
Called by constructors of vtkInformationKey subclasses defined in vtkCommon to register themselves with the manager.
The instances will be deleted when vtkCommon is unloaded on program exit.
|
static |
Remove a key from the manager's deletion list.
Called from the key's destructor when the key is destroyed before static finalization (e.g. when Python releases a key created via MakeKey).