SystemC  Recoding Infrastructure for SystemC v0.6.2 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
sc_report.h File Reference
#include "sysc/kernel/sc_except.h"
#include <string>
#include "sysc/utils/sc_report_handler.h"
Include dependency graph for sc_report.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  sc_core::sc_report
 

Namespaces

 sc_core
 

Macros

#define SC_DEFAULT_INFO_ACTIONS   (::sc_core::SC_LOG | ::sc_core::SC_DISPLAY)
 
#define SC_DEFAULT_WARNING_ACTIONS   (::sc_core::SC_LOG | ::sc_core::SC_DISPLAY)
 
#define SC_DEFAULT_ERROR_ACTIONS   (::sc_core::SC_LOG | ::sc_core::SC_CACHE_REPORT | ::sc_core::SC_THROW)
 
#define SC_DEFAULT_FATAL_ACTIONS
 
#define SC_REPORT_INFO(msg_type, msg)
 
#define SC_REPORT_INFO_VERB(msg_type, msg, verbosity)
 
#define SC_REPORT_WARNING(msg_type, msg)
 
#define SC_REPORT_ERROR(msg_type, msg)
 
#define SC_REPORT_FATAL(msg_type, msg)
 
#define sc_assert(expr)
 

Typedefs

typedef unsigned sc_core::sc_actions
 
typedef std::exception sc_core::sc_exception
 

Enumerations

enum  sc_core::sc_severity {
  sc_core::SC_INFO = 0, sc_core::SC_WARNING, sc_core::SC_ERROR, sc_core::SC_FATAL,
  sc_core::SC_MAX_SEVERITY
}
 
enum  sc_core::sc_verbosity {
  sc_core::SC_NONE = 0, sc_core::SC_LOW = 100, sc_core::SC_MEDIUM = 200, sc_core::SC_HIGH = 300,
  sc_core::SC_FULL = 400, sc_core::SC_DEBUG = 500
}
 
enum  {
  sc_core::SC_UNSPECIFIED = 0x0000, sc_core::SC_DO_NOTHING = 0x0001, sc_core::SC_THROW = 0x0002, sc_core::SC_LOG = 0x0004,
  sc_core::SC_DISPLAY = 0x0008, sc_core::SC_CACHE_REPORT = 0x0010, sc_core::SC_INTERRUPT = 0x0020, sc_core::SC_STOP = 0x0040,
  sc_core::SC_ABORT = 0x0080
}
 

Functions

const std::string sc_core::sc_report_compose_message (const sc_report &)
 

Variables

const char sc_core::SC_ID_UNKNOWN_ERROR_ []
 
const char sc_core::SC_ID_WITHOUT_MESSAGE_ []
 
const char sc_core::SC_ID_NOT_IMPLEMENTED_ []
 
const char sc_core::SC_ID_INTERNAL_ERROR_ []
 
const char sc_core::SC_ID_ASSERTION_FAILED_ []
 
const char sc_core::SC_ID_OUT_OF_BOUNDS_ []
 

Macro Definition Documentation

#define sc_assert (   expr)
Value:
((void)((expr) ? 0 : \
const char SC_ID_ASSERTION_FAILED_[]
#define SC_REPORT_FATAL(msg_type, msg)
Definition: sc_report.h:217

Definition at line 235 of file sc_report.h.

#define SC_DEFAULT_ERROR_ACTIONS   (::sc_core::SC_LOG | ::sc_core::SC_CACHE_REPORT | ::sc_core::SC_THROW)

Definition at line 187 of file sc_report.h.

#define SC_DEFAULT_FATAL_ACTIONS
#define SC_DEFAULT_INFO_ACTIONS   (::sc_core::SC_LOG | ::sc_core::SC_DISPLAY)

Definition at line 183 of file sc_report.h.

#define SC_DEFAULT_WARNING_ACTIONS   (::sc_core::SC_LOG | ::sc_core::SC_DISPLAY)

Definition at line 185 of file sc_report.h.

#define SC_REPORT_ERROR (   msg_type,
  msg 
)
Value:
::sc_core::SC_ERROR, msg_type, msg, __FILE__, __LINE__ )
static void report(sc_severity, const char *msg_type, const char *msg, const char *file, int line)

Definition at line 213 of file sc_report.h.

#define SC_REPORT_FATAL (   msg_type,
  msg 
)
Value:
::sc_core::SC_FATAL, msg_type, msg, __FILE__, __LINE__ )
static void report(sc_severity, const char *msg_type, const char *msg, const char *file, int line)

Definition at line 217 of file sc_report.h.

#define SC_REPORT_INFO (   msg_type,
  msg 
)
Value:
::sc_core::SC_INFO, msg_type, msg, __FILE__, __LINE__ )
static void report(sc_severity, const char *msg_type, const char *msg, const char *file, int line)

Definition at line 200 of file sc_report.h.

#define SC_REPORT_INFO_VERB (   msg_type,
  msg,
  verbosity 
)
Value:
::sc_core::SC_INFO, msg_type, msg, verbosity, \
__FILE__ , __LINE__ )
static void report(sc_severity, const char *msg_type, const char *msg, const char *file, int line)

Definition at line 204 of file sc_report.h.

#define SC_REPORT_WARNING (   msg_type,
  msg 
)
Value:
::sc_core::SC_WARNING, msg_type, msg, __FILE__, __LINE__ )
static void report(sc_severity, const char *msg_type, const char *msg, const char *file, int line)

Definition at line 209 of file sc_report.h.