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

scv_report.h File Reference

#include "scv/scv_config.h"
#include <string>
#include "scv/scv_object_if.h"
#include "scv/scv_util.h"
#include "scv/scv_debug.h"
#include "scv/scv_messages.h"

Include dependency graph for scv_report.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  _scv_message
class  _scv_message_desc
class  scv_report
class  scv_report_handler

Defines

#define SCV_REPORT_INFO(msg_type, msg)   scv_report_handler::report(SCV_INFO,(msg_type),(msg),__FILE__,__LINE__)
#define SCV_REPORT_WARNING(msg_type, msg)   scv_report_handler::report(SCV_WARNING,(msg_type),(msg),__FILE__,__LINE__)
#define SCV_REPORT_ERROR(msg_type, msg)   scv_report_handler::report(SCV_ERROR,(msg_type),(msg),__FILE__,__LINE__)
#define SCV_REPORT_FATAL(msg_type, msg)   scv_report_handler::report(SCV_FATAL,(msg_type),(msg),__FILE__,__LINE__)
#define _SCV_DEFERR(code, number, string, severity, actions)

Typedefs

typedef unsigned scv_actions
typedef const char * scv_msg_type

Enumerations

enum  scv_severity { SCV_INFO = 0, SCV_WARNING, SCV_ERROR, SCV_FATAL }

Variables

const scv_actions SCV_UNSPECIFIED = 0x0000
const scv_actions SCV_DO_NOTHING = 0x0001
const scv_actions SCV_THROW = 0x0002
const scv_actions SCV_LOG = 0x0004
const scv_actions SCV_DISPLAY = 0x0008
const scv_actions SCV_CACHE_REPORT = 0x0010
const scv_actions SCV_INTERRUPT = 0x0020
const scv_actions SCV_STOP = 0x0040
const scv_actions SCV_ABORT = 0x0080
const scv_actions SCV_DEFAULT_INFO_ACTIONS = SCV_LOG | SCV_DISPLAY
const scv_actions SCV_DEFAULT_WARNING_ACTIONS = SCV_LOG | SCV_DISPLAY
const scv_actions SCV_DEFAULT_ERROR_ACTIONS = SCV_LOG | SCV_DISPLAY | SCV_CACHE_REPORT | SCV_THROW
const scv_actions SCV_DEFAULT_FATAL_ACTIONS = SCV_LOG | SCV_DISPLAY | SCV_CACHE_REPORT | SCV_THROW


Define Documentation

#define _SCV_DEFERR code,
number,
string,
severity,
actions   
 

Value:

static _scv_message_desc *code##_base; \
  static _scv_message_desc **code;

Definition at line 335 of file scv_report.h.

#define SCV_REPORT_ERROR msg_type,
msg       scv_report_handler::report(SCV_ERROR,(msg_type),(msg),__FILE__,__LINE__)
 

Definition at line 113 of file scv_report.h.

Referenced by scv_report_handler::default_handler().

#define SCV_REPORT_FATAL msg_type,
msg       scv_report_handler::report(SCV_FATAL,(msg_type),(msg),__FILE__,__LINE__)
 

Definition at line 116 of file scv_report.h.

#define SCV_REPORT_INFO msg_type,
msg       scv_report_handler::report(SCV_INFO,(msg_type),(msg),__FILE__,__LINE__)
 

Definition at line 107 of file scv_report.h.

#define SCV_REPORT_WARNING msg_type,
msg       scv_report_handler::report(SCV_WARNING,(msg_type),(msg),__FILE__,__LINE__)
 

Definition at line 110 of file scv_report.h.


Typedef Documentation

typedef unsigned scv_actions
 

Definition at line 128 of file scv_report.h.

Referenced by _scv_message_desc::_scv_message_desc(), scv_report_handler::default_handler(), scv_report_handler::force(), mask::get(), scv_report_handler::get_new_action_id(), mask::mask(), _scv_message::message(), scv_report_handler::report(), mask::set(), scv_report_handler::set_actions(), and scv_report_handler::suppress().

typedef const char* scv_msg_type
 

Definition at line 141 of file scv_report.h.

Referenced by scv_report_handler::default_handler(), rules< scv_actions >::get(), scv_report::get_msg_type(), rules< scv_actions >::incr(), scv_report_handler::report(), scv_interrupt_here(), scv_report::scv_report(), rules< scv_actions >::set(), scv_report_handler::set_actions(), and scv_report_handler::stop_after().


Enumeration Type Documentation

enum scv_severity
 

Enumeration values:
SCV_INFO 
SCV_WARNING 
SCV_ERROR 
SCV_FATAL 

Definition at line 120 of file scv_report.h.

Referenced by _scv_message_desc::_scv_message_desc(), scv_report_handler::default_handler(), rules< scv_actions >::get(), _scv_message_desc::get_severity(), scv_report::get_severity(), rules< scv_actions >::incr(), _scv_message::message(), scv_report_handler::report(), scv_report::scv_report(), rules< scv_actions >::set(), scv_report_handler::set_actions(), scv_report_handler::stop_after(), and _scv_message::xlat_severity().


Variable Documentation

const scv_actions SCV_ABORT = 0x0080
 

Definition at line 138 of file scv_report.h.

Referenced by scv_report_handler::default_handler().

const scv_actions SCV_CACHE_REPORT = 0x0010
 

Definition at line 135 of file scv_report.h.

Referenced by scv_report_handler::default_handler().

const scv_actions SCV_DEFAULT_ERROR_ACTIONS = SCV_LOG | SCV_DISPLAY | SCV_CACHE_REPORT | SCV_THROW
 

Definition at line 294 of file scv_report.h.

Referenced by scv_report_core::initialize().

const scv_actions SCV_DEFAULT_FATAL_ACTIONS = SCV_LOG | SCV_DISPLAY | SCV_CACHE_REPORT | SCV_THROW
 

Definition at line 296 of file scv_report.h.

Referenced by scv_report_core::initialize().

const scv_actions SCV_DEFAULT_INFO_ACTIONS = SCV_LOG | SCV_DISPLAY
 

Definition at line 290 of file scv_report.h.

Referenced by scv_report_core::initialize().

const scv_actions SCV_DEFAULT_WARNING_ACTIONS = SCV_LOG | SCV_DISPLAY
 

Definition at line 292 of file scv_report.h.

Referenced by scv_report_core::initialize().

const scv_actions SCV_DISPLAY = 0x0008
 

Definition at line 134 of file scv_report.h.

Referenced by scv_report_handler::default_handler().

const scv_actions SCV_DO_NOTHING = 0x0001
 

Definition at line 131 of file scv_report.h.

const scv_actions SCV_INTERRUPT = 0x0020
 

Definition at line 136 of file scv_report.h.

Referenced by scv_report_handler::default_handler().

const scv_actions SCV_LOG = 0x0004
 

Definition at line 133 of file scv_report.h.

Referenced by scv_report_handler::default_handler().

const scv_actions SCV_STOP = 0x0040
 

Definition at line 137 of file scv_report.h.

Referenced by scv_report_handler::default_handler().

const scv_actions SCV_THROW = 0x0002
 

Definition at line 132 of file scv_report.h.

Referenced by scv_report_handler::default_handler().

const scv_actions SCV_UNSPECIFIED = 0x0000
 

Definition at line 130 of file scv_report.h.

Referenced by scv_report_handler::report(), and scv_report_core::scv_report_core().


Generated on Sun Dec 12 19:22:29 2004 for SystemC2.0.1(excludingMSLib)(IncludingSCV) by doxygen1.2.18