OpenBarnyard
 
Loading...
Searching...
No Matches
TIndexPoolResourceInterface.cpp
Go to the documentation of this file.
1#include "ToshiPCH.h"
3
4//-----------------------------------------------------------------------------
5// Enables memory debugging.
6// Note: Should be the last include!
7//-----------------------------------------------------------------------------
9
11
13
22
24{
25 TASSERT( 0 == m_uiLockCount );
26 m_pFactory->m_uiNumPools -= 1;
27}
28
30{
31 m_pFactory = a_pFactory;
32 m_uiMaxIndices = a_uiMaxIndices;
33 m_uiFlags = a_uiFlags;
34 return TResource::Create();
35}
36
#define TASSERT(X,...)
Definition Defines.h:138
#define TOSHI_NAMESPACE_START
Definition Defines.h:47
#define TOSHI_NAMESPACE_END
Definition Defines.h:50
#define TDEFINE_CLASS_NORUNTIME(...)
Definition TObject.h:138
uint16_t TUINT16
Definition Typedefs.h:15
#define TNULL
Definition Typedefs.h:23
bool TBOOL
Definition Typedefs.h:6
TIndexFactoryResourceInterface * m_pFactory
virtual TBOOL Create()
Definition TResource.cpp:28