1 #define GAUDIKERNEL_STATUSCODE_CPP 1
3 #include "GaudiKernel/StatusCode.h"
4 #include "GaudiKernel/System.h"
5 #include "GaudiKernel/Bootstrap.h"
6 #include "GaudiKernel/IMessageSvc.h"
7 #include "GaudiKernel/IStatusCodeSvc.h"
8 #include "GaudiKernel/ISvcLocator.h"
9 #include "GaudiKernel/MsgStream.h"
10 #include "GaudiKernel/IssueSeverity.h"
45 const size_t depth = 21;
46 void* addresses[depth];
53 for(
size_t idx: {2, 3})
55 fnc !=
"StatusCode::~StatusCode()") {
62 <<
" (" << lib <<
")" <<
endmsg;
virtual void regFnc(const std::string &fnc, const std::string &lib)=0
GAUDI_API const IssueSeverity & severity() const
Severity.
Definition of the MsgStream class used to transmit messages.
static bool s_proc
"previous" element in the linked list
GAUDI_API bool getStackLevel(void *addresses, void *&addr, std::string &fnc, std::string &lib)
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
bool m_checked
If the Status code has been checked.
SeverityPtr m_severity
Pointer to a IssueSeverity.
static bool s_checking
Global flag to control if StatusCode need to be checked.
static GAUDI_API void enableChecking()
static GAUDI_API bool checkingEnabled()
GAUDI_API int backTrace(void **addresses, const int depth)
GAUDI_API ISvcLocator * svcLocator()
static GAUDI_API void disableChecking()