30 #ifndef LIB_ZOMBIE_CHECK_H 31 #define LIB_ZOMBIE_CHECK_H 52 bool deceased_ =
false;
64 std::strncpy(zombieID_,
id.c_str(), 41);
83 ,error::LUMIERA_ERROR_LIFECYCLE);
88 buildDiagnosticMessage()
const 90 string msg{
"Already deceased object called out of order during Application shutdown. " 91 "Lumiera Policy violated: Dependencies must not be used from destructors."};
93 msg +=
" Offender = "+
string{zombieID_};
ZombieCheck(string id)
install a zombie check, tagged with the given id.
Implementation namespace for support and library code.
Derived specific exceptions within Lumiera's exception hierarchy.
Automatic lifecycle tracker, to produce an alarm when accessing objects after deletion.
Lumiera error handling (C++ interface).