VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
catalogParamSpecBuilder.h
Go to the documentation of this file.
1 /******************************************************************************
2  * Copyright (c) 2026 MAK Technologies, Inc.
3  * All rights reserved.
4  ******************************************************************************/
5 
6 #pragma once
7 
10 
11 #include <memory>
12 #include <string>
13 
14 #include <json/json.h>
15 
17 
25 {
26 public:
27  explicit DtCatalogParamSpecBuilder(const DtCustomParamBuilderRegistry& customRegistry);
28  ~DtCatalogParamSpecBuilder() = default;
29 
36  std::unique_ptr<DtCommandSpecParamBuilder> getParamBuilder(
37  const Json::Value& paramJson, const std::string& objectName) const;
38 
39 private:
41 };
Central registry mapping wire-type strings to async DtCommandSpecParamBuilder factories.
Definition: customParamBuilderRegistry.h:46
~DtCatalogParamSpecBuilder()=default
std::unique_ptr< DtCommandSpecParamBuilder > getParamBuilder(const Json::Value &paramJson, const std::string &objectName) const
Creates and returns a DtCommandSpecParamBuilder for the given catalog parameter JSON object...
DtCatalogParamSpecBuilder(const DtCustomParamBuilderRegistry &customRegistry)
Registry of custom command spec parameter builders, keyed on wire type string.
Translates catalog JSON parameter descriptors into DtCommandSpecParamBuilder instances.
Definition: catalogParamSpecBuilder.h:24
IMGUI_API void Value(const char *prefix, bool b)
const DtCustomParamBuilderRegistry & myCustomRegistry
Definition: catalogParamSpecBuilder.h:40

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)