SystemC  Recoding Infrastructure for SystemC v0.6.0 derived from Accellera SystemC 2.3.1
Accellera SystemC proof-of-concept library
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
sc_core::sc_trace_file_base Class Referenceabstract

#include <sysc/tracing/sc_trace_file_base.h>

Inheritance diagram for sc_core::sc_trace_file_base:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_trace_file_base:
Collaboration graph
[legend]

Public Member Functions

const char * filename () const
 
bool delta_cycles () const
 
virtual void delta_cycles (bool flag)
 
virtual void set_time_unit (double v, sc_time_unit tu)
 
- Public Member Functions inherited from sc_core::sc_trace_file
 sc_trace_file ()
 
virtual void trace (const unsigned int &object, const std::string &name, const char **enum_literals)=0
 
virtual void write_comment (const std::string &comment)=0
 
virtual void space (int n)
 

Protected Member Functions

 sc_trace_file_base (const char *name, const char *extension)
 
bool initialize ()
 
void open_fp ()
 
virtual void do_initialize ()=0
 
bool add_trace_check (const std::string &name) const
 
virtual ~sc_trace_file_base ()
 
- Protected Member Functions inherited from sc_core::sc_trace_file
virtual void cycle (bool delta_cycle)=0
 
virtual ~sc_trace_file ()
 

Protected Attributes

FILE * fp
 
double timescale_unit
 
bool timescale_set_by_user
 

Detailed Description

Definition at line 57 of file sc_trace_file_base.h.

Constructor & Destructor Documentation

sc_core::sc_trace_file_base::sc_trace_file_base ( const char *  name,
const char *  extension 
)
protected
virtual sc_core::sc_trace_file_base::~sc_trace_file_base ( )
protectedvirtual

Member Function Documentation

bool sc_core::sc_trace_file_base::add_trace_check ( const std::string &  name) const
protected
bool sc_core::sc_trace_file_base::delta_cycles ( ) const
inline

Definition at line 67 of file sc_trace_file_base.h.

virtual void sc_core::sc_trace_file_base::delta_cycles ( bool  flag)
virtual

Reimplemented from sc_core::sc_trace_file.

virtual void sc_core::sc_trace_file_base::do_initialize ( )
protectedpure virtual
const char* sc_core::sc_trace_file_base::filename ( ) const
inline

Definition at line 64 of file sc_trace_file_base.h.

bool sc_core::sc_trace_file_base::initialize ( )
protected
void sc_core::sc_trace_file_base::open_fp ( )
protected
virtual void sc_core::sc_trace_file_base::set_time_unit ( double  v,
sc_time_unit  tu 
)
virtual

Member Data Documentation

FILE* sc_core::sc_trace_file_base::fp
protected

Definition at line 99 of file sc_trace_file_base.h.

bool sc_core::sc_trace_file_base::timescale_set_by_user
protected

Definition at line 101 of file sc_trace_file_base.h.

double sc_core::sc_trace_file_base::timescale_unit
protected

Definition at line 100 of file sc_trace_file_base.h.


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