HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
GT_Memory.h
Go to the documentation of this file.
1
/*
2
* PROPRIETARY INFORMATION. This software is proprietary to
3
* Side Effects Software Inc., and is not to be reproduced,
4
* transmitted, or disclosed in any way without written permission.
5
*
6
* NAME: GT_Memory.h ( GT Library, C++)
7
*
8
* COMMENTS: Class to keep track of memory usage
9
*/
10
11
#ifndef __GT_Memory__
12
#define __GT_Memory__
13
14
#include "
GT_API.h
"
15
#include <
UT/UT_Memory.h
>
16
17
enum
GT_MemUser
{
18
GT_MEM_DEBUG
= 0,
// This can be used to track down discrepancies
19
20
GT_MEM_CACHE
,
21
22
GT_MEM_STRUCTS
,
// Book-keeping structures
23
24
GT_MEM_DATA
,
// Memory used by data arrays
25
GT_MEM_PRIMITIVE
,
// Memory used by primitives
26
GT_MEM_ATTRIBLIST
,
// Attribute list memory
27
28
GT_MEM_REFINE
,
// Memory acquired during refinement
29
30
GT_MEM_GEO
,
// Geometry library memory users
31
GT_MEM_USER
,
// User primitive memory use
32
33
GT_MEM_TRIM
,
// Trim curves
34
35
GT_MEM_XFORM
,
// Transforms
36
37
GT_MEM_MISC
,
// Other memory usage
38
39
GT_MAX_MEM_USERS
// Sentinal
40
};
41
42
class
GT_API
GT_Memory
:
UT_Memory
{
43
public
:
44
SYS_MEMORY_SUBCLASS
(
static
, , theGTMemoryTable)
45
46
private
:
47
static
SYS_MemoryTable
theGTMemoryTable;
48
};
49
50
#endif
GT_Memory
Definition:
GT_Memory.h:42
GT_MemUser
GT_MemUser
Definition:
GT_Memory.h:17
GT_API
#define GT_API
Definition:
GT_API.h:13
GT_MEM_ATTRIBLIST
Definition:
GT_Memory.h:26
GT_MEM_DEBUG
Definition:
GT_Memory.h:18
GT_MEM_XFORM
Definition:
GT_Memory.h:35
GT_API.h
GT_MEM_USER
Definition:
GT_Memory.h:31
GT_MEM_STRUCTS
Definition:
GT_Memory.h:22
SYS_MemoryTable
Definition:
SYS_Memory.h:105
UT_Memory
Definition:
UT_Memory.h:34
UT_Memory.h
GT_MEM_PRIMITIVE
Definition:
GT_Memory.h:25
SYS_MEMORY_SUBCLASS
#define SYS_MEMORY_SUBCLASS(STATIC, prefix, table)
Definition:
SYS_Memory.h:248
GT_MEM_MISC
Definition:
GT_Memory.h:37
GT_MEM_GEO
Definition:
GT_Memory.h:30
GT_MEM_TRIM
Definition:
GT_Memory.h:33
GT_MEM_CACHE
Definition:
GT_Memory.h:20
GT_MEM_REFINE
Definition:
GT_Memory.h:28
GT_MEM_DATA
Definition:
GT_Memory.h:24
GT_MAX_MEM_USERS
Definition:
GT_Memory.h:39
GT
GT_Memory.h
Generated on Tue Dec 17 2024 03:39:45 for HDK by
1.8.6