1 #define GAUDIKERNEL_STATUSCODE_CPP 1 32 const size_t depth = 21;
33 void* addresses[depth];
40 for (
size_t idx : {2, 3} ) {
41 if (
System::getStackLevel( addresses[idx], addr, fnc, lib ) && fnc !=
"StatusCode::~StatusCode()" ) {
44 scs->regFnc( fnc, lib );
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()
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.