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

scv_tr_generator_base Class Reference

#include <scv_tr.h>

Inheritance diagram for scv_tr_generator_base:

Inheritance graph
[legend]
Collaboration diagram for scv_tr_generator_base:

Collaboration graph
[legend]
List of all members.

Public Types

typedef int callback_h
typedef void callback_function (const scv_tr_generator_base &obj, callback_reason reason, void *user_data_p)
enum  callback_reason { CREATE, DELETE }

Public Methods

 scv_tr_generator_base (const char *name, scv_tr_stream &s, const char *begin_attribute_name, const char *end_attribute_name)
 scv_tr_generator_base ()
virtual ~scv_tr_generator_base ()
const char * get_begin_attribute_name () const
const char * get_end_attribute_name () const
void print (ostream &o, int details=0, int indent=0) const
void show (int details=0, int indent=0) const
const char * get_name () const
const char * kind () const
uint64 get_id () const
const scv_tr_streamget_scv_tr_stream () const
const scv_extensions_ifget_begin_exts_p () const
const scv_extensions_ifget_end_exts_p () const
scv_tr_handle _begin_transaction (const scv_extensions_if *, const sc_time &, scv_tr_relation_handle_t relation_handle, const scv_tr_handle *other_handle_p=NULL) const
void _end_transaction (const scv_tr_handle &t, const scv_extensions_if *, const sc_time &end_sc_time) const
void _set_begin_exts_p (const scv_extensions_if *)
void _set_end_exts_p (const scv_extensions_if *)
void _process_callbacks ()

Static Public Methods

callback_h register_class_cb (callback_function *, void *user_data_p=NULL)
void remove_callback (callback_h)
void set_debug (int debug)
int get_debug ()

Friends

class scv_tr_stream
class scv_tr_handle

Member Typedef Documentation

typedef void scv_tr_generator_base::callback_function( const scv_tr_generator_base& obj, callback_reason reason, void* user_data_p)
 

Definition at line 583 of file scv_tr.h.

Referenced by _process_callbacks(), and ~scv_tr_generator_base().

typedef int scv_tr_generator_base::callback_h
 

Definition at line 581 of file scv_tr.h.


Member Enumeration Documentation

enum scv_tr_generator_base::callback_reason
 

Enumeration values:
CREATE 
DELETE 

Definition at line 579 of file scv_tr.h.

Referenced by _process_callbacks(), and ~scv_tr_generator_base().


Constructor & Destructor Documentation

scv_tr_generator_base::scv_tr_generator_base const char *    name,
scv_tr_stream   s,
const char *    begin_attribute_name,
const char *    end_attribute_name
 

Definition at line 1460 of file scv_tr.cpp.

References scv_tr_stream::_scv_tr_stream_core_p, and s.

scv_tr_generator_base::scv_tr_generator_base   [inline]
 

Definition at line 567 of file scv_tr.h.

scv_tr_generator_base::~scv_tr_generator_base   [virtual]
 

Definition at line 1515 of file scv_tr.cpp.

References callback_function, _scv_tr_generator_core::callback_list_p, callback_reason, and DELETE.


Member Function Documentation

scv_tr_handle scv_tr_generator_base::_begin_transaction const scv_extensions_if  ,
const sc_time  ,
scv_tr_relation_handle_t    relation_handle,
const scv_tr_handle   other_handle_p = NULL
const
 

Definition at line 1350 of file scv_tr.cpp.

References scv_tr_handle::_scv_tr_handle_core_p, scv_tr_handle::add_relation(), scv_tr_handle::BEGIN, _scv_tr_handle_core::begin_exts_p, _scv_tr_handle_core::begin_sc_time, scv_tr_handle::callback_function, _scv_tr_handle_core::callback_list_p, scv_tr_handle::callback_reason, _scv_tr_handle_core::immediate_other_transaction_handle_p, _scv_tr_handle_core::immediate_relation_handle, _scv_tr_handle_core::is_active, _scv_tr_handle_core::is_valid, _scv_tr_handle_core::my_id, _scv_tr_generator_core::my_name, _scv_tr_handle_core::my_name, _scv_tr_handle_core::my_scv_tr_generator_core_p, _scv_tr_generator_core::my_scv_tr_stream_core_p, scv_tr_relation_handle_t, and sc_time::value().

Referenced by scv_tr_generator< T_begin, T_end >::begin_transaction().

void scv_tr_generator_base::_end_transaction const scv_tr_handle   t,
const scv_extensions_if  ,
const sc_time   end_sc_time
const
 

Definition at line 1418 of file scv_tr.cpp.

References scv_tr_handle::_scv_tr_handle_core_p, scv_tr_handle::callback_function, _scv_tr_handle_core::callback_list_p, scv_tr_handle::callback_reason, scv_tr_handle::END, _scv_tr_handle_core::end_exts_p, _scv_tr_handle_core::end_sc_time, _scv_tr_handle_core::is_active, and scv_out.

