sc_core::sc_report_handler Class Reference

#include <sysc/utils/sc_report_handler.h>

Collaboration diagram for sc_core::sc_report_handler:

Collaboration graph
[legend]

List of all members.

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_reportget_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_defadd_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_defmdlookup (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_reportlast_global_report = NULL
static sc_actions available_actions
static char * log_file_name = 0
static msg_def_itemsmessages
static msg_def_items msg_terminator
static sc_report_handler_proc handler

Friends

class sc_report

Classes

struct  msg_def_items


Detailed Description

Definition at line 75 of file sc_report_handler.h.


Member Function Documentation

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.


Friends And Related Function Documentation

friend class sc_report [friend]

Definition at line 162 of file sc_report_handler.h.


Member Data Documentation

Definition at line 144 of file sc_report_handler.h.

Definition at line 145 of file sc_report_handler.h.

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.

Definition at line 149 of file sc_report_handler.h.

Initial value:

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.

Initial value:

Definition at line 153 of file sc_report_handler.h.

Initial value:

{
    default_msgs,
    sizeof(default_msgs)/sizeof(*default_msgs),
    false,
    NULL
}

Definition at line 154 of file sc_report_handler.h.

Initial value:

Definition at line 156 of file sc_report_handler.h.


The documentation for this class was generated from the following files:

Generated on Wed Jan 21 15:32:16 2009 for SystemC by  doxygen 1.5.5