gwnavgeneration/generator/generatorsectorlistblobbuilder.h Source File

generatorsectorlistblobbuilder.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 #pragma once
8 
13 
14 namespace Kaim
15 {
16 
17 class GeneratorInputOutput;
18 
20 class GeneratorSectorListBlobBuilder : public BaseBlobBuilder<GeneratorSectorListBlob>
21 {
22  KY_DEFINE_NEW_DELETE_OPERATORS(Stat_Default_Mem)
23 
24 public:
25  GeneratorSectorListBlobBuilder(const GeneratorInputOutput& config) : m_generatorInputOutput(&config) {}
26 
27 private:
28  virtual void DoBuild();
29 private:
30  const GeneratorInputOutput* m_generatorInputOutput;
31 };
32 
33 }
34 
35 
36 
virtual void DoBuild()
Implement this function in any class that derives from BaseBlobBuilder.
Definition: generatorsectorlistblobbuilder.cpp:20
#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
Used to serialize GeneratorInputOutput m_exclusiveGuids and m_sectors.
Definition: generatorsectorlistblobbuilder.h:20
The GeneratorInputOutput class is a central element of the generation.
Definition: generatorinputoutput.h:35
BaseBlobBuilder is an abstract base class that builds a blob within a contiguous block of memory...
Definition: baseblobbuilder.h:27