#include <sysc/utils/sc_report_handler.h>
Classes | |
struct | msg_def_items |
Static Public Member Functions | |
static void | report (sc_severity, const char *msg_type, const char *msg, const char *file, int line) |
static void | report (sc_severity, const char *msg_type, const char *msg, int verbosity, const char *file, int line) |
static sc_actions | set_actions (sc_severity, sc_actions=SC_UNSPECIFIED) |
static sc_actions | set_actions (const char *msg_type, sc_actions=SC_UNSPECIFIED) |
static sc_actions | set_actions (const char *msg_type, sc_severity, sc_actions=SC_UNSPECIFIED) |
static int | stop_after (sc_severity, int limit=-1) |
static int | stop_after (const char *msg_type, int limit=-1) |
static int | stop_after (const char *msg_type, sc_severity, int limit=-1) |
static sc_actions | suppress (sc_actions) |
static sc_actions | suppress () |
static sc_actions | force (sc_actions) |
static sc_actions | force () |
static int | get_count (sc_severity severity_) |
static int | get_count (const char *msg_type_) |
static int | get_count (const char *msg_type_, sc_severity severity_) |
static int | get_verbosity_level () |
static int | set_verbosity_level (int level) |
static void | initialize () |
static void | release () |
static sc_report_handler_proc | set_handler (sc_report_handler_proc) |
static sc_report_handler_proc | get_handler () |
static void | default_handler (const sc_report &, const sc_actions &) |
static sc_actions | get_new_action_id () |
static sc_report * | get_cached_report () |
static void | clear_cached_report () |
static bool | set_log_file_name (const char *filename) |
static const char * | get_log_file_name () |
static void | add_static_msg_types (msg_def_items *) |
static sc_msg_def * | add_msg_type (const char *msg_type) |
static void | report (sc_severity, int id, const char *add_msg, const char *file, int line) |
Static Protected Member Functions | |
static void | cache_report (const sc_report &) |
static sc_actions | execute (sc_msg_def *, sc_severity) |
static sc_msg_def * | mdlookup (const char *msg_type) |
Static Protected Attributes | |
static sc_actions | suppress_mask |
static sc_actions | force_mask |
static sc_actions | sev_actions [SC_MAX_SEVERITY] |
static unsigned | sev_limit [SC_MAX_SEVERITY] |
static unsigned | sev_call_count [SC_MAX_SEVERITY] |
static sc_report * | last_global_report |
static sc_actions | available_actions |
static char * | log_file_name |
static int | verbosity_level |
static msg_def_items * | messages |
static msg_def_items | msg_terminator |
static sc_report_handler_proc | handler |
Friends | |
class | sc_report |
Definition at line 57 of file sc_report_handler.h.
static sc_msg_def* sc_core::sc_report_handler::add_msg_type | ( | const char * | msg_type | ) | [static] |
static void sc_core::sc_report_handler::add_static_msg_types | ( | msg_def_items * | ) | [static] |
static void sc_core::sc_report_handler::cache_report | ( | const sc_report & | ) | [static, protected] |
static void sc_core::sc_report_handler::clear_cached_report | ( | ) | [static] |
static void sc_core::sc_report_handler::default_handler | ( | const sc_report & | , | |
const sc_actions & | ||||
) | [static] |
static sc_actions sc_core::sc_report_handler::execute | ( | sc_msg_def * | , | |
sc_severity | ||||
) | [static, protected] |
static sc_actions sc_core::sc_report_handler::force | ( | ) | [static] |
static sc_actions sc_core::sc_report_handler::force | ( | sc_actions | ) | [static] |
static sc_report* sc_core::sc_report_handler::get_cached_report | ( | ) | [static] |
static int sc_core::sc_report_handler::get_count | ( | const char * | msg_type_, | |
sc_severity | severity_ | |||
) | [static] |
static int sc_core::sc_report_handler::get_count | ( | const char * | msg_type_ | ) | [static] |
static int sc_core::sc_report_handler::get_count | ( | sc_severity | severity_ | ) | [static] |
static sc_report_handler_proc sc_core::sc_report_handler::get_handler | ( | ) | [static] |
static const char* sc_core::sc_report_handler::get_log_file_name | ( | ) | [static] |
static sc_actions sc_core::sc_report_handler::get_new_action_id | ( | ) | [static] |
static int sc_core::sc_report_handler::get_verbosity_level | ( | ) | [static] |
static void sc_core::sc_report_handler::initialize | ( | ) | [static] |
static sc_msg_def* sc_core::sc_report_handler::mdlookup | ( | const char * | msg_type | ) | [static, protected] |
static void sc_core::sc_report_handler::release | ( | ) | [static] |
static void sc_core::sc_report_handler::report | ( | sc_severity | , | |
int | id, | |||
const char * | add_msg, | |||
const char * | file, | |||
int | line | |||
) | [static] |
static void sc_core::sc_report_handler::report | ( | sc_severity | , | |
const char * | msg_type, | |||
const char * | msg, | |||
int | verbosity, | |||
const char * | file, | |||
int | line | |||
) | [static] |
static void sc_core::sc_report_handler::report | ( | sc_severity | , | |
const char * | msg_type, | |||
const char * | msg, | |||
const char * | file, | |||
int | line | |||
) | [static] |
static sc_actions sc_core::sc_report_handler::set_actions | ( | const char * | msg_type, | |
sc_severity | , | |||
sc_actions | = SC_UNSPECIFIED | |||
) | [static] |
static sc_actions sc_core::sc_report_handler::set_actions | ( | const char * | msg_type, | |
sc_actions | = SC_UNSPECIFIED | |||
) | [static] |
static sc_actions sc_core::sc_report_handler::set_actions | ( | sc_severity | , | |
sc_actions | = SC_UNSPECIFIED | |||
) | [static] |
static sc_report_handler_proc sc_core::sc_report_handler::set_handler | ( | sc_report_handler_proc | ) | [static] |
static bool sc_core::sc_report_handler::set_log_file_name | ( | const char * | filename | ) | [static] |
static int sc_core::sc_report_handler::set_verbosity_level | ( | int | level | ) | [static] |
static int sc_core::sc_report_handler::stop_after | ( | const char * | msg_type, | |
sc_severity | , | |||
int | limit = -1 | |||
) | [static] |
static int sc_core::sc_report_handler::stop_after | ( | const char * | msg_type, | |
int | limit = -1 | |||
) | [static] |
static int sc_core::sc_report_handler::stop_after | ( | sc_severity | , | |
int | limit = -1 | |||
) | [static] |
static sc_actions sc_core::sc_report_handler::suppress | ( | ) | [static] |
static sc_actions sc_core::sc_report_handler::suppress | ( | sc_actions | ) | [static] |
friend class sc_report [friend] |
Definition at line 156 of file sc_report_handler.h.
sc_actions sc_core::sc_report_handler::available_actions [static, protected] |
Definition at line 143 of file sc_report_handler.h.
sc_actions sc_core::sc_report_handler::force_mask [static, protected] |
Definition at line 138 of file sc_report_handler.h.
sc_report_handler_proc sc_core::sc_report_handler::handler [static, protected] |
Definition at line 150 of file sc_report_handler.h.
sc_report* sc_core::sc_report_handler::last_global_report [static, protected] |
Definition at line 142 of file sc_report_handler.h.
char* sc_core::sc_report_handler::log_file_name [static, protected] |
Definition at line 144 of file sc_report_handler.h.
msg_def_items* sc_core::sc_report_handler::messages [static, protected] |
Definition at line 147 of file sc_report_handler.h.
msg_def_items sc_core::sc_report_handler::msg_terminator [static, protected] |
Definition at line 148 of file sc_report_handler.h.
sc_actions sc_core::sc_report_handler::sev_actions[SC_MAX_SEVERITY] [static, protected] |
Definition at line 139 of file sc_report_handler.h.
unsigned sc_core::sc_report_handler::sev_call_count[SC_MAX_SEVERITY] [static, protected] |
Definition at line 141 of file sc_report_handler.h.
unsigned sc_core::sc_report_handler::sev_limit[SC_MAX_SEVERITY] [static, protected] |
Definition at line 140 of file sc_report_handler.h.
sc_actions sc_core::sc_report_handler::suppress_mask [static, protected] |
Definition at line 137 of file sc_report_handler.h.
int sc_core::sc_report_handler::verbosity_level [static, protected] |
Definition at line 145 of file sc_report_handler.h.