9 #ifndef STK_UTIL_ENVIRONMENT_RUNTIMEDOOMED_HPP 10 #define STK_UTIL_ENVIRONMENT_RUNTIMEDOOMED_HPP 18 typedef std::ostream &(*OStreamFunctionPtr)(std::ostream &);
19 typedef std::ios_base &(*IOSBaseFunctionPtr)(std::ios_base &);
406 #endif // STK_UTIL_ENVIRONMENT_RUNTIMEDOOMED_HPP void report_deferred_doomed(const char *message, const char *aggregate, const MessageCode &message_code)
Member function report_deferred_doomed ...
~RuntimeDoomedDeferred()
Destroys a RuntimeDoomed instance.
RuntimeDoomedAdHoc & operator<<(IOSBaseFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
void set_max_doomed_count(unsigned int max_messages)
Function set_max_messages sets the maximum number of doomed before no more doomed will be displayed...
RuntimeDoomedDeferred(const MessageCode &message_code)
Creates a new RuntimeDoomedDeferred instance, setting the message code.
std::ostringstream aggregate
Stream to receive message aggregate content.
RuntimeDoomedAdHoc & operator<<(OStreamFunctionPtr f)
Member function operator<< passes the output stream manipulator to the output stream.
RuntimeDoomedSymmetric(const MessageCode &message_code=MessageCode::s_defaultMessageCode)
Creates a new RuntimeDoomedSymmetric instance, setting the message code.
std::ostringstream message
Stream to receive message header content.
RuntimeDoomedAdHoc & operator<<(const T &t)
Member function operator<< passes any data type to the exception string class for conversion to a str...
RuntimeDoomedSymmetric & operator<<(OStreamFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
void report_doomed(const char *message, const MessageCode &message_code)
Function report_symmetric_doomed sends a doomed message to the reporter.
Class MessageCode declares a message identifier and throttle characteristics for a message...
RuntimeDoomedDeferred & operator<<(OStreamFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
RuntimeDoomedDeferred & operator<<(const T &t)
Member function operator<< passes any data type to the exception string class for conversion to a str...
~RuntimeDoomedAdHoc()
Destroys a RuntimeDoomedAdHoc instance.
Class RuntimeDoomedDeferred reports a deferred fatal error message to the report system.
void report_symmetric_doomed(const char *message, const MessageCode &message_code)
Function report_symmetric_doomed sends a doomed message to the reporter.
RuntimeDoomedDeferred & operator<<(IOSBaseFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
RuntimeDoomedSymmetric & operator<<(const T &t)
Member function operator<< passes any data type to the exception string class for conversion to a str...
~RuntimeDoomedSymmetric()
Destroys a RuntimeDoomedSymmetric instance.
std::ostringstream message
Stream to receive message content.
unsigned int get_doomed_count()
Function get_doomed_count returns the accumulated doomed count.
std::ostringstream message
Stream to receive message content.
unsigned get_max_doomed_count()
Function set_max_messages sets the maximum number of doomed and doomed messages displayed before the ...
Class RuntimeDoomedSymmetric reports a fatal error message to the report system.
RuntimeDoomedAdHoc(const MessageCode &message_code=MessageCode::s_defaultMessageCode)
Creates a new RuntimeDoomedAdHoc instance, setting the message code.
bool is_doomed()
Function is_doomed returns true if get_doomed_count() > 0.
RuntimeDoomedSymmetric & operator<<(IOSBaseFunctionPtr f)
Member function operator<< passes the ios_base manipulator to the output stream.
static MessageCode s_defaultMessageCode
Default message code.
Class RuntimeDoomedAdHoc reports an ad hoc doomed message to the report system.
void reset_doomed_count()
Function reset_doomed_count sets the accumulated doomed count to zero.