00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Side Effects Software Inc 00008 * 123 Front Street West, Suite 1401 00009 * Toronto, Ontario 00010 * Canada M5J 2M2 00011 * 416-504-9876 00012 * 00013 * NAME: PRM_Memory.h ( PRM Library, C++) 00014 * 00015 * COMMENTS: Memory tracking for PRM 00016 */ 00017 00018 #ifndef __PRM_Memory__ 00019 #define __PRM_Memory__ 00020 00021 #include "PRM_API.h" 00022 #include <UT/UT_Memory.h> 00023 00024 enum PRM_MemUser { 00025 PRM_MEM_DEBUG = 0, 00026 00027 PRM_MEM_SETVALUE, // Set value evaluation 00028 00029 PRM_MAX_MEM_USERS 00030 }; 00031 00032 class PRM_API PRM_Memory { 00033 public: 00034 SYS_MEMORY_SUBCLASS(static, , thePRMMemoryTable) 00035 00036 static void printUsage(UT_WorkBuffer &buf); 00037 00038 private: 00039 static SYS_MemoryTable thePRMMemoryTable; 00040 }; 00041 00042 #endif 00043
1.5.9