25 class GeneratorRunOptionsBlob
28 KY_ROOT_BLOB_CLASS(Generator, GeneratorRunOptionsBlob, 0)
31 GeneratorRunOptionsBlob() {}
32 BlobFieldArray m_fields;
36 SwapEndianness(e,
self.m_fields);
73 KyResult ReadBlob(
const GeneratorRunOptionsBlob& blob);
74 KyResult ReadFromAggregate(BlobAggregate& aggregate);
76 void InitBlobFieldsMapping(BlobFieldsMapping& mapping);
77 void InitBlobFieldsMapping(BlobFieldsMapping& mapping)
const;
165 template <
class OSTREAM>
168 os << KY_LOG_SMALL_TITLE_BEGIN(
"",
"GeneratorRunOptions");
181 os <<
"doProfile : " << runOptions.
m_doProfile << Endl;
187 os << KY_LOG_SMALL_TITLE_END(
"",
"GeneratorRunOptions");
193 class GeneratorRunOptionsBlobBuilder :
public BaseBlobBuilder<GeneratorRunOptionsBlob>
196 GeneratorRunOptionsBlobBuilder(
const GeneratorRunOptions* runOptions) : m_runOptions(runOptions) {}
198 virtual void DoBuild();
199 const GeneratorRunOptions* m_runOptions;
bool DoReallyUseMultiCore() const
Indicates whether or not the Generator will actually use parallel processing.
Definition: generatorrunoptions.h:67
std::uint32_t KyUInt32
uint32_t
Definition: types.h:29
KyUInt32 m_limitedMemoryModeTileSizeInNbCells
Size of the internally used tiles for large scale generations and/or running generation with low memo...
Definition: generatorrunoptions.h:120
String m_generatorInputOuputSaveFileName
FileName of the saved GeneratorInputOutput.
Definition: generatorrunoptions.h:92
bool DoReallyUseVisualDebug() const
For internal use.
Definition: generatorrunoptions.h:70
void Clear()
Reset members as if the object was freshly constructed.
Definition: generatorrunoptions.cpp:21
GeneratorVisualDebugOptions m_visualDebugOptions
For internal use. Do not modify.
Definition: generatorrunoptions.h:159
bool m_doWriteColDataFiles
Determines whether or not .ColData files are written.
Definition: generatorrunoptions.h:104
The BlobHandler class is a top-level mechanism for serializing blobs between objects in memory and fi...
Definition: blobhandler.h:40
IntermediateFilesConfig m_intermediateFiles
Contains configuration parameters that relate to the generation of intermediate data files...
Definition: generatorrunoptions.h:162
#define KY_CLASS_WITHOUT_COPY(ClassName)
Define to forbid copy constructor and copy assignment.
Definition: types.h:196
KyUInt32 m_outputFilesEndianness
Determines the endianness of the final output files.
Definition: generatorrunoptions.h:126
void AddCellToBuild(const CellPos &pos)
Restricts NavData generation to the specified cell, and generates intermediate data for that cell...
Definition: generatorrunoptions.h:63
#define KY_DEFINE_NEW_DELETE_OPERATORS(MemStat)
This macro defines new and delete operators.
Definition: memory.h:132
bool m_doWriteDataIndexFile
Determines whether or not the .DataIndex file is written.
Definition: generatorrunoptions.h:108
Target
Enumerates the possible endianness types relative to the current platform.
Definition: endianness.h:27
bool m_doLogReportDetails
Determines whether or not the Generator will log verbose details in its report for each run...
Definition: generatorrunoptions.h:148
bool m_doLogReport
Determines whether or not the Generator will log a report the results of each run.
Definition: generatorrunoptions.h:144
This class provides information about Autodesk Navigation version.
Definition: version.h:17
const IntermediateFilesConfig & Intermediates() const
Read accessor for m_intermediateFiles.
Definition: generatorrunoptions.h:56
bool m_doLogPerSectorReport
Determines whether or not the Generator will log per Sector information in its report for each run...
Definition: generatorrunoptions.h:152
KyUInt32 m_generationRevision
Incremented each time a Generator operates on the GeneratorInputOutput.
Definition: generatorrunoptions.h:83
Navigation return code class.
Definition: types.h:108
bool m_doLogProgress
Determines whether or not the Generator will log the progress of the Generation, useful from very lon...
Definition: generatorrunoptions.h:156
2d vector using KyInt32
Definition: vec2i.h:18
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
bool m_doEnableLimitedMemoryMode
Determines whether or not the input geometry consumption is buffered to avoid exceeding the memory li...
Definition: generatorrunoptions.h:115
IntermediateFilesConfig & Intermediates()
Const read accessor for m_intermediateFiles.
Definition: generatorrunoptions.h:59
The GeneratorRunOptions class contains configuration parameters that control the way in which the Gen...
Definition: generatorrunoptions.h:43
bool m_doSaveGeneratorInputOutput
Determines whether or not the Generator saves the GeneratorInputOutput content.
Definition: generatorrunoptions.h:88
bool m_doWriteNavDataFiles
Determines whether or not .NavData files are written.
Definition: generatorrunoptions.h:100
bool m_doUseTlsIfAvailable
Determines whether or not the Generator uses thread local storage when an ITlsAlloc object is provide...
Definition: generatorrunoptions.h:130
void SetDefaultValues()
alias for Clear()
Definition: generatorrunoptions.h:53
bool m_doLogConfiguration
Determines whether or not the Generator will log its configuration parameters in its report for each ...
Definition: generatorrunoptions.h:139
bool m_doProfile
Determines whether or not the Generator will profile its CPU performance.
Definition: generatorrunoptions.h:134
bool m_doMultiCore
Determines whether or not the NavData generation system spreads computations across all available CPU...
Definition: generatorrunoptions.h:96