AAX SDK
2.4.1
Avid Audio Extensions Development Kit
Welcome
Manual
Classes
Files
Lists
Support
File List
File Members
Interfaces
AAX_CAutoreleasePool.h
Go to the documentation of this file.
1
/*================================================================================================*/
2
/*
3
4
* Copyright 2014-2015 by Avid Technology, Inc.
5
* All rights reserved.
6
*
7
* CONFIDENTIAL: This document contains confidential information. Do not
8
* read or examine this document unless you are an Avid Technology employee
9
* or have signed a non-disclosure agreement with Avid Technology which protects
10
* the confidentiality of this document. DO NOT DISCLOSE ANY INFORMATION
11
* CONTAINED IN THIS DOCUMENT TO ANY THIRD-PARTY WITHOUT THE PRIOR WRITTEN CONSENT
12
* OF Avid Technology, INC.
13
*
14
*/
15
21
/*================================================================================================*/
22
23
24
#pragma once
25
26
#ifndef _AAX_CAUTORELEASEPOOL_H_
27
#define _AAX_CAUTORELEASEPOOL_H_
28
29
30
/* \brief Creates an autorelease pool for the scope of the stack based class
31
to clearn up any autoreleased memory that was allocated in the lifetime of
32
the pool.
33
34
\details
35
This may be used on either Mac or Windows platforms and will not pull in
36
any Cocoa dependencies.
37
38
usage:
39
\code
40
{
41
AAX_CAutoreleasePool myAutoReleasePool
42
delete myCocoaObject;
43
44
// Pool is released when the AAX_CAutoreleasePool is destroyed
45
}
46
\endcode
47
*/
48
class
AAX_CAutoreleasePool
49
{
50
public
:
51
AAX_CAutoreleasePool
();
52
~AAX_CAutoreleasePool
();
53
54
private
:
55
AAX_CAutoreleasePool
(
const
AAX_CAutoreleasePool
&);
56
AAX_CAutoreleasePool
& operator= (
const
AAX_CAutoreleasePool
&);
57
58
private
:
59
void
* mAutoreleasePool;
60
};
61
62
63
#endif
// #ifndef _AAX_CAUTORELEASEPOOL_H_
AAX_CAutoreleasePool
Definition:
AAX_CAutoreleasePool.h:49
AAX_CAutoreleasePool::~AAX_CAutoreleasePool
~AAX_CAutoreleasePool()
AAX_CAutoreleasePool::AAX_CAutoreleasePool
AAX_CAutoreleasePool()
© 2021 Avid Technology, Inc. All rights reserved.
This product may be protected by one or more U.S. and non-U.S. patents. Details are available at
www.avid.com/patents
.
Generated on Wed Oct 5 2022 16:22:24 for AAX SDK by
1.9.1