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

scv_tr_stream Class Reference

#include <scv_tr.h>

Inheritance diagram for scv_tr_stream:

Inheritance graph
[legend]
Collaboration diagram for scv_tr_stream:

Collaboration graph
[legend]
List of all members.

Public Types

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

Public Methods

 scv_tr_stream (const char *full_stream_name, const char *stream_kind, scv_tr_db *scv_tr_db_p=scv_tr_db::get_default_db())
 scv_tr_stream ()
virtual ~scv_tr_stream ()
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 char * get_stream_kind () const
scv_tr_handle get_current_transaction_handle ()
const scv_tr_dbget_scv_tr_db () const

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_generator
class scv_tr_generator_base

Member Typedef Documentation

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

Definition at line 279 of file scv_tr.h.

Referenced by register_class_cb(), scv_tr_stream(), and ~scv_tr_stream().

typedef int scv_tr_stream::callback_h
 

Definition at line 277 of file scv_tr.h.

Referenced by register_class_cb().


Member Enumeration Documentation

enum scv_tr_stream::callback_reason
 

Enumeration values:
CREATE 
DELETE 

Definition at line 275 of file scv_tr.h.

Referenced by scv_tr_stream(), and ~scv_tr_stream().


Constructor & Destructor Documentation

scv_tr_stream::scv_tr_stream const char *    full_stream_name,
const char *    stream_kind,
scv_tr_db   scv_tr_db_p = scv_tr_db::get_default_db()
 

Definition at line 689 of file scv_tr.cpp.

References scv_tr_db::_scv_tr_db_core_p, callback_function, _scv_tr_stream_core::callback_list_p, callback_reason, and CREATE.

scv_tr_stream::scv_tr_stream   [inline]
 

Definition at line 268 of file scv_tr.h.

scv_tr_stream::~scv_tr_stream   [virtual]
 

Definition at line 722 of file scv_tr.cpp.

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


Member Function Documentation

scv_tr_handle scv_tr_stream::get_current_transaction_handle  
 

Definition at line 1733 of file scv_tr.cpp.

int scv_tr_stream::get_debug   [static]
 

Definition at line 784 of file scv_tr.cpp.

References _scv_tr_stream_core::debug.

uint64 scv_tr_stream::get_id  
 

Definition at line 805 of file scv_tr.cpp.

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

const char * scv_tr_stream::get_name   [virtual]
 

Implements scv_object_if.

Definition at line 791 of file scv_tr.cpp.

References _scv_tr_stream_core::my_name.

Referenced by print().

const scv_tr_db * scv_tr_stream::get_scv_tr_db  
 

Definition at line 1741 of file scv_tr.cpp.

References _scv_tr_stream_core::my_scv_tr_db_core_p, and _scv_tr_db_core::my_scv_tr_db_p.

const char * scv_tr_stream::get_stream_kind  
 

Definition at line 814 of file scv_tr.cpp.

References _scv_tr_stream_core::my_stream_kind_name.

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

Implements scv_object_if.

Definition at line 300 of file scv_tr.h.

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

Implements scv_object_if.

Definition at line 763 of file scv_tr.cpp.

References get_name().

Referenced by show().

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

Definition at line 743 of file scv_tr.cpp.

References _scv_tr_callback_list, _scv_tr_callback_item_t::callback_fp, callback_function, callback_h, _scv_tr_stream_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_stream::remove_callback callback_h    [static]
 

Definition at line 822 of file scv_tr.cpp.

References _scv_tr_callback_list, and _scv_tr_stream_core::callback_list_p.

void scv_tr_stream::set_debug int    debug [static]
 

Definition at line 777 of file scv_tr.cpp.

References _scv_tr_stream_core::debug.

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

Reimplemented from scv_object_if.

Definition at line 770 of file scv_tr.cpp.

References print(), and scv_out.


Friends And Related Function Documentation

friend class scv_tr_generator [friend]
 

Definition at line 317 of file scv_tr.h.

friend class scv_tr_generator_base [friend]
 

Definition at line 318 of file scv_tr.h.


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