sc_core::sc_in< T > Class Template Reference

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

#include <sysc/communication/sc_signal_ports.h>

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

List of all members.

Public Types

typedef T data_type
typedef sc_signal_in_if
< data_type
if_type
typedef sc_port< if_type,
1, SC_ONE_OR_MORE_BOUND > 
base_type
typedef sc_in< data_typethis_type
typedef base_type::port_type base_port_type
typedef if_type in_if_type
typedef base_type in_port_type
typedef sc_signal_inout_if
< data_type
inout_if_type
typedef sc_port< inout_if_type,
1, SC_ONE_OR_MORE_BOUND > 
inout_port_type

Public Member Functions

 sc_in ()
 sc_in (const char *name_)
 sc_in (const in_if_type &interface_)
 sc_in (const char *name_, const in_if_type &interface_)
 sc_in (in_port_type &parent_)
 sc_in (const char *name_, in_port_type &parent_)
 sc_in (inout_port_type &parent_)
 sc_in (const char *name_, inout_port_type &parent_)
 sc_in (this_type &parent_)
 sc_in (const char *name_, this_type &parent_)
virtual ~sc_in ()
SC_VIRTUAL_ void bind (const in_if_type &interface_)
SC_VIRTUAL_ void bind (in_if_type &interface_)
void operator() (const in_if_type &interface_)
SC_VIRTUAL_ void bind (in_port_type &parent_)
void operator() (in_port_type &parent_)
SC_VIRTUAL_ void bind (inout_port_type &parent_)
void operator() (inout_port_type &parent_)
const sc_eventdefault_event () const
const sc_eventvalue_changed_event () const
const data_typeread () const
 operator const data_type & () const
bool event () const
sc_event_findervalue_changed () const
virtual void end_of_elaboration ()
virtual const char * kind () const
void add_trace (sc_trace_file *, const std::string &) const
void add_trace_internal (sc_trace_file *, const std::string &) const

Protected Member Functions

void remove_traces () const
virtual int vbind (sc_interface &)
virtual int vbind (sc_port_base &)
SC_VIRTUAL_ void bind (base_port_type &parent_)

Protected Attributes

sc_trace_params_vecm_traces

Detailed Description

template<class T>
class sc_core::sc_in< T >

The sc_signal<T> input port class.

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

Specialization of sc_in<T> for type bool.

Definition at line 80 of file sc_signal_ports.h.


Member Typedef Documentation

template<class T>
typedef base_type::port_type sc_core::sc_in< T >::base_port_type

Definition at line 92 of file sc_signal_ports.h.

template<class T>
typedef sc_port<if_type,1,SC_ONE_OR_MORE_BOUND> sc_core::sc_in< T >::base_type

Reimplemented from sc_core::sc_port< sc_signal_in_if< T >, 1, SC_ONE_OR_MORE_BOUND >.

Reimplemented in sc_core::sc_in_rv< W >.

Definition at line 90 of file sc_signal_ports.h.

template<class T>
typedef T sc_core::sc_in< T >::data_type

Reimplemented in sc_core::sc_in_rv< W >.

Definition at line 87 of file sc_signal_ports.h.

template<class T>
typedef sc_signal_in_if<data_type> sc_core::sc_in< T >::if_type

Definition at line 89 of file sc_signal_ports.h.

template<class T>
typedef if_type sc_core::sc_in< T >::in_if_type

Reimplemented in sc_core::sc_in_rv< W >.

Definition at line 94 of file sc_signal_ports.h.

template<class T>
typedef base_type sc_core::sc_in< T >::in_port_type

Reimplemented in sc_core::sc_in_rv< W >.

Definition at line 95 of file sc_signal_ports.h.

template<class T>
typedef sc_signal_inout_if<data_type> sc_core::sc_in< T >::inout_if_type

Definition at line 96 of file sc_signal_ports.h.

template<class T>
typedef sc_port<inout_if_type,1,SC_ONE_OR_MORE_BOUND> sc_core::sc_in< T >::inout_port_type

Reimplemented in sc_core::sc_in_rv< W >.

Definition at line 97 of file sc_signal_ports.h.

