gwnavruntime/blob/iblobcategorybuilder.h Source File

iblobcategorybuilder.h
Go to the documentation of this file.
1 /*
2 * Copyright 2016 Autodesk, Inc. All rights reserved.
3 * Use of this software is subject to the terms of the Autodesk license agreement and any attachments or Appendices thereto provided at the time of installation or download,
4 * or which otherwise accompanies this software in either electronic or hard copy form, or which is signed by you and accepted by Autodesk.
5 */
6 
7 
8 
9 #pragma once
10 
11 
13 
14 
15 namespace Kaim
16 {
17 
18 
19 class BlobCategory;
20 
21 
22 class IBlobCategoryBuilder
23 {
24  KY_DEFINE_NEW_DELETE_OPERATORS(MemStat_WorldFwk)
25 public:
26  IBlobCategoryBuilder(KyUInt32 nameSpaceEnum, KyUInt32 categoryEnum, KyUInt32 blobTypeCount)
27  : m_nameSpaceEnum(nameSpaceEnum), m_categoryEnum(categoryEnum), m_blobTypeCount(blobTypeCount) {}
28 
29  virtual ~IBlobCategoryBuilder() {}
30 
31  KyResult BuildCategory(BlobCategory* category) const;
32 
33 protected:
34  virtual void Build(BlobCategory* category) const = 0;
35 
36 public:
37  KyUInt32 m_nameSpaceEnum;
38  KyUInt32 m_categoryEnum;
39  KyUInt32 m_blobTypeCount;
40 };
41 
42 
43 }
44 
45 
46 
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
Navigation return code class.
Definition: types.h:108
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17