gwnavgeneration/generator/generatorsectorlistblobbuilder.h Source File

generatorsectorlistblobbuilder.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 // primary contact: GUAL - secondary contact: NOBODY
8 #ifndef GwNavGen_GeneratorSectorListBlobBuilder_H
9 #define GwNavGen_GeneratorSectorListBlobBuilder_H
10 
15 
16 namespace Kaim
17 {
18 
19 class GeneratorInputOutput;
20 
22 class GeneratorSectorListBlobBuilder : public BaseBlobBuilder<GeneratorSectorListBlob>
23 {
24  KY_DEFINE_NEW_DELETE_OPERATORS(Stat_Default_Mem)
25 
26 public:
27  GeneratorSectorListBlobBuilder(const GeneratorInputOutput& config) : m_generatorInputOutput(&config) {}
28 
29 private:
30  virtual void DoBuild();
31 private:
32  const GeneratorInputOutput* m_generatorInputOutput;
33 };
34 
35 }
36 
37 
38 #endif
39 
Definition: gamekitcrowddispersion.h:20
Used to serialize GeneratorInputOutput m_exclusiveGuids and m_sectors.
Definition: generatorsectorlistblobbuilder.h:22
The GeneratorInputOutput class is a central element of the generation.
Definition: generatorinputoutput.h:41
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:137
BaseBlobBuilder is an abstract base class that builds a blob within a contiguous block of memory...
Definition: baseblobbuilder.h:30
virtual void DoBuild()
Implement this function in any class that derives from BaseBlobBuilder.