|
DUNE-DAQ
DUNE Trigger and Data Acquisition software
|
Go to the source code of this file.
Macros | |
| #define | HERE_TMPL_DEF(T, funname) |
| #define | HERE_AUTO_DEF(funname) |
| #define | HERE_DEF(cn, fn) |
| #define | HERE_FUN_DEF(fn) |
| #define | ERROR_NOREL(MSG) |
| #define | WARN_NOREL(MSG) |
| #define | INFO_NOREL(MSG) |
| #define | DEBUG_NOREL(MSG) |
| #define | CONDITION_STD_SET(cond, lock, var, val) |
| #define | CONDITION_BOOL_WAIT(cond, lock, var) |
| #define | CONDITION_BOOL_WAIT_TRYFUN(cond, lock, var, tryfun) |
| #define | CONDITION_BOOL_WAIT_FUN(cond, lock, fun) |
| #define | CONDITION_BOOL_WAIT_FUN_TRYFUN(cond, lock, fun, tryfun) |
| #define | DECLTYPE(x) |
| #define | CAT(A, B) |
| #define | SELECT(NAME, NUM) |
| #define | GET_COUNT(_1, _2, _3, _4, _5, _6, _7, _8, _9, COUNT, ...) |
| #define | VA_SIZE(...) |
| #define | VA_SELECT(NAME, ...) |
| #define CONDITION_BOOL_WAIT | ( | cond, | |
| lock, | |||
| var ) |
CONDITION_BOOL_WAIT provides safe concurrent wait on a shared variable
Upon any exception thrown it will break an enclosing loop
Definition at line 93 of file macro.hpp.
| #define CONDITION_BOOL_WAIT_FUN | ( | cond, | |
| lock, | |||
| fun ) |
CONDITION_BOOL_WAIT_FUN provides safe concurrent waiting on a shared variable, which is exposed through a function (fun)
Upon any exception thrown it will break an enclosing loop
Definition at line 127 of file macro.hpp.
| #define CONDITION_BOOL_WAIT_FUN_TRYFUN | ( | cond, | |
| lock, | |||
| fun, | |||
| tryfun ) |
CONDITION_BOOL_WAIT_FUN_TRYFUN provides safe concurrent waiting on a shared variable, which is exposed through a function (fun)
It is advisable that tryfun does not throw exceptions
Definition at line 143 of file macro.hpp.
| #define CONDITION_BOOL_WAIT_TRYFUN | ( | cond, | |
| lock, | |||
| var, | |||
| tryfun ) |
CONDITION_BOOL_WAIT_TRYFUN provides safe concurrent waiting on a shared variable and call a provided function in case of and exception.
It is advisable that tryfun does not throw exceptions
Definition at line 110 of file macro.hpp.
| #define CONDITION_STD_SET | ( | cond, | |
| lock, | |||
| var, | |||
| val ) |
CONDITION_STD_SET provides safe concurrent setting of a shared variable
Definition at line 78 of file macro.hpp.
| #define DEBUG_NOREL | ( | MSG | ) |
| #define ERROR_NOREL | ( | MSG | ) |
Define messages not present in RELEASE compilation
| #define GET_COUNT | ( | _1, | |
| _2, | |||
| _3, | |||
| _4, | |||
| _5, | |||
| _6, | |||
| _7, | |||
| _8, | |||
| _9, | |||
| COUNT, | |||
| ... ) |
| #define HERE_AUTO_DEF | ( | funname | ) |
Automatically define the function name, needed to display informative messages
Definition at line 41 of file macro.hpp.
| #define HERE_FUN_DEF | ( | fn | ) |
| #define HERE_TMPL_DEF | ( | T, | |
| funname ) |