gwnavruntime/blob/iblobcategorybuilder.h Source File

iblobcategorybuilder.h
Go to the documentation of this file.
1 /*
2 * Copyright 2015 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 // primary contact: GUAL - secondary contact: NOBODY
10 #ifndef Navigation_IBlobCategoryBuilder_H
11 #define Navigation_IBlobCategoryBuilder_H
12 
13 
15 
16 
17 namespace Kaim
18 {
19 
20 
21 class BlobCategory;
22 
23 
24 class IBlobCategoryBuilder
25 {
26  KY_DEFINE_NEW_DELETE_OPERATORS(MemStat_WorldFwk)
27 public:
28  IBlobCategoryBuilder(KyUInt32 nameSpaceEnum, KyUInt32 categoryEnum, KyUInt32 blobTypeCount)
29  : m_nameSpaceEnum(nameSpaceEnum), m_categoryEnum(categoryEnum), m_blobTypeCount(blobTypeCount) {}
30 
31  virtual ~IBlobCategoryBuilder() {}
32 
33  KyResult BuildCategory(BlobCategory* category) const;
34 
35 protected:
36  virtual void Build(BlobCategory* category) const = 0;
37 
38 public:
39  KyUInt32 m_nameSpaceEnum;
40  KyUInt32 m_categoryEnum;
41  KyUInt32 m_blobTypeCount;
42 };
43 
44 
45 }
46 
47 
48 #endif
49 
KyInt32 KyResult
Defines a type that can be returned by methods or functions in the Gameware Navigation SDK to indicat...
Definition: types.h:254
Definition: gamekitcrowddispersion.h:20
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
unsigned int KyUInt32
Type used internally to represent an unsigned 32-bit integer.
Definition: types.h:36