sc_core::sc_inout< T > Class Template Reference

The sc_signal<T> input/output port class. More...

#include <sysc/communication/sc_signal_ports.h>

Inheritance diagram for sc_core::sc_inout< T >:
Inheritance graph
[legend]
Collaboration diagram for sc_core::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, SC_ONE_OR_MORE_BOUND > 
base_type
typedef sc_inout< data_typethis_type
typedef sc_signal_in_if
< data_type
in_if_type
typedef sc_port< in_if_type,
1, SC_ONE_OR_MORE_BOUND > 
in_port_type
typedef if_type inout_if_type
typedef base_type inout_port_type

Public Member Functions

 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
void write (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_internal (sc_trace_file *, const std::string &) const
void add_trace (sc_trace_file *, const std::string &) const

Protected Member Functions

void remove_traces () const

Protected Attributes

data_typem_init_val
sc_trace_params_vecm_traces

Detailed Description

template<class T>
class sc_core::sc_inout< T >

The sc_signal<T> input/output port class.

Specialization of sc_inout<T> for type sc_dt::sc_logic.

Specialization of sc_inout<T> for type bool.

Definition at line 987 of file sc_signal_ports.h.


Member Typedef Documentation

template<class T>
typedef sc_port<if_type,1,SC_ONE_OR_MORE_BOUND> sc_core::sc_inout< T >::base_type
template<class T>
typedef T sc_core::sc_inout< T >::data_type
template<class T>
typedef sc_signal_inout_if<data_type> sc_core::sc_inout< T >::if_type

Definition at line 996 of file sc_signal_ports.h.

template<class T>
typedef sc_signal_in_if<data_type> sc_core::sc_inout< T >::in_if_type
template<class T>
typedef sc_port<in_if_type,1,SC_ONE_OR_MORE_BOUND> sc_core::sc_inout< T >::in_port_type
template<class T>
typedef if_type sc_core::sc_inout< T >::inout_if_type
template<class T>
typedef base_type sc_core::sc_inout< T >::inout_port_type
template<class T>
typedef sc_inout<data_type> sc_core::sc_inout< T >::this_type

Constructor & Destructor Documentation

template<class T>
sc_core::sc_inout< T >::sc_inout (  )  [inline]

Definition at line 1009 of file sc_signal_ports.h.

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

Definition at line 1014 of file sc_signal_ports.h.

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

Definition at line 1019 of file sc_signal_ports.h.

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

Definition at line 1024 of file sc_signal_ports.h.

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

Definition at line 1029 of file sc_signal_ports.h.

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

Definition at line 1034 of file sc_signal_ports.h.

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

Definition at line 1039 of file sc_signal_ports.h.

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

Definition at line 1044 of file sc_signal_ports.h.

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

Definition at line 1192 of file sc_signal_ports.h.


Member Function Documentation

template<class T >
void sc_core::sc_inout< T >::add_trace ( sc_trace_file tf_,
const std::string &  name_ 
) const [inline]

Definition at line 1262 of file sc_signal_ports.h.

template<class T >
void sc_core::sc_inout< T >::add_trace_internal ( sc_trace_file tf_,
const std::string &  name_ 
) const [inline]

Definition at line 1248 of file sc_signal_ports.h.

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

Definition at line 1059 of file sc_signal_ports.h.

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

Reimplemented from sc_core::sc_port_base.

Reimplemented in sc_core::sc_inout_rv< W >.

Definition at line 1225 of file sc_signal_ports.h.

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

Definition at line 1080 of file sc_signal_ports.h.

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

Definition at line 1109 of file sc_signal_ports.h.

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

Definition at line 1206 of file sc_signal_ports.h.

template<class T>
virtual const char* sc_core::sc_inout< T >::kind (  )  const [inline, virtual]
template<class T>
sc_core::sc_inout< T >::operator const data_type & (  )  const [inline]

Definition at line 1074 of file sc_signal_ports.h.

template<class T>
this_type& sc_core::sc_inout< T >::operator= ( const this_type port_  )  [inline]
template<class T>
this_type& sc_core::sc_inout< T >::operator= ( const inout_port_type port_  )  [inline]
template<class T>
this_type& sc_core::sc_inout< T >::operator= ( const in_port_type port_  )  [inline]
template<class T>
this_type& sc_core::sc_inout< T >::operator= ( const in_if_type interface_  )  [inline]
template<class T>
this_type& sc_core::sc_inout< T >::operator= ( const data_type value_  )  [inline]
template<class T>
const data_type& sc_core::sc_inout< T >::read (  )  const [inline]

Definition at line 1071 of file sc_signal_ports.h.

template<class T >
void sc_core::sc_inout< T >::remove_traces (  )  const [inline, protected]

Definition at line 1271 of file sc_signal_ports.h.

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

Definition at line 1122 of file sc_signal_ports.h.

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

Definition at line 1065 of file sc_signal_ports.h.

template<class T>
void sc_core::sc_inout< T >::write ( const data_type value_  )  [inline]

Definition at line 1086 of file sc_signal_ports.h.


Member Data Documentation

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

Definition at line 1141 of file sc_signal_ports.h.

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

Definition at line 1154 of file sc_signal_ports.h.


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

Generated on 12 Jun 2018 for SystemC by  doxygen 1.6.1