VTK
9.7.1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Rendering
UI
vtkCocoaAutoreleasePool.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
3
4
#ifndef vtkCocoaAutoreleasePool_h
5
#define vtkCocoaAutoreleasePool_h
6
7
#include "vtkRenderingUIModule.h"
// For export macro
8
#include "
vtkSystemIncludes.h
"
9
17
VTK_ABI_NAMESPACE_BEGIN
18
class
VTKRENDERINGUI_EXPORT
vtkCocoaAutoreleasePool
19
{
20
public
:
21
vtkCocoaAutoreleasePool
();
22
~
vtkCocoaAutoreleasePool
();
23
31
void
Release
();
32
33
private
:
34
vtkCocoaAutoreleasePool
(
const
vtkCocoaAutoreleasePool
&) =
delete
;
35
vtkCocoaAutoreleasePool
& operator=(
const
vtkCocoaAutoreleasePool
&) =
delete
;
36
37
void
* Pool;
// Pointer to NSAutoreleasePool
38
};
39
40
VTK_ABI_NAMESPACE_END
41
42
#endif // vtkCocoaAutoreleasePool_h
vtkCocoaAutoreleasePool
RAII class to create an NSAutoreleasePool.
Definition:
vtkCocoaAutoreleasePool.h:18
vtkSystemIncludes.h
vtkEventDataAction::Release
Generated on Tue Oct 20 2026 10:48:49 for VTK by
1.8.10