\hypertarget{_ogre_memory_allocator_config_8h}{}\doxysection{Ogre\+Memory\+Allocator\+Config.\+h File Reference}
\label{_ogre_memory_allocator_config_8h}\index{OgreMemoryAllocatorConfig.h@{OgreMemoryAllocatorConfig.h}}
{\ttfamily \#include \char`\"{}Ogre\+Aligned\+Allocator.\+h\char`\"{}}\newline
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{class_ogre_1_1_allocated_object}{Ogre\+::\+Allocated\+Object$<$ Category $>$}}
\item 
class \mbox{\hyperlink{class_ogre_1_1_alloc_policy}{Ogre\+::\+Alloc\+Policy}}
\end{DoxyCompactItemize}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespace_ogre}{Ogre}}
\end{DoxyCompactItemize}
\doxysubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group___general_ga3211e4a6a806aa789b38dce2432ef472}{O\+G\+R\+E\+\_\+\+A\+L\+L\+O\+C\+\_\+T}}(T,  count,  category)~(T$\ast$)new char\mbox{[}(count) $\ast$ sizeof(T)\mbox{]}
\begin{DoxyCompactList}\small\item\em Allocate a block of memory for a primitive type, and indicate the category of usage. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___general_gad18eff671a00617b21c8e35a7f545690}{O\+G\+R\+E\+\_\+\+D\+E\+L\+E\+TE}}~delete
\item 
\#define \mbox{\hyperlink{group___general_gab9f9fa14d424036dc5881cbcb3c741e0}{O\+G\+R\+E\+\_\+\+D\+E\+L\+E\+T\+E\+\_\+\+A\+R\+R\+A\+Y\+\_\+T}}(ptr,  T,  count,  category)~delete\mbox{[}$\,$\mbox{]} ptr
\begin{DoxyCompactList}\small\item\em Free the memory allocated with O\+G\+R\+E\+\_\+\+N\+E\+W\+\_\+\+A\+R\+R\+A\+Y\+\_\+T. Category is required to be restated to ensure the matching policy is used, count and type to call destructor. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___general_ga0b0974da65362dd8a14071e7f6e4daca}{O\+G\+R\+E\+\_\+\+D\+E\+L\+E\+T\+E\+\_\+T}}(ptr,  T,  category)~delete ptr
\begin{DoxyCompactList}\small\item\em Free the memory allocated with O\+G\+R\+E\+\_\+\+N\+E\+W\+\_\+T. Category is required to be restated to ensure the matching policy is used. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___general_gacfd8dc937cf390c7bff05495f0dc10cf}{O\+G\+R\+E\+\_\+\+F\+R\+EE}}(ptr,  category)~delete\mbox{[}$\,$\mbox{]} (char$\ast$)ptr
\begin{DoxyCompactList}\small\item\em Free the memory allocated with O\+G\+R\+E\+\_\+\+M\+A\+L\+L\+OC or O\+G\+R\+E\+\_\+\+A\+L\+L\+O\+C\+\_\+T. Category is required to be restated to ensure the matching policy is used. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___general_gaf7501eb098fc6671420c628dc80af2a8}{O\+G\+R\+E\+\_\+\+F\+R\+E\+E\+\_\+\+S\+I\+MD}}(ptr,  category)~\+::\mbox{\hyperlink{class_ogre_1_1_aligned_memory_aec9665c128b282869284a6025520adee}{Ogre\+::\+Aligned\+Memory\+::deallocate}}((void$\ast$)ptr)
\begin{DoxyCompactList}\small\item\em Free the memory allocated with either O\+G\+R\+E\+\_\+\+M\+A\+L\+L\+O\+C\+\_\+\+S\+I\+MD or O\+G\+R\+E\+\_\+\+A\+L\+L\+O\+C\+\_\+\+T\+\_\+\+S\+I\+MD. Category is required to be restated to ensure the matching policy is used. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___general_ga2382b731c3d757f74f0fedf2b14ed9d6}{O\+G\+R\+E\+\_\+\+M\+A\+L\+L\+OC}}(bytes,  category)~(void$\ast$)new char\mbox{[}bytes\mbox{]}
\begin{DoxyCompactList}\small\item\em Allocate a block of raw memory, and indicate the category of usage. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___general_gafd7ddaef10ac9ea1ffbd18902167b9a2}{O\+G\+R\+E\+\_\+\+M\+A\+L\+L\+O\+C\+\_\+\+S\+I\+MD}}(bytes,  category)~\+::\mbox{\hyperlink{class_ogre_1_1_aligned_memory_a63bd1c2f3f55b989331a04fccc07356a}{Ogre\+::\+Aligned\+Memory\+::allocate}}(bytes)
\begin{DoxyCompactList}\small\item\em Allocate a block of raw memory aligned to S\+I\+MD boundaries, and indicate the category of usage. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___general_gab5fc1358fd5a889de0a06d07e45df1ff}{O\+G\+R\+E\+\_\+\+N\+EW}}~new
\item 
\#define \mbox{\hyperlink{group___general_ga6c428bbdad197df6a4ba22d3c1d48f5a}{O\+G\+R\+E\+\_\+\+N\+E\+W\+\_\+\+A\+R\+R\+A\+Y\+\_\+T}}(T,  count,  category)~new T\mbox{[}count\mbox{]}
\begin{DoxyCompactList}\small\item\em Allocate a block of memory for \textquotesingle{}count\textquotesingle{} primitive types -\/ do not use for classes that inherit from Allocated\+Object. \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{group___general_ga46253f12658ce0922e982a8a9dd11312}{O\+G\+R\+E\+\_\+\+N\+E\+W\+\_\+T}}(T,  category)~new T
\begin{DoxyCompactList}\small\item\em Allocate space for one primitive type, external type or non-\/virtual type with constructor parameters. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef Scripting\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ae50d0e41173a3de1eba795db887fc4c0}{Ogre\+::\+Abstract\+Node\+Alloc}}
\item 
typedef Animation\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ae09578a5f721385da35583d80a40ff8f}{Ogre\+::\+Animable\+Alloc}}
\item 
typedef Animation\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a45280f006598c2e3c01e1fa1eb1c0aeb}{Ogre\+::\+Animation\+Alloc}}
\item 
typedef Allocated\+Object \mbox{\hyperlink{namespace_ogre_a0b13224171734aa511b0e7adf6f7dbfb}{Ogre\+::\+Animation\+Allocated\+Object}}
\item 
typedef Alloc\+Policy \mbox{\hyperlink{namespace_ogre_a98ce6b3349e4ba08520ae3b1425218a1}{Ogre\+::\+Animation\+Alloc\+Policy}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a3a7148114d38cef237dc8bf95cb91cd3}{Ogre\+::\+Archive\+Alloc}}
\item 
typedef Geometry\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a8688596fd4772e25d4d24b91bd26fc3c}{Ogre\+::\+Batched\+Geometry\+Alloc}}
\item 
typedef Render\+Sys\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a4d5903ed39d36fb554acb8a14c4e941b}{Ogre\+::\+Buffer\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a62bd950b43a50257f8aa1589d2e823f9}{Ogre\+::\+Codec\+Alloc}}
\item 
typedef Resource\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a5d60f07603a9106ef3ea80c2436071e3}{Ogre\+::\+Compositor\+Inst\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a36fae75ecb951f16758e8f867e537318}{Ogre\+::\+Config\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ac34508fbac0e38aa4bb253ccf0708c56}{Ogre\+::\+Controller\+Alloc}}
\item 
typedef Geometry\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a6cb7d42eba87cebf8ccb40505b63377a}{Ogre\+::\+Debug\+Geom\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a0a4a723194700acb950b79d7192c7639}{Ogre\+::\+Dyn\+Lib\+Alloc}}
\item 
typedef Geometry\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a47d4cfd39390ea7f0bde7edff0a6423b}{Ogre\+::\+Edge\+Data\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_afab320e0856ce249ec1e1a4d404981ec}{Ogre\+::\+Factory\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a9cfdd79a0595db4d941675d0d73beb6f}{Ogre\+::\+File\+System\+Layer\+Alloc}}
\item 
typedef Scene\+Obj\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ac42757f609ae0b4aba4815a0e8084caa}{Ogre\+::\+F\+X\+Alloc}}
\item 
typedef Allocated\+Object \mbox{\hyperlink{namespace_ogre_adc727a8f5e0109b8fafede385aec2fcb}{Ogre\+::\+General\+Allocated\+Object}}
\item 
typedef Alloc\+Policy \mbox{\hyperlink{namespace_ogre_aa894dbbfe68fd5040c4807fdcb8580ac}{Ogre\+::\+General\+Alloc\+Policy}}
\item 
typedef Allocated\+Object \mbox{\hyperlink{namespace_ogre_aba494e216cf62ffd8e71989e88d42f73}{Ogre\+::\+Geometry\+Allocated\+Object}}
\item 
typedef Alloc\+Policy \mbox{\hyperlink{namespace_ogre_a191e3ea86f00ee02c1405dc0ffd7548e}{Ogre\+::\+Geometry\+Alloc\+Policy}}
\item 
typedef Render\+Sys\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a9cd4601f9bf87a6bd2846370ccea6acb}{Ogre\+::\+Gpu\+Params\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a1e40a7870ebd749e8cc8da346af3a3c8}{Ogre\+::\+Image\+Alloc}}
\item 
typedef Geometry\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a2b83ab3362f4516b51f2a0238e8ac7c5}{Ogre\+::\+Index\+Data\+Alloc}}
\item 
typedef Scene\+Ctl\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a5fae23475351938803d15fcbabc3b6d8}{Ogre\+::\+Lod\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ad43ae31cfa3f0521786631f5ffe4c18a}{Ogre\+::\+Log\+Alloc}}
\item 
typedef Scene\+Obj\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a7f9d4a08ffbda0738cebc31b60faae03}{Ogre\+::\+Movable\+Alloc}}
\item 
typedef Scene\+Ctl\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ab81544a3d3f08a24fff526b288c4d5ba}{Ogre\+::\+Node\+Alloc}}
\item 
typedef Scene\+Obj\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_afec5829b83af2dee85d271b16c5ab609}{Ogre\+::\+Overlay\+Alloc}}
\item 
typedef Resource\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ae356a34e71ec1870afef50230739c7dc}{Ogre\+::\+Pass\+Alloc}}
\item 
typedef Geometry\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_af63fccb4061ef6ab1a2b9b3085e3c92f}{Ogre\+::\+Patch\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_abf9224e43c0858fdb5828c8dbbd58b05}{Ogre\+::\+Plugin\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a250dfc29da6341127d7d386e06101e67}{Ogre\+::\+Profiler\+Alloc}}
\item 
typedef Geometry\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a48699950804f68c746cbefabf20a3fa7}{Ogre\+::\+Prog\+Mesh\+Alloc}}
\item 
typedef Scene\+Ctl\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ab5b177f3272759202a585928bcd3906f}{Ogre\+::\+Render\+Queue\+Alloc}}
\item 
typedef Render\+Sys\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a1154f3f32829ce6787b6ac69569bf89b}{Ogre\+::\+Render\+Sys\+Alloc}}
\item 
typedef Allocated\+Object \mbox{\hyperlink{namespace_ogre_ab724c51af85f1adee928f7bf098cf00a}{Ogre\+::\+Render\+Sys\+Allocated\+Object}}
\item 
typedef Alloc\+Policy \mbox{\hyperlink{namespace_ogre_ab16a5873236e30a18bc09e43a12e9b5d}{Ogre\+::\+Render\+Sys\+Alloc\+Policy}}
\item 
typedef Resource\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a26f1823e78b0275e485bc519e4199480}{Ogre\+::\+Resource\+Alloc}}
\item 
typedef Allocated\+Object \mbox{\hyperlink{namespace_ogre_ab637dba6e8dc7ced08520d6b6e0f518c}{Ogre\+::\+Resource\+Allocated\+Object}}
\item 
typedef Alloc\+Policy \mbox{\hyperlink{namespace_ogre_af0ec7cc321e35a53721b6b945d4df72f}{Ogre\+::\+Resource\+Alloc\+Policy}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_aaa653fbb322c81fdf7c29d8a621c0bfb}{Ogre\+::\+Root\+Alloc}}
\item 
typedef Allocated\+Object \mbox{\hyperlink{namespace_ogre_aaf1c40cc04f4937fb58068c04af37aaf}{Ogre\+::\+Scene\+Ctl\+Allocated\+Object}}
\item 
typedef Alloc\+Policy \mbox{\hyperlink{namespace_ogre_a4ff5dcb31b780625600e8a2a158ec7ff}{Ogre\+::\+Scene\+Ctl\+Alloc\+Policy}}
\item 
typedef Scene\+Ctl\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ab5dc8e76f824d92c77fc11edd09f900b}{Ogre\+::\+Scene\+Mgt\+Alloc}}
\item 
typedef Allocated\+Object \mbox{\hyperlink{namespace_ogre_a016f357798d4c2adb78b52b19cbd37e9}{Ogre\+::\+Scene\+Obj\+Allocated\+Object}}
\item 
typedef Alloc\+Policy \mbox{\hyperlink{namespace_ogre_a6469ecd0a78bbb29491a595fa9d53f58}{Ogre\+::\+Scene\+Obj\+Alloc\+Policy}}
\item 
typedef Scripting\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a290b9222311de853679ae9efa942e713}{Ogre\+::\+Script\+Compiler\+Alloc}}
\item 
typedef Allocated\+Object \mbox{\hyperlink{namespace_ogre_aedd4f7a06f0396585a1396928e50d360}{Ogre\+::\+Scripting\+Allocated\+Object}}
\item 
typedef Alloc\+Policy \mbox{\hyperlink{namespace_ogre_a0eb1163ec7ed4279913d8012855ad567}{Ogre\+::\+Scripting\+Alloc\+Policy}}
\item 
typedef Scripting\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a5553b2ac4d5a74c0dc16b4851418ebe6}{Ogre\+::\+Script\+Translator\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ab314a0c39a23a8ca15d867db9dd0f204}{Ogre\+::\+Serializer\+Alloc}}
\item 
typedef Scene\+Ctl\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a060a8fd0d2f2acb1e8da2820e60ecd0b}{Ogre\+::\+Shadow\+Data\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ab88d2de637f3045e7c43bce4d5d79e30}{Ogre\+::\+Stereo\+Driver\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ab1b4c43359603ea0d0cace50d6fc57ee}{Ogre\+::\+Stream\+Alloc}}
\item 
typedef Scene\+Obj\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a11c9152a33c78bdc13a9cfdc41833d35}{Ogre\+::\+Sub\+Entity\+Alloc}}
\item 
typedef Resource\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a28c456e4a7bcbaf9afa7da4b59c3d18e}{Ogre\+::\+Sub\+Mesh\+Alloc}}
\item 
typedef Resource\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a14ad07d89fe48693b5abe86054702dbb}{Ogre\+::\+Technique\+Alloc}}
\item 
typedef Resource\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a2286e700a22b9e109cbf2aa95f9ce094}{Ogre\+::\+Texture\+Unit\+State\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a2facde8318daf273780d84304f60cfa0}{Ogre\+::\+Timer\+Alloc}}
\item 
typedef General\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_af1b4f61252337a39768b2e8963551198}{Ogre\+::\+Utility\+Alloc}}
\item 
typedef Geometry\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_ab030dab0a47bd28ac42be0260af08719}{Ogre\+::\+Vertex\+Data\+Alloc}}
\item 
typedef Render\+Sys\+Allocated\+Object \mbox{\hyperlink{namespace_ogre_a3d3ba82ee4ce61a447259f7c8a19cb2a}{Ogre\+::\+Viewport\+Alloc}}
\end{DoxyCompactItemize}
\doxysubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group___general_ga830fab51be174d6f2849857cb1abb36a}{Ogre\+::\+Memory\+Category}} \{ \newline
\mbox{\hyperlink{group___general_gga830fab51be174d6f2849857cb1abb36aa8ac29a2852b1b5fe79d1659b16f521cb}{Ogre\+::\+M\+E\+M\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+G\+E\+N\+E\+R\+AL}} = 0, 
\mbox{\hyperlink{group___general_gga830fab51be174d6f2849857cb1abb36aaf9e04ff475de4493bc942a9c73da4c2e}{Ogre\+::\+M\+E\+M\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+G\+E\+O\+M\+E\+T\+RY}} = 1, 
\mbox{\hyperlink{group___general_gga830fab51be174d6f2849857cb1abb36aa24267bedbd1115a8f208e4ee355693e4}{Ogre\+::\+M\+E\+M\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+A\+N\+I\+M\+A\+T\+I\+ON}} = 2, 
\mbox{\hyperlink{group___general_gga830fab51be174d6f2849857cb1abb36aa8a55fa0fcaa8403bb51ca210f882ed90}{Ogre\+::\+M\+E\+M\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+S\+C\+E\+N\+E\+\_\+\+C\+O\+N\+T\+R\+OL}} = 3, 
\newline
\mbox{\hyperlink{group___general_gga830fab51be174d6f2849857cb1abb36aaffe1e3d51d961175f8f2756611439181}{Ogre\+::\+M\+E\+M\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+S\+C\+E\+N\+E\+\_\+\+O\+B\+J\+E\+C\+TS}} = 4, 
\mbox{\hyperlink{group___general_gga830fab51be174d6f2849857cb1abb36aa04bad2e7f64cc2b6f4cda9f56b59e5b4}{Ogre\+::\+M\+E\+M\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+R\+E\+S\+O\+U\+R\+CE}} = 5, 
\mbox{\hyperlink{group___general_gga830fab51be174d6f2849857cb1abb36aaa037d2f843117cd5fb39ec064d7ff23b}{Ogre\+::\+M\+E\+M\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+S\+C\+R\+I\+P\+T\+I\+NG}} = 6, 
\mbox{\hyperlink{group___general_gga830fab51be174d6f2849857cb1abb36aa29274489311d683a88676dbb1c779788}{Ogre\+::\+M\+E\+M\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+R\+E\+N\+D\+E\+R\+S\+YS}} = 7, 
\newline
\mbox{\hyperlink{group___general_gga830fab51be174d6f2849857cb1abb36aa4ff2b9446477e2ea4170b09d8aaa1b67}{Ogre\+::\+M\+E\+M\+C\+A\+T\+E\+G\+O\+R\+Y\+\_\+\+C\+O\+U\+NT}} = 8
 \}
\begin{DoxyCompactList}\small\item\em A set of categories that indicate the purpose of a chunk of memory being allocated. \end{DoxyCompactList}\end{DoxyCompactItemize}