template<class T>
typedef sc_in<data_type> sc_core::sc_in< T >::this_type

Reimplemented from sc_core::sc_port< sc_signal_in_if< T >, 1, SC_ONE_OR_MORE_BOUND >.

Reimplemented in sc_core::sc_in_rv< W >.

Definition at line 91 of file sc_signal_ports.h.


Constructor & Destructor Documentation

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

Definition at line 103 of file sc_signal_ports.h.

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

Definition at line 108 of file sc_signal_ports.h.

template<class T>
sc_core::sc_in< T >::sc_in ( const in_if_type interface_  )  [inline, explicit]

Definition at line 113 of file sc_signal_ports.h.

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

Definition at line 118 of file sc_signal_ports.h.

template<class T>
sc_core::sc_in< T >::sc_in ( in_port_type parent_  )  [inline, explicit]

Definition at line 123 of file sc_signal_ports.h.

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

Definition at line 128 of file sc_signal_ports.h.

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

Definition at line 133 of file sc_signal_ports.h.

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

Definition at line 139 of file sc_signal_ports.h.

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

Definition at line 145 of file sc_signal_ports.h.

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

Definition at line 150 of file sc_signal_ports.h.

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

Definition at line 158 of file sc_signal_ports.h.


Member Function Documentation

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

Definition at line 348 of file sc_signal_ports.h.

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

Definition at line 334 of file sc_signal_ports.h.

template<class T>
SC_VIRTUAL_ void sc_core::sc_in< T >::bind ( base_port_type parent_  )  [inline, protected]

Reimplemented from sc_core::sc_port_b< sc_signal_in_if< T > >.

Definition at line 274 of file sc_signal_ports.h.

template<class T>
SC_VIRTUAL_ void sc_core::sc_in< T >::bind ( inout_port_type parent_  )  [inline]

Definition at line 189 of file sc_signal_ports.h.

template<class T>
SC_VIRTUAL_ void sc_core::sc_in< T >::bind ( in_port_type parent_  )  [inline]

Definition at line 180 of file sc_signal_ports.h.

template<class T>
SC_VIRTUAL_ void sc_core::sc_in< T >::bind ( in_if_type interface_  )  [inline]

Definition at line 171 of file sc_signal_ports.h.

template<class T>
SC_VIRTUAL_ void sc_core::sc_in< T >::bind ( const in_if_type interface_  )  [inline]

Definition at line 168 of file sc_signal_ports.h.

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

Definition at line 200 of file sc_signal_ports.h.

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

Reimplemented from sc_core::sc_port_base.

Reimplemented in sc_core::sc_in_rv< W >.

Definition at line 316 of file sc_signal_ports.h.

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

Definition at line 221 of file sc_signal_ports.h.

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

Definition at line 215 of file sc_signal_ports.h.

template<class T>
void sc_core::sc_in< T >::operator() ( inout_port_type parent_  )  [inline]

Definition at line 192 of file sc_signal_ports.h.

template<class T>
void sc_core::sc_in< T >::operator() ( in_port_type parent_  )  [inline]

Definition at line 183 of file sc_signal_ports.h.

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

Definition at line 174 of file sc_signal_ports.h.

template<class T>
const data_type& sc_core::sc_in< T >::read (  )  const [inline]

Definition at line 212 of file sc_signal_ports.h.

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

Definition at line 358 of file sc_signal_ports.h.

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

Definition at line 227 of file sc_signal_ports.h.

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

Definition at line 206 of file sc_signal_ports.h.

template<class T >
int sc_core::sc_in< T >::vbind ( sc_port_base parent_  )  [inline, protected, virtual]

Reimplemented from sc_core::sc_port_b< sc_signal_in_if< T > >.

Definition at line 383 of file sc_signal_ports.h.

template<class T >
int sc_core::sc_in< T >::vbind ( sc_interface interface_  )  [inline, protected, virtual]

Reimplemented from sc_core::sc_port_b< sc_signal_in_if< T > >.

Definition at line 375 of file sc_signal_ports.h.


Member Data Documentation

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

Definition at line 261 of file sc_signal_ports.h.


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

Generated on 31 Jul 2017 for SystemC by  doxygen 1.6.1