gwnavruntime/blob/blobcategory.h Source File
Go to the documentation of this file.
30 m_categoryId = BlobTypeIdUtils::BuildCategoryId(nameSpaceEnum, categoryEnum);
33 template<
class T>
void AddBlobType()
35 Ptr<BlobTypeDescriptor<T> > blobTypeDescriptor = *KY_NEW_ID(MemStat_BaseSystem) BlobTypeDescriptor<T>;
36 KyUInt32 blobEnum = BlobTypeIdUtils::GetBlobEnum(blobTypeDescriptor->GetBlobTypeId());
46 IBlobTypeDescriptor* GetDescriptor(
KyUInt32 blobTypeId)
const {
return m_descriptors[BlobTypeIdUtils::GetBlobEnum(blobTypeId)]; }
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
General purpose array for movable objects that require explicit construction/destruction.
Definition: kyarray.h:162
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
KyArray< Ptr< IBlobTypeDescriptor >, MemStat_BaseSystem > m_descriptors
The array of descriptors that make up this registry. Do not modify.
Definition: blobcategory.h:50
The BlobCategory class represents a collection of blob types.
Definition: blobcategory.h:23