#include <sc_report_handler.h>
Static Public メソッド | |
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 メソッド | |
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 変数 | |
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 |
Static Private メソッド | |
static sc_msg_def * | mdlookup (int id) |
フレンド | |
class | sc_report |
構成 | |
struct | msg_def_items |
void sc_core::sc_report_handler::report | ( | sc_severity | severity_, | |
const char * | msg_type, | |||
const char * | msg, | |||
const char * | file, | |||
int | line | |||
) | [static] |
sc_actions sc_core::sc_report_handler::set_actions | ( | sc_severity | severity_, | |
sc_actions | actions_ = SC_UNSPECIFIED | |||
) | [static] |
sc_actions sc_core::sc_report_handler::set_actions | ( | const char * | msg_type, | |
sc_actions | actions_ = SC_UNSPECIFIED | |||
) | [static] |
sc_actions sc_core::sc_report_handler::set_actions | ( | const char * | msg_type, | |
sc_severity | severity_, | |||
sc_actions | actions_ = SC_UNSPECIFIED | |||
) | [static] |
int sc_core::sc_report_handler::stop_after | ( | sc_severity | severity_, | |
int | limit = -1 | |||
) | [static] |
int sc_core::sc_report_handler::stop_after | ( | const char * | msg_type, | |
int | limit = -1 | |||
) | [static] |
int sc_core::sc_report_handler::stop_after | ( | const char * | msg_type, | |
sc_severity | severity_, | |||
int | limit = -1 | |||
) | [static] |
sc_actions sc_core::sc_report_handler::suppress | ( | sc_actions | mask | ) | [static] |
sc_actions sc_core::sc_report_handler::suppress | ( | ) | [static] |
sc_actions sc_core::sc_report_handler::force | ( | sc_actions | mask | ) | [static] |
sc_actions sc_core::sc_report_handler::force | ( | ) | [static] |
int sc_core::sc_report_handler::get_count | ( | sc_severity | severity_ | ) | [static] |
int sc_core::sc_report_handler::get_count | ( | const char * | msg_type_ | ) | [static] |
int sc_core::sc_report_handler::get_count | ( | const char * | msg_type_, | |
sc_severity | severity_ | |||
) | [static] |
void sc_core::sc_report_handler::initialize | ( | ) | [static] |
void sc_core::sc_report_handler::release | ( | ) | [static] |
void sc_core::sc_report_handler::set_handler | ( | sc_report_handler_proc | handler_ | ) | [static] |
void sc_core::sc_report_handler::default_handler | ( | const sc_report & | rep, | |
const sc_actions & | actions | |||
) | [static] |
sc_actions sc_core::sc_report_handler::get_new_action_id | ( | ) | [static] |
sc_report * sc_core::sc_report_handler::get_cached_report | ( | ) | [static] |
void sc_core::sc_report_handler::clear_cached_report | ( | ) | [static] |
bool sc_core::sc_report_handler::set_log_file_name | ( | const char * | filename | ) | [static] |
const char * sc_core::sc_report_handler::get_log_file_name | ( | ) | [static] |
void sc_core::sc_report_handler::add_static_msg_types | ( | msg_def_items * | items | ) | [static] |
sc_msg_def * sc_core::sc_report_handler::add_msg_type | ( | const char * | msg_type | ) | [static] |
void sc_core::sc_report_handler::cache_report | ( | const sc_report & | rep | ) | [static, protected] |
sc_actions sc_core::sc_report_handler::execute | ( | sc_msg_def * | md, | |
sc_severity | severity_ | |||
) | [static, protected] |
sc_msg_def * sc_core::sc_report_handler::mdlookup | ( | const char * | msg_type | ) | [static, protected] |
sc_msg_def * sc_core::sc_report_handler::mdlookup | ( | int | id | ) | [static, private] |
void sc_core::sc_report_handler::report | ( | sc_severity | severity_, | |
int | id, | |||
const char * | add_msg, | |||
const char * | file, | |||
int | line | |||
) | [static] |
friend class sc_report [friend] |
sc_actions sc_core::sc_report_handler::suppress_mask = 0 [static, protected] |
sc_actions sc_core::sc_report_handler::force_mask = 0 [static, protected] |
sc_actions sc_core::sc_report_handler::sev_actions [static, protected] |
sc_actions sc_core::sc_report_handler::sev_limit [static, protected] |
初期値:
{ UINT_MAX, UINT_MAX, UINT_MAX, UINT_MAX }
sc_actions sc_core::sc_report_handler::sev_call_count = { 0, 0, 0, 0 } [static, protected] |
sc_report * sc_core::sc_report_handler::last_global_report = NULL [static, protected] |
sc_actions sc_core::sc_report_handler::available_actions [static, protected] |
初期値:
SC_DO_NOTHING | SC_THROW | SC_LOG | SC_DISPLAY | SC_CACHE_REPORT | SC_INTERRUPT | SC_STOP | SC_ABORT
char * sc_core::sc_report_handler::log_file_name = 0 [static, protected] |
sc_report_handler::msg_def_items * sc_core::sc_report_handler::messages [static, protected] |
sc_report_handler::msg_def_items sc_core::sc_report_handler::msg_terminator [static, protected] |
初期値:
{ default_msgs, sizeof(default_msgs)/sizeof(*default_msgs), false, NULL }
sc_report_handler_proc sc_core::sc_report_handler::handler [static, protected] |