SystemC  2.3.1
Accellera SystemC proof-of-concept library
Classes | Static Public Member Functions | Static Protected Member Functions | Static Protected Attributes | Friends | List of all members
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]

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_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
 
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_reportlast_global_report
 
static sc_actions available_actions
 
static char * log_file_name
 
static int verbosity_level
 
static msg_def_itemsmessages
 
static msg_def_items msg_terminator
 
static sc_report_handler_proc handler
 

Friends

class sc_report
 

Detailed Description

Definition at line 57 of file sc_report_handler.h.

Member Function Documentation

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 )
staticprotected
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   
)
staticprotected
static sc_actions sc_core::sc_report_handler::force ( sc_actions  )
static
static sc_actions sc_core::sc_report_handler::force ( )
static
static sc_report* sc_core::sc_report_handler::get_cached_report ( )
static
static int sc_core::sc_report_handler::get_count ( 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 ( const char *  msg_type_,
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)
staticprotected
static void sc_core::sc_report_handler::release ( )
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 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  ,
int  id,
const char *  add_msg,
const char *  file,
int  line 
)
static
static sc_actions sc_core::sc_report_handler::set_actions ( 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 ( const char *  msg_type,
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 ( 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 ( const char *  msg_type,
sc_severity  ,
int  limit = -1 
)
static
static sc_actions sc_core::sc_report_handler::suppress ( sc_actions  )
static
static sc_actions sc_core::sc_report_handler::suppress ( )
static

Friends And Related Function Documentation

friend class sc_report
friend

Definition at line 156 of file sc_report_handler.h.

Member Data Documentation

sc_actions sc_core::sc_report_handler::available_actions
staticprotected

Definition at line 143 of file sc_report_handler.h.

sc_actions sc_core::sc_report_handler::force_mask
staticprotected

Definition at line 138 of file sc_report_handler.h.

sc_report_handler_proc sc_core::sc_report_handler::handler
staticprotected

Definition at line 150 of file sc_report_handler.h.

sc_report* sc_core::sc_report_handler::last_global_report
staticprotected

Definition at line 142 of file sc_report_handler.h.

char* sc_core::sc_report_handler::log_file_name
staticprotected

Definition at line 144 of file sc_report_handler.h.

msg_def_items* sc_core::sc_report_handler::messages
staticprotected

Definition at line 147 of file sc_report_handler.h.

msg_def_items sc_core::sc_report_handler::msg_terminator
staticprotected

Definition at line 148 of file sc_report_handler.h.

sc_actions sc_core::sc_report_handler::sev_actions[SC_MAX_SEVERITY]
staticprotected

Definition at line 139 of file sc_report_handler.h.

unsigned sc_core::sc_report_handler::sev_call_count[SC_MAX_SEVERITY]
staticprotected

Definition at line 141 of file sc_report_handler.h.

unsigned sc_core::sc_report_handler::sev_limit[SC_MAX_SEVERITY]
staticprotected

Definition at line 140 of file sc_report_handler.h.

sc_actions sc_core::sc_report_handler::suppress_mask
staticprotected

Definition at line 137 of file sc_report_handler.h.

int sc_core::sc_report_handler::verbosity_level
staticprotected

Definition at line 145 of file sc_report_handler.h.


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