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