Empirical
|
#include <alert.h>
Public Member Functions | |
AlertObj (const std::string &_msg, bool _on_c=true, bool _on_d=false) | |
~AlertObj () | |
void | Trigger () |
void | SetMessage (const std::string &_msg) |
Public Attributes | |
std::string | msg |
Message for the alert to print. More... | |
bool | on_construct |
Should the message print automatically during construction? More... | |
bool | on_destruct |
Should the message print automatically during destruction? More... | |
An object that will automatically output a message during construction or destruction, usually for use in debugging to disentangle timings.
|
inline |
|
inline |
|
inline |
|
inline |
std::string emp::AlertObj::msg |
Message for the alert to print.
bool emp::AlertObj::on_construct |
Should the message print automatically during construction?
bool emp::AlertObj::on_destruct |
Should the message print automatically during destruction?