1 #define GAUDIKERNEL_STATUSCODE_CPP 1 20 const char*
name()
const override {
return "Gaudi"; }
24 switch ( static_cast<StatusCode::ErrorCode>( code ) ) {
54 const size_t depth = 21;
55 void* addresses[depth];
62 for (
size_t idx : {2, 3} ) {
63 if (
System::getStackLevel( addresses[idx], addr, fnc, lib ) && fnc !=
"StatusCode::~StatusCode()" ) {
66 scs->regFnc( fnc, lib );
Definition of the MsgStream class used to transmit messages.
void check()
Do StatusCode check.
GAUDI_API bool getStackLevel(void *addresses, void *&addr, std::string &fnc, std::string &lib)
The category assigned to a StatusCode.
static bool s_proc
"previous" element in the linked list
virtual const char * name() const =0
Name of the category.
class MergingTransformer< Out(const vector_of_const_< In > void
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()
#define STATUSCODE_ENUM_IMPL(...)
Assign a category to the StatusCode enum declared with STATUSCODE_ENUM_DECL( ENUM ) ...
This class is used for returning status codes from appropriate routines.
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()
virtual std::string message(code_t code) const
Description for code within this category.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
unsigned long code_t
type of StatusCode value