Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

scv_report_handler Class Reference

#include <scv_report.h>

List of all members.

Public Methods

 scv_report_handler ()
virtual ~scv_report_handler ()

Static Public Methods

void set_handler (void(*handler)(const scv_report &, const scv_actions &)=0)
scv_actions set_actions (scv_severity severity, scv_actions actions=SCV_UNSPECIFIED)
scv_actions set_actions (scv_msg_type msg_type, scv_actions actions=SCV_UNSPECIFIED)
scv_actions set_actions (scv_msg_type msg_type, scv_severity severity, scv_actions actions=SCV_UNSPECIFIED)
int stop_after (scv_severity severity, int limit=-1)
int stop_after (scv_msg_type msg_type, int limit=-1)
int stop_after (scv_msg_type msg_type, scv_severity severity, int limit=-1)
scv_actions suppress (scv_actions actions=0U)
scv_actions force (scv_actions actions=0U)
void register_cb (void(*f)(const scv_report *))
scv_actions get_new_action_id ()
const char * get_log_file_name ()
void set_log_file_name (const char *name)
int get_debug ()
void set_debug (int debug)
void report (scv_severity severity, scv_msg_type msg_type, const char *msg, const char *file_name, int line_number)
void default_handler (const scv_report &, const scv_actions &)
const scv_reportget_cached_report ()
void clear_cached_report ()


Constructor & Destructor Documentation

scv_report_handler::scv_report_handler   [inline]
 

Definition at line 202 of file scv_report.h.

virtual scv_report_handler::~scv_report_handler   [inline, virtual]
 

Definition at line 203 of file scv_report.h.


Member Function Documentation

void scv_report_handler::clear_cached_report   [static]
 

Definition at line 581 of file scv_report.cpp.

void scv_report_handler::default_handler const scv_report  ,
const scv_actions  
[static]
 

Definition at line 440 of file scv_report.cpp.

References abort(), scv_report_core::counts, rules< int >::get(), scv_report_core::get_core(), scv_report::get_file_name(), scv_report::get_line_number(), scv_report::get_msg(), scv_report::get_msg_type(), scv_report::get_process_name(), scv_report::get_severity(), scv_report::get_time(), rules< int >::incr(), scv_report_core::limits, report(), report, sc_stop(), SCV_ABORT, scv_actions, SCV_CACHE_REPORT, SCV_DISPLAY, SCV_FATAL, SCV_INTERRUPT, scv_interrupt_here(), SCV_LOG, scv_msg_type, scv_out, SCV_REPORT_ERROR, scv_severity, SCV_STOP, SCV_THROW, and sprintf().

scv_actions scv_report_handler::force scv_actions    actions = 0U [static]
 

Definition at line 400 of file scv_report.cpp.

References _SCV_DEBUG_CHECK, scv_report_core::force, mask::get(), scv_report_core::get_core(), scv_actions, scv_out, and mask::set().

Referenced by _scv_message::message().

const scv_report * scv_report_handler::get_cached_report   [static]
 

Definition at line 578 of file scv_report.cpp.

int scv_report_handler::get_debug void    [inline, static]
 

Definition at line 260 of file scv_report.h.

const char * scv_report_handler::get_log_file_name   [static]
 

Definition at line 427 of file scv_report.cpp.

scv_actions scv_report_handler::get_new_action_id   [static]
 

Definition at line 417 of file scv_report.cpp.

References scv_actions.

void scv_report_handler::register_cb void(*    f)(const scv_report *) [static]
 

void scv_report_handler::report scv_severity    severity,
scv_msg_type    msg_type,
const char *    msg,
const char *    file_name,
int    line_number
[static]
 

Definition at line 547 of file scv_report.cpp.

References scv_report_core::actions, scv_report_core::force, mask::get(), rules< scv_actions >::get(), scv_report_core::get_core(), sc_get_curr_process_handle(), sc_time_stamp(), scv_actions, scv_get_process_name(), scv_msg_type, scv_severity, scv_stop_here(), SCV_UNSPECIFIED, and scv_report_core::suppress.

Referenced by default_handler(), and _scv_message::message().

scv_actions scv_report_handler::set_actions scv_msg_type    msg_type,
scv_severity    severity,
scv_actions    actions = SCV_UNSPECIFIED
[static]
 

Definition at line 325 of file scv_report.cpp.

References _SCV_DEBUG_CHECK, scv_report_core::actions, rules< scv_actions >::get(), scv_report_core::get_core(), scv_actions, scv_msg_type, scv_out, scv_severity, and rules< scv_actions >::set().

scv_actions scv_report_handler::set_actions scv_msg_type    msg_type,
scv_actions    actions = SCV_UNSPECIFIED
[static]
 

Definition at line 312 of file scv_report.cpp.

References _SCV_DEBUG_CHECK, scv_report_core::actions, rules< scv_actions >::get(), scv_report_core::get_core(), scv_actions, scv_msg_type, scv_out, and rules< scv_actions >::set().

scv_actions scv_report_handler::set_actions scv_severity    severity,
scv_actions    actions = SCV_UNSPECIFIED
[static]
 

Definition at line 299 of file scv_report.cpp.

References _SCV_DEBUG_CHECK, scv_report_core::actions, rules< scv_actions >::get(), scv_report_core::get_core(), scv_actions, scv_out, scv_severity, and rules< scv_actions >::set().

void scv_report_handler::set_debug int    debug [inline, static]
 

Definition at line 261 of file scv_report.h.

void scv_report_handler::set_handler void(*    handler)(const scv_report &, const scv_actions &) = 0 [static]
 

void scv_report_handler::set_log_file_name const char *    name [static]
 

Definition at line 430 of file scv_report.cpp.

References assert, strcpy(), and strlen().

int scv_report_handler::stop_after scv_msg_type    msg_type,
scv_severity    severity,
int    limit = -1
[static]
 

Definition at line 366 of file scv_report.cpp.

References _SCV_DEBUG_CHECK, scv_report_core::actions, rules< scv_actions >::get(), scv_report_core::get_core(), scv_report_core::limits, scv_msg_type, scv_out, scv_severity, and rules< int >::set().

int scv_report_handler::stop_after scv_msg_type    msg_type,
int    limit = -1
[static]
 

Definition at line 353 of file scv_report.cpp.

References _SCV_DEBUG_CHECK, rules< int >::get(), scv_report_core::get_core(), scv_report_core::limits, scv_msg_type, scv_out, and rules< int >::set().

int scv_report_handler::stop_after scv_severity    severity,
int    limit = -1
[static]
 

Definition at line 340 of file scv_report.cpp.

References _SCV_DEBUG_CHECK, rules< int >::get(), scv_report_core::get_core(), scv_report_core::limits, scv_out, scv_severity, and rules< int >::set().

scv_actions scv_report_handler::suppress scv_actions    actions = 0U [static]
 

Definition at line 390 of file scv_report.cpp.

References _SCV_DEBUG_CHECK, mask::get(), scv_report_core::get_core(), scv_actions, scv_out, mask::set(), and scv_report_core::suppress.


The documentation for this class was generated from the following files:
Generated on Fri Jan 14 08:32:21 2005 for SystemC2.1beta11(excludingMSLib)(IncludingSCV)\nProvidedby:www.openverificationfoundation.org by doxygen1.2.18