gwnavruntime/blob/blobcategory.h Source File
Go to the documentation of this file.
9 #ifndef Navigation_BlobCategory_H
10 #define Navigation_BlobCategory_H
32 m_categoryId = BlobTypeIdUtils::BuildCategoryId(nameSpaceEnum, categoryEnum);
35 template<
class T>
void AddBlobType()
37 Ptr<BlobTypeDescriptor<T> > blobTypeDescriptor = *KY_NEW_ID(MemStat_BaseSystem) BlobTypeDescriptor<T>;
38 KyUInt32 blobEnum = BlobTypeIdUtils::GetBlobEnum(blobTypeDescriptor->GetBlobTypeId());
48 IBlobTypeDescriptor* GetDescriptor(
KyUInt32 blobTypeId)
const {
return m_descriptors[BlobTypeIdUtils::GetBlobEnum(blobTypeId)]; }
General purpose array for movable objects that require explicit construction/destruction.
Definition: kyarray.h:118
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
KyArray< Ptr< IBlobTypeDescriptor >, MemStat_BaseSystem > m_descriptors
The array of descriptors that make up this registry. Do not modify.
Definition: blobcategory.h:54
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36
The BlobCategory class represents a collection of blob types.
Definition: blobcategory.h:25