nx_metadata_sdk  1.0
Metadata SDK
stub_analytics_plugin_deprecated_object_detection_ini.h
1 // Copyright 2018-present Network Optix, Inc. Licensed under MPL 2.0: www.mozilla.org/MPL/2.0/
2 
3 #pragma once
4 
5 #include <nx/kit/ini_config.h>
6 #include <nx/sdk/analytics/helpers/pixel_format.h>
7 
8 namespace nx {
9 namespace vms_server_plugins {
10 namespace analytics {
11 namespace stub {
12 namespace deprecated_object_detection {
13 
14 struct Ini: public nx::kit::IniConfig
15 {
16  Ini(): IniConfig("stub_analytics_plugin_deprecated_object_detection.ini") { reload(); }
17 
18  NX_INI_FLAG(0, enableOutput, "");
19 
20  NX_INI_FLAG(0, deviceDependent, "Respective capability in the manifest.");
21 
22  NX_INI_FLAG(0, keepObjectBoundingBoxRotation,
23  "If set, Engine will declare the corresponding capability in the manifest.");
24 
25  NX_INI_FLAG(1, declareStubObjectTypes,
26  "If set, own Stub Analytics Plugin Object types (nx.stub.*) are declared in the\n"
27  "typeLibrary and as supported ones. The corresponding section in the settings is also\n"
28  "present.");
29 };
30 
31 Ini& ini();
32 
33 } // namespace deprecated_object_detection
34 } // namespace stub
35 } // namespace analytics
36 } // namespace vms_server_plugins
37 } // namespace nx
Definition: ini_config.h:77
Definition: stub_analytics_plugin_deprecated_object_detection_ini.h:14
static TestIni & ini()
Definition: ini_config_ut.cpp:68
Definition: apple_utils.h:6
IniConfig(const char *iniFile)
Definition: ini_config.cpp:551
void reload()
Definition: ini_config.cpp:599