 |
Project
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
22#ifndef GPUO2INTERFACECONFIGURABLEPARAM_H
23#define GPUO2INTERFACECONFIGURABLEPARAM_H
26#ifndef GPUCA_TPC_GEOMETRY_O2
27#define GPUCA_TPC_GEOMETRY_O2
29#ifndef GPUCA_O2_INTERFACE
30#define GPUCA_O2_INTERFACE
39#define BeginNamespace(name) \
42#define EndNamespace() }
43#define AddOption(name, type, default, optname, optnameshort, help, ...) type name = default;
44#define AddOptionRTC(...) AddOption(__VA_ARGS__)
45#define AddVariable(name, type, default)
46#define AddVariableRTC(...) AddVariable(__VA_ARGS__)
47#define AddOptionSet(name, type, value, optname, optnameshort, help, ...)
48#define AddOptionVec(name, type, optname, optnameshort, help, ...)
49#define AddOptionArray(name, type, count, default, optname, optnameshort, help, ...) type name[count] = {GPUCA_M_STRIP(default)};
50#define AddSubConfig(name, instance)
51#define BeginSubConfig(name, instance, parent, preoptname, preoptnameshort, descr, o2prefix) \
52 struct GPUCA_M_CAT(GPUConfigurableParam, name) : public o2::conf::ConfigurableParamHelper<GPUCA_M_CAT(GPUConfigurableParam, name)> { \
53 O2ParamDef(GPUCA_M_CAT(GPUConfigurableParam, name), GPUCA_M_STR(GPUCA_M_CAT(GPU_, o2prefix))) public:
54#define BeginHiddenConfig(name, instance) 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__)
73#undef AddOptionArrayRTC
76#undef BeginHiddenConfig