Translates catalog JSON parameter descriptors into DtCommandSpecParamBuilder instances.
Used by DtCommandSpecBuilder::commandSpecJobFromOverrideFile() to delegate per-parameter JSON objects to the appropriate builder. Parameters whose Type is registered in the shared DtCustomParamBuilderRegistry (e.g. "Weapon") receive a custom builder; all other types fall back to DtImmediateCommandSpecParamBuilder.
| DtCatalogParamSpecBuilder::~DtCatalogParamSpecBuilder |
( |
| ) |
|
|
default |
| std::unique_ptr<DtCommandSpecParamBuilder> DtCatalogParamSpecBuilder::getParamBuilder |
( |
const Json::Value & |
paramJson, |
|
|
const std::string & |
objectName |
|
) |
| const |
Creates and returns a DtCommandSpecParamBuilder for the given catalog parameter JSON object. The objectName is forwarded to custom builders that need to scope their data request to a specific simulation entity.
Never returns null; types unknown to the registry fall back to DtImmediateCommandSpecParamBuilder.
The documentation for this class was generated from the following file: