NVIDIA Iray: Base API
Home
Up
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
iallocator.h
Go to the documentation of this file.
1
//*****************************************************************************
2
// Copyright 1986, 2016 NVIDIA Corporation. All rights reserved.
3
//*****************************************************************************
9
//*****************************************************************************
10
11
#ifndef MI_BASE_IALLOCATOR_H
12
#define MI_BASE_IALLOCATOR_H
13
14
#include <
mi/base/types.h
>
15
#include <
mi/base/iinterface.h
>
16
#include <
mi/base/interface_declare.h
>
17
18
namespace
mi
19
{
20
21
namespace
base
22
{
23
49
class
IAllocator
:
public
50
Interface_declare
<0xa1836db8,0x6f63,0x4079,0x82,0x82,0xb3,0x5d,0x17,0x36,0x96,0xef>
51
{
52
public
:
74
virtual
void
*
malloc
(
Size
size) = 0;
75
84
virtual
void
free
(
void
* memory) = 0;
85
};
86
87
// end group mi_base_iallocator
89
90
}
// namespace base
91
}
// namespace mi
92
93
#endif // MI_BASE_IALLOCATOR_H
mi
base
iallocator.h
Generated on Fri Mar 4 2016 19:53:22. Build 250909.11169, Doxygen 1.8.4