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