Referenced by scv_tr_generator< T_begin, T_end >::end_transaction().

void scv_tr_generator_base::_process_callbacks  
 

Definition at line 1494 of file scv_tr.cpp.

References callback_function, _scv_tr_generator_core::callback_list_p, callback_reason, and CREATE.

Referenced by scv_tr_generator< T_begin, T_end >::scv_tr_generator().

void scv_tr_generator_base::_set_begin_exts_p const scv_extensions_if  
 

Definition at line 1476 of file scv_tr.cpp.

References _scv_tr_generator_core::begin_exts_p.

Referenced by scv_tr_generator< T_begin, T_end >::scv_tr_generator().

void scv_tr_generator_base::_set_end_exts_p const scv_extensions_if  
 

Definition at line 1484 of file scv_tr.cpp.

References _scv_tr_generator_core::end_exts_p.

Referenced by scv_tr_generator< T_begin, T_end >::scv_tr_generator().

const char * scv_tr_generator_base::get_begin_attribute_name  
 

Definition at line 1718 of file scv_tr.cpp.

References _scv_tr_generator_core::my_begin_attribute_name.

const scv_extensions_if * scv_tr_generator_base::get_begin_exts_p  
 

Definition at line 1594 of file scv_tr.cpp.

References _scv_tr_generator_core::begin_exts_p, and strcmp().

int scv_tr_generator_base::get_debug   [static]
 

Definition at line 1677 of file scv_tr.cpp.

References _scv_tr_generator_core::debug.

const char * scv_tr_generator_base::get_end_attribute_name  
 

Definition at line 1725 of file scv_tr.cpp.

References _scv_tr_generator_core::my_end_attribute_name.

const scv_extensions_if * scv_tr_generator_base::get_end_exts_p  
 

Definition at line 1615 of file scv_tr.cpp.

References _scv_tr_generator_core::end_exts_p, and strcmp().

uint64 scv_tr_generator_base::get_id  
 

Definition at line 1586 of file scv_tr.cpp.

References _scv_tr_generator_core::my_id, and sc_dt::uint64.

const char * scv_tr_generator_base::get_name   [virtual]
 

Implements scv_object_if.

Definition at line 1704 of file scv_tr.cpp.

References _scv_tr_generator_core::my_name.

Referenced by print().

const scv_tr_stream & scv_tr_generator_base::get_scv_tr_stream  
 

Definition at line 1636 of file scv_tr.cpp.

References _scv_tr_generator_core::my_scv_tr_stream_core_p, and scv_tr_stream.

Referenced by scv_tr_generator< T_begin, T_end >::begin_transaction().

const char* scv_tr_generator_base::kind   const [inline, virtual]
 

Implements scv_object_if.

Definition at line 608 of file scv_tr.h.

void scv_tr_generator_base::print ostream &    o,
int    details = 0,
int    indent = 0
const [virtual]
 

Implements scv_object_if.

Definition at line 1656 of file scv_tr.cpp.

References get_name().

Referenced by show().

scv_tr_db::callback_h scv_tr_generator_base::register_class_cb callback_function  ,
void *    user_data_p = NULL
[static]
 

Definition at line 1536 of file scv_tr.cpp.

References _scv_tr_callback_list, _scv_tr_callback_item_t::callback_fp, scv_tr_db::callback_h, _scv_tr_generator_core::callback_list_p, _scv_tr_callback_item_t::id, and _scv_tr_callback_item_t::user_data_p.

Referenced by scv_tr_text_init().

void scv_tr_generator_base::remove_callback callback_h    [static]
 

Definition at line 1684 of file scv_tr.cpp.

References _scv_tr_callback_list, and _scv_tr_generator_core::callback_list_p.

void scv_tr_generator_base::set_debug int    debug [static]
 

Definition at line 1670 of file scv_tr.cpp.

References _scv_tr_generator_core::debug.

void scv_tr_generator_base::show int    details = 0,
int    indent = 0
const [virtual]
 

Reimplemented from scv_object_if.

Definition at line 1663 of file scv_tr.cpp.

References print(), and scv_out.


Friends And Related Function Documentation

friend class scv_tr_handle [friend]
 

Reimplemented in scv_tr_generator< T_begin, T_end >.

Definition at line 558 of file scv_tr.h.

friend class scv_tr_stream [friend]
 

Definition at line 557 of file scv_tr.h.

Referenced by get_scv_tr_stream().


The documentation for this class was generated from the following files:
Generated on Sun Dec 12 19:23:45 2004 for SystemC2.0.1(excludingMSLib)(IncludingSCV) by doxygen1.2.18