1 #define GAUDIKERNEL_STATUSCODE_CPP 1 43 const size_t depth = 21;
44 void* addresses[depth];
51 for(
size_t idx: {2, 3}) {
53 fnc !=
"StatusCode::~StatusCode()") {
56 scs->regFnc(fnc, lib);
60 <<
" (" << lib <<
")" <<
endmsg;
GAUDI_API const IssueSeverity & severity() const
Severity.
Definition of the MsgStream class used to transmit messages.
GAUDI_API bool getStackLevel(void *addresses, void *&addr, std::string &fnc, std::string &lib)
bool m_checked
If the Status code has been checked.
static bool s_proc
"previous" element in the linked list
static GAUDI_API void enableChecking()
static GAUDI_API bool checkingEnabled()
GAUDI_API int backTrace(void **addresses, const int depth)
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
GAUDI_API ISvcLocator * svcLocator()
The IMessage is the interface implemented by the message service.
static bool s_checking
Global flag to control if StatusCode need to be checked.
T uncaught_exception(T...args)
static GAUDI_API void disableChecking()
std::shared_ptr< const IssueSeverity > m_severity
Pointer to a IssueSeverity.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.