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

sc_inout< T > Class Template Reference

#include <sc_signal_ports.h>

Inheritance diagram for sc_inout< T >:

Inheritance graph
[legend]
Collaboration diagram for sc_inout< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T data_type
typedef sc_signal_inout_if<
data_type
if_type
typedef sc_port< if_type, 1 > base_type
typedef sc_inout< data_typethis_type
typedef sc_signal_in_if< data_typein_if_type
typedef sc_port< in_if_type, 1 > in_port_type
typedef if_type inout_if_type
typedef base_type inout_port_type

Public Methods

 sc_inout ()
 sc_inout (const char *name_)
 sc_inout (inout_if_type &interface_)
 sc_inout (const char *name_, inout_if_type &interface_)
 sc_inout (inout_port_type &parent_)
 sc_inout (const char *name_, inout_port_type &parent_)
 sc_inout (this_type &parent_)
 sc_inout (const char *name_, this_type &parent_)
virtual ~sc_inout ()
const sc_eventdefault_event () const
const sc_eventvalue_changed_event () const
const data_typeread () const
 operator const data_type & () const
bool event () const
this_typewrite (const data_type &value_)
this_typeoperator= (const data_type &value_)
this_typeoperator= (const in_if_type &interface_)
this_typeoperator= (const in_port_type &port_)
this_typeoperator= (const inout_port_type &port_)
this_typeoperator= (const this_type &port_)
void initialize (const data_type &value_)
void initialize (const in_if_type &interface_)
virtual void end_of_elaboration ()
sc_event_findervalue_changed () const
virtual const char * kind () const
void add_trace (sc_trace_file *, const sc_string &) const

Static Public Attributes

const char *const kind_string = "sc_inout"

Protected Methods

void remove_traces () const

Protected Attributes

data_typem_init_val
sc_trace_params_vecm_traces

template<class T>
class sc_inout< T >


Member Typedef Documentation

template<class T>
typedef sc_port<if_type,1> sc_inout< T >::base_type
 

Reimplemented from sc_port< sc_signal_inout_if< T >, 1 >.

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 852 of file sc_signal_ports.h.

template<class T>
typedef T sc_inout< T >::data_type
 

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 849 of file sc_signal_ports.h.

Referenced by sc_inout< T >::initialize(), sc_inout< sc_logic >::initialize(), sc_inout< bool >::initialize(), sc_inout< sc_logic >::operator=(), sc_inout< bool >::operator=(), sc_inout< sc_lv< W > >::operator=(), sc_inout< sc_logic >::read(), sc_inout< bool >::read(), sc_inout< sc_lv< W > >::read(), sc_inout< sc_logic >::write(), sc_inout< bool >::write(), and sc_inout< sc_lv< W > >::write().

template<class T>
typedef sc_signal_inout_if<data_type> sc_inout< T >::if_type
 

Definition at line 851 of file sc_signal_ports.h.

template<class T>
typedef sc_signal_in_if<data_type> sc_inout< T >::in_if_type
 

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 855 of file sc_signal_ports.h.

template<class T>
typedef sc_port<in_if_type,1> sc_inout< T >::in_port_type
 

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 856 of file sc_signal_ports.h.

template<class T>
typedef if_type sc_inout< T >::inout_if_type
 

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 857 of file sc_signal_ports.h.

template<class T>
typedef base_type sc_inout< T >::inout_port_type
 

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 858 of file sc_signal_ports.h.

template<class T>
typedef sc_inout<data_type> sc_inout< T >::this_type
 

Reimplemented from sc_port< sc_signal_inout_if< T >, 1 >.

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 853 of file sc_signal_ports.h.


Constructor & Destructor Documentation

template<class T>
sc_inout< T >::sc_inout   [inline]
 

Definition at line 864 of file sc_signal_ports.h.

template<class T>
sc_inout< T >::sc_inout const char *    name_ [inline, explicit]
 

Definition at line 868 of file sc_signal_ports.h.

template<class T>
sc_inout< T >::sc_inout inout_if_type   interface_ [inline, explicit]
 

Definition at line 872 of file sc_signal_ports.h.

template<class T>
sc_inout< T >::sc_inout const char *    name_,
inout_if_type   interface_
[inline]
 

Definition at line 876 of file sc_signal_ports.h.

template<class T>
sc_inout< T >::sc_inout inout_port_type   parent_ [inline, explicit]
 

Definition at line 880 of file sc_signal_ports.h.

template<class T>
sc_inout< T >::sc_inout const char *    name_,
inout_port_type   parent_
[inline]
 

Definition at line 884 of file sc_signal_ports.h.

template<class T>
sc_inout< T >::sc_inout this_type   parent_ [inline]
 

Definition at line 888 of file sc_signal_ports.h.

template<class T>
sc_inout< T >::sc_inout const char *    name_,
this_type   parent_
[inline]
 

Definition at line 892 of file sc_signal_ports.h.

template<class T>
sc_inout< T >::~sc_inout   [inline, virtual]
 

Definition at line 1021 of file sc_signal_ports.h.

References sc_inout< T >::m_init_val, and sc_inout< T >::remove_traces().


Member Function Documentation

template<class T>
void sc_inout< T >::add_trace sc_trace_file  ,
const sc_string  
const [inline]
 

Definition at line 1077 of file sc_signal_ports.h.

References sc_inout< T >::m_traces, and sc_pvector< sc_trace_params * >::push_back().

Referenced by sc_trace().

template<class T>
const sc_event& sc_inout< T >::default_event   const [inline]
 

Definition at line 906 of file sc_signal_ports.h.

template<class T>
void sc_inout< T >::end_of_elaboration   [inline, virtual]
 

Reimplemented in sc_inout_rv< W >.

Definition at line 1054 of file sc_signal_ports.h.

References sc_signal_in_if< T >::get_data_ref(), sc_inout< T >::m_init_val, sc_inout< T >::m_traces, sc_trace_params::name, sc_inout< T >::remove_traces(), sc_trace(), sc_pvector< sc_trace_params * >::size(), sc_trace_params::tf, and sc_inout< T >::write().

template<class T>
bool sc_inout< T >::event   const [inline]
 

Definition at line 927 of file sc_signal_ports.h.

template<class T>
void sc_inout< T >::initialize const in_if_type   interface_ [inline]
 

Definition at line 956 of file sc_signal_ports.h.

template<class T>
void sc_inout< T >::initialize const data_type   value_ [inline]
 

Definition at line 1035 of file sc_signal_ports.h.

References sc_inout< T >::data_type, sc_inout< T >::m_init_val, and sc_signal_inout_if< T >::write().

Referenced by sc_inout< sc_logic >::initialize(), sc_inout< bool >::initialize(), and sc_inout< sc_lv< W > >::initialize().

template<class T>
virtual const char* sc_inout< T >::kind   const [inline, virtual]
 

Reimplemented from sc_port< sc_signal_inout_if< T >, 1 >.

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 978 of file sc_signal_ports.h.

template<class T>
sc_inout< T >::operator const data_type &   const [inline]
 

Definition at line 921 of file sc_signal_ports.h.

template<class T>
this_type& sc_inout< T >::operator= const this_type   port_ [inline]
 

Reimplemented from sc_port< sc_signal_inout_if< T >, 1 >.

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 948 of file sc_signal_ports.h.

template<class T>
this_type& sc_inout< T >::operator= const inout_port_type   port_ [inline]
 

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 945 of file sc_signal_ports.h.

template<class T>
this_type& sc_inout< T >::operator= const in_port_type   port_ [inline]
 

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 942 of file sc_signal_ports.h.

template<class T>
this_type& sc_inout< T >::operator= const in_if_type   interface_ [inline]
 

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 939 of file sc_signal_ports.h.

template<class T>
this_type& sc_inout< T >::operator= const data_type   value_ [inline]
 

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 936 of file sc_signal_ports.h.

template<class T>
const data_type& sc_inout< T >::read   const [inline]
 

Definition at line 918 of file sc_signal_ports.h.

Referenced by sc_out< T >::operator=(), sc_inout< sc_logic >::operator=(), sc_inout< bool >::operator=(), and sc_inout< sc_lv< W > >::operator=().

template<class T>
void sc_inout< T >::remove_traces   [inline, protected]
 

Definition at line 1090 of file sc_signal_ports.h.

References sc_inout< T >::m_traces, and sc_pvector< sc_trace_params * >::size().

Referenced by sc_inout< T >::end_of_elaboration(), sc_inout< sc_logic >::end_of_elaboration(), sc_inout< bool >::end_of_elaboration(), sc_inout< T >::~sc_inout(), sc_inout< sc_logic >::~sc_inout(), and sc_inout< bool >::~sc_inout().

template<class T>
sc_event_finder& sc_inout< T >::value_changed   const [inline]
 

Definition at line 969 of file sc_signal_ports.h.

template<class T>
const sc_event& sc_inout< T >::value_changed_event   const [inline]
 

Definition at line 912 of file sc_signal_ports.h.

template<class T>
this_type& sc_inout< T >::write const data_type   value_ [inline]
 

Definition at line 933 of file sc_signal_ports.h.

Referenced by sc_inout< T >::end_of_elaboration(), sc_inout< sc_logic >::end_of_elaboration(), sc_inout< bool >::end_of_elaboration(), sc_out< T >::operator=(), sc_inout< sc_logic >::operator=(), sc_inout< bool >::operator=(), sc_inout< sc_lv< W > >::operator=(), sc_inout< sc_logic >::write(), sc_inout< bool >::write(), and sc_inout< sc_lv< W > >::write().


Member Data Documentation

template<class T>
const char *const sc_inout< T >::kind_string = "sc_inout" [static]
 

Reimplemented from sc_port< sc_signal_inout_if< T >, 1 >.

Reimplemented in sc_out< T >, sc_inout_rv< W >, and sc_out_rv< W >.

Definition at line 1014 of file sc_signal_ports.h.

Referenced by sc_inout< sc_logic >::kind(), sc_inout< bool >::kind(), and sc_inout< sc_lv< W > >::kind().

template<class T>
data_type* sc_inout< T >::m_init_val [protected]
 

Definition at line 983 of file sc_signal_ports.h.

Referenced by sc_inout< T >::end_of_elaboration(), sc_inout< sc_logic >::end_of_elaboration(), sc_inout< bool >::end_of_elaboration(), sc_inout< T >::initialize(), sc_inout< sc_logic >::initialize(), sc_inout< bool >::initialize(), sc_inout< sc_logic >::sc_inout(), sc_inout< bool >::sc_inout(), sc_inout< sc_lv< W > >::sc_inout(), sc_inout< T >::~sc_inout(), sc_inout< sc_logic >::~sc_inout(), and sc_inout< bool >::~sc_inout().

template<class T>
sc_trace_params_vec* sc_inout< T >::m_traces [protected]
 

Definition at line 994 of file sc_signal_ports.h.

Referenced by sc_inout< T >::add_trace(), sc_inout< sc_logic >::add_trace(), sc_inout< bool >::add_trace(), sc_inout< T >::end_of_elaboration(), sc_inout< sc_logic >::end_of_elaboration(), sc_inout< bool >::end_of_elaboration(), sc_inout< T >::remove_traces(), sc_inout< sc_logic >::remove_traces(), sc_inout< bool >::remove_traces(), sc_inout< sc_logic >::sc_inout(), sc_inout< bool >::sc_inout(), and sc_inout< sc_lv< W > >::sc_inout().


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