 |
Project
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
22#ifndef GPUO2CONFIGURABLEPARAM_H
23#define GPUO2CONFIGURABLEPARAM_H
28#define GPUSETTINGS_DISPLAY
34#define BeginNamespace(name) \
37#define EndNamespace() }
38#define AddOption(name, type, default, optname, optnameshort, help, ...) type name = default;
39#define AddOptionRTC(...) AddOption(__VA_ARGS__)
40#define AddVariable(name, type, default)
41#define AddVariableRTC(...) AddVariable(__VA_ARGS__)
42#define AddOptionSet(name, type, value, optname, optnameshort, help, ...)
43#define AddOptionVec(name, type, optname, optnameshort, help, ...)
44#define AddOptionArray(name, type, count, default, optname, optnameshort, help, ...) type name[count] = {GPUCA_M_STRIP(default)};
45#define AddSubConfig(name, instance)
46#define BeginSubConfig(name, instance, parent, preoptname, preoptnameshort, descr, o2prefix) \
49 struct GPUCA_M_CAT(GPUConfigurableParam, name) : public o2::conf::ConfigurableParamHelper<GPUCA_M_CAT(GPUConfigurableParam, name)> { \
50 O2ParamDef(GPUCA_M_CAT(GPUConfigurableParam, name), GPUCA_M_STR(GPUCA_M_CAT(GPU_, o2prefix))) public:
51#define BeginHiddenConfig(name, instance) \
54 struct GPUCA_M_CAT(GPUConfigurableParam, name) {
58#define AddCustomCPP(...) __VA_ARGS__
60#define AddShortcut(...)
61#define AddOptionRTC(...) AddOption(__VA_ARGS__)
62#define AddOptionArrayRTC(...) AddOptionArray(__VA_ARGS__)
74#undef AddOptionArrayRTC
77#undef BeginHiddenConfig