#include <sysc/utils/sc_report_handler.h>

Static Public Member Functions | |
| static void | report (sc_severity, const char *msg_type, const char *msg, 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 void | initialize () |
| static void | release () |
| static void | set_handler (sc_report_handler_proc) |
| 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 = 0 |
| static sc_actions | force_mask = 0 |
| static sc_actions | sev_actions [SC_MAX_SEVERITY] |
| static unsigned | sev_limit [SC_MAX_SEVERITY] |
| static unsigned | sev_call_count [SC_MAX_SEVERITY] = { 0, 0, 0, 0 } |
| static sc_report * | last_global_report = NULL |
| static sc_actions | available_actions |
| static char * | log_file_name = 0 |
| static msg_def_items * | messages |
| static msg_def_items | msg_terminator |
| static sc_report_handler_proc | handler |
Friends | |
| class | sc_report |
Classes | |
| struct | msg_def_items |
Definition at line 75 of file sc_report_handler.h.
| void sc_core::sc_report_handler::report | ( | sc_severity | severity_, | |
| const char * | msg_type, | |||
| const char * | msg, | |||
| const char * | file, | |||
| int | line | |||
| ) | [static] |
Definition at line 279 of file sc_report_handler.cpp.
| sc_actions sc_core::sc_report_handler::set_actions | ( | sc_severity | severity_, | |
| sc_actions | actions_ = SC_UNSPECIFIED | |||
| ) | [static] |
Definition at line 421 of file sc_report_handler.cpp.
| sc_actions sc_core::sc_report_handler::set_actions | ( | const char * | msg_type, | |
| sc_actions | actions_ = SC_UNSPECIFIED | |||
| ) | [static] |
Definition at line 429 of file sc_report_handler.cpp.
| sc_actions sc_core::sc_report_handler::set_actions | ( | const char * | msg_type, | |
| sc_severity | severity_, | |||
| sc_actions | actions_ = SC_UNSPECIFIED | |||
| ) | [static] |
Definition at line 443 of file sc_report_handler.cpp.
| int sc_core::sc_report_handler::stop_after | ( | sc_severity | severity_, | |
| int | limit = -1 | |||
| ) | [static] |
Definition at line 458 of file sc_report_handler.cpp.
| int sc_core::sc_report_handler::stop_after | ( | const char * | msg_type, | |
| int | limit = -1 | |||
| ) | [static] |
Definition at line 467 of file sc_report_handler.cpp.
| int sc_core::sc_report_handler::stop_after | ( | const char * | msg_type, | |
| sc_severity | severity_, | |||
| int | limit = -1 | |||
| ) | [static] |
Definition at line 486 of file sc_report_handler.cpp.
| sc_actions sc_core::sc_report_handler::suppress | ( | sc_actions | mask | ) | [static] |
Definition at line 508 of file sc_report_handler.cpp.
| sc_actions sc_core::sc_report_handler::suppress | ( | ) | [static] |
Definition at line 515 of file sc_report_handler.cpp.
| sc_actions sc_core::sc_report_handler::force | ( | sc_actions | mask | ) | [static] |
Definition at line 520 of file sc_report_handler.cpp.
| sc_actions sc_core::sc_report_handler::force | ( | ) | [static] |
Definition at line 527 of file sc_report_handler.cpp.
| int sc_core::sc_report_handler::get_count | ( | sc_severity | severity_ | ) | [static] |
Definition at line 185 of file sc_report_handler.cpp.
| int sc_core::sc_report_handler::get_count | ( | const char * | msg_type_ | ) | [static] |
Definition at line 190 of file sc_report_handler.cpp.
| int sc_core::sc_report_handler::get_count | ( | const char * | msg_type_, | |
| sc_severity | severity_ | |||
| ) | [static] |
Definition at line 200 of file sc_report_handler.cpp.
| void sc_core::sc_report_handler::initialize | ( | ) | [static] |
Definition at line 301 of file sc_report_handler.cpp.
| void sc_core::sc_report_handler::release | ( | ) | [static] |
Definition at line 344 of file sc_report_handler.cpp.
| void sc_core::sc_report_handler::set_handler | ( | sc_report_handler_proc | handler_ | ) | [static] |
Definition at line 532 of file sc_report_handler.cpp.
| void sc_core::sc_report_handler::default_handler | ( | const sc_report & | rep, | |
| const sc_actions & | actions | |||
| ) | [static] |
Definition at line 142 of file sc_report_handler.cpp.
| sc_actions sc_core::sc_report_handler::get_new_action_id | ( | ) | [static] |
Definition at line 561 of file sc_report_handler.cpp.
| sc_report * sc_core::sc_report_handler::get_cached_report | ( | ) | [static] |
Definition at line 537 of file sc_report_handler.cpp.
| void sc_core::sc_report_handler::clear_cached_report | ( | ) | [static] |
Definition at line 547 of file sc_report_handler.cpp.
| bool sc_core::sc_report_handler::set_log_file_name | ( | const char * | filename | ) | [static] |
Definition at line 574 of file sc_report_handler.cpp.
| const char * sc_core::sc_report_handler::get_log_file_name | ( | ) | [static] |
Definition at line 589 of file sc_report_handler.cpp.
| void sc_core::sc_report_handler::add_static_msg_types | ( | msg_def_items * | items | ) | [static] |
Definition at line 414 of file sc_report_handler.cpp.
| sc_msg_def * sc_core::sc_report_handler::add_msg_type | ( | const char * | msg_type | ) | [static] |
Definition at line 377 of file sc_report_handler.cpp.
| void sc_core::sc_report_handler::cache_report | ( | const sc_report & | rep | ) | [static, protected] |
Definition at line 594 of file sc_report_handler.cpp.
| sc_actions sc_core::sc_report_handler::execute | ( | sc_msg_def * | md, | |
| sc_severity | severity_ | |||
| ) | [static, protected] |
Definition at line 228 of file sc_report_handler.cpp.
| sc_msg_def * sc_core::sc_report_handler::mdlookup | ( | const char * | msg_type | ) | [static, protected] |
Definition at line 216 of file sc_report_handler.cpp.
| void sc_core::sc_report_handler::report | ( | sc_severity | severity_, | |
| int | id, | |||
| const char * | add_msg, | |||
| const char * | file, | |||
| int | line | |||
| ) | [static] |
Definition at line 179 of file sc_report.cpp.
friend class sc_report [friend] |
Definition at line 162 of file sc_report_handler.h.
sc_actions sc_core::sc_report_handler::suppress_mask = 0 [static, protected] |
Definition at line 144 of file sc_report_handler.h.
sc_actions sc_core::sc_report_handler::force_mask = 0 [static, protected] |
Definition at line 145 of file sc_report_handler.h.
sc_actions sc_core::sc_report_handler::sev_actions [static, protected] |
Initial value:
{
SC_DEFAULT_INFO_ACTIONS,
SC_DEFAULT_WARNING_ACTIONS,
SC_DEFAULT_ERROR_ACTIONS,
SC_DEFAULT_FATAL_ACTIONS
}
Definition at line 146 of file sc_report_handler.h.
sc_actions sc_core::sc_report_handler::sev_limit [static, protected] |
Initial value:
{
UINT_MAX, UINT_MAX, UINT_MAX, UINT_MAX
}
Definition at line 147 of file sc_report_handler.h.
sc_actions sc_core::sc_report_handler::sev_call_count = { 0, 0, 0, 0 } [static, protected] |
Definition at line 148 of file sc_report_handler.h.
sc_report * sc_core::sc_report_handler::last_global_report = NULL [static, protected] |
Definition at line 149 of file sc_report_handler.h.
sc_actions sc_core::sc_report_handler::available_actions [static, protected] |
Initial value:
SC_DO_NOTHING |
SC_THROW |
SC_LOG |
SC_DISPLAY |
SC_CACHE_REPORT |
SC_INTERRUPT |
SC_STOP |
SC_ABORT
Definition at line 150 of file sc_report_handler.h.
char * sc_core::sc_report_handler::log_file_name = 0 [static, protected] |
Definition at line 151 of file sc_report_handler.h.
sc_report_handler::msg_def_items * sc_core::sc_report_handler::messages [static, protected] |
Initial value:
Definition at line 153 of file sc_report_handler.h.
sc_report_handler::msg_def_items sc_core::sc_report_handler::msg_terminator [static, protected] |
Initial value:
{
default_msgs,
sizeof(default_msgs)/sizeof(*default_msgs),
false,
NULL
}
Definition at line 154 of file sc_report_handler.h.
sc_report_handler_proc sc_core::sc_report_handler::handler [static, protected] |
Initial value:
Definition at line 156 of file sc_report_handler.h.
1.5.5