ATLAS Offline Software
Loading...
Searching...
No Matches
TrigServicesUtils.h File Reference
#include <algorithm>
#include <atomic>
#include <chrono>
#include <thread>
Include dependency graph for TrigServicesUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  TrigServices
 Helpers shared by monitoring services.

Macros

#define NOSUPPORT(lvl, what)
 Helper to mark unsupported interfaces.
#define NOSUPPORT_VOID(lvl, what)

Functions

void TrigServices::conditionedSleep (std::chrono::milliseconds duration, const std::atomic< bool > &stopFlag)
 Sleep for duration or until stopFlag is set, whichever comes first.

Macro Definition Documentation

◆ NOSUPPORT

#define NOSUPPORT ( lvl,
what )
Value:
do { \
ATH_MSG_LVL(MSG::lvl, what << " is not supported by this implementation"); \
return {}; \
} while (0)

Helper to mark unsupported interfaces.

Definition at line 14 of file TrigServicesUtils.h.

14#define NOSUPPORT(lvl, what) \
15 do { \
16 ATH_MSG_LVL(MSG::lvl, what << " is not supported by this implementation"); \
17 return {}; \
18 } while (0)

◆ NOSUPPORT_VOID

#define NOSUPPORT_VOID ( lvl,
what )
Value:
do { \
ATH_MSG_LVL(MSG::lvl, what << " is not supported by this implementation"); \
return; \
} while (0)

Definition at line 20 of file TrigServicesUtils.h.

20#define NOSUPPORT_VOID(lvl, what) \
21 do { \
22 ATH_MSG_LVL(MSG::lvl, what << " is not supported by this implementation"); \
23 return; \
24 } while (0)