gem5  v20.1.0.0
Public Member Functions | Private Member Functions | Private Attributes | List of all members
sc_core::sc_in< T > Class Template Reference

#include <sc_clock.hh>

Public Member Functions

 sc_in ()
 
 sc_in (const char *name)
 
virtual ~sc_in ()
 
 sc_in (const sc_signal_in_if< T > &interface)
 
 sc_in (const char *name, const sc_signal_in_if< T > &interface)
 
 sc_in (sc_port_b< sc_signal_in_if< T > > &parent)
 
 sc_in (const char *name, sc_port_b< sc_signal_in_if< T > > &parent)
 
 sc_in (sc_port< sc_signal_in_if< T >, 1 > &parent)
 
 sc_in (const char *name, sc_port< sc_signal_in_if< T >, 1 > &parent)
 
virtual void bind (const sc_signal_in_if< T > &i)
 
void operator() (const sc_signal_in_if< T > &i)
 
virtual void bind (sc_port< sc_signal_in_if< T >, 1 > &i)
 
void operator() (sc_port< sc_signal_in_if< T >, 1 > &p)
 
virtual void bind (sc_port< sc_signal_inout_if< T >, 1 > &p)
 
void operator() (sc_port< sc_signal_inout_if< T >, 1 > &p)
 
virtual void end_of_elaboration ()
 
const T & read () const
 
 operator const T & () const
 
const sc_eventdefault_event () const
 
const sc_eventvalue_changed_event () const
 
bool event () const
 
sc_event_findervalue_changed () const
 
virtual const char * kind () const
 
void add_trace (sc_trace_file *tf, const std::string &name) const
 

Private Member Functions

 sc_in (const sc_in< T > &)
 
sc_in< T > & operator= (const sc_in< T > &)
 

Private Attributes

sc_event_finder_t< sc_signal_in_if< T > > _valueChangedFinder
 
sc_trace_params_vec traceParamsVec
 

Detailed Description

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

Definition at line 45 of file sc_clock.hh.

Constructor & Destructor Documentation

◆ sc_in() [1/9]

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

Definition at line 50 of file sc_in.hh.

◆ sc_in() [2/9]

template<class T >
sc_core::sc_in< T >::sc_in ( const char *  name)
inlineexplicit

Definition at line 53 of file sc_in.hh.

◆ ~sc_in()

template<class T >
virtual sc_core::sc_in< T >::~sc_in ( )
inlinevirtual

Definition at line 56 of file sc_in.hh.

◆ sc_in() [3/9]

template<class T >
sc_core::sc_in< T >::sc_in ( const sc_signal_in_if< T > &  interface)
inlineexplicit

Definition at line 59 of file sc_in.hh.

◆ sc_in() [4/9]

template<class T >
sc_core::sc_in< T >::sc_in ( const char *  name,
const sc_signal_in_if< T > &  interface 
)
inline

Definition at line 63 of file sc_in.hh.

◆ sc_in() [5/9]

template<class T >
sc_core::sc_in< T >::sc_in ( sc_port_b< sc_signal_in_if< T > > &  parent)
inlineexplicit

Definition at line 67 of file sc_in.hh.

◆ sc_in() [6/9]

template<class T >
sc_core::sc_in< T >::sc_in ( const char *  name,
sc_port_b< sc_signal_in_if< T > > &  parent 
)
inline

Definition at line 71 of file sc_in.hh.

◆ sc_in() [7/9]

template<class T >
sc_core::sc_in< T >::sc_in ( sc_port< sc_signal_in_if< T >, 1 > &  parent)
inlineexplicit

Definition at line 75 of file sc_in.hh.

◆ sc_in() [8/9]

template<class T >
sc_core::sc_in< T >::sc_in ( const char *  name,
sc_port< sc_signal_in_if< T >, 1 > &  parent 
)
inline

Definition at line 79 of file sc_in.hh.

◆ sc_in() [9/9]

template<class T >
sc_core::sc_in< T >::sc_in ( const sc_in< T > &  )
private

Member Function Documentation

◆ add_trace()

template<class T >
void sc_core::sc_in< T >::add_trace ( sc_trace_file tf,
const std::string &  name 
) const
inline

Definition at line 139 of file sc_in.hh.

◆ bind() [1/3]

template<class T >
virtual void sc_core::sc_in< T >::bind ( const sc_signal_in_if< T > &  i)
inlinevirtual

◆ bind() [2/3]

template<class T >
virtual void sc_core::sc_in< T >::bind ( sc_port< sc_signal_in_if< T >, 1 > &  i)
inlinevirtual

Definition at line 94 of file sc_in.hh.

◆ bind() [3/3]

template<class T >
virtual void sc_core::sc_in< T >::bind ( sc_port< sc_signal_inout_if< T >, 1 > &  p)
inlinevirtual

Definition at line 105 of file sc_in.hh.

◆ default_event()

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

Definition at line 127 of file sc_in.hh.

◆ end_of_elaboration()

template<class T >
virtual void sc_core::sc_in< T >::end_of_elaboration ( )
inlinevirtual

Reimplemented in sc_core::sc_in_rv< W >.

Definition at line 116 of file sc_in.hh.

Referenced by sc_core::sc_in_resolved::end_of_elaboration().

◆ event()

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

Definition at line 133 of file sc_in.hh.

◆ kind()

template<class T >
virtual const char* sc_core::sc_in< T >::kind ( ) const
inlinevirtual

Definition at line 136 of file sc_in.hh.

◆ operator const T &()

template<class T >
sc_core::sc_in< T >::operator const T & ( ) const
inline

Definition at line 125 of file sc_in.hh.

◆ operator()() [1/3]

template<class T >
void sc_core::sc_in< T >::operator() ( const sc_signal_in_if< T > &  i)
inline

Definition at line 91 of file sc_in.hh.

◆ operator()() [2/3]

template<class T >
void sc_core::sc_in< T >::operator() ( sc_port< sc_signal_in_if< T >, 1 > &  p)
inline

Definition at line 99 of file sc_in.hh.

◆ operator()() [3/3]

template<class T >
void sc_core::sc_in< T >::operator() ( sc_port< sc_signal_inout_if< T >, 1 > &  p)
inline

Definition at line 110 of file sc_in.hh.

◆ operator=()

template<class T >
sc_in<T>& sc_core::sc_in< T >::operator= ( const sc_in< T > &  )
private

◆ read()

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

◆ value_changed()

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

Definition at line 134 of file sc_in.hh.

◆ value_changed_event()

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

Definition at line 129 of file sc_in.hh.

Member Data Documentation

◆ _valueChangedFinder

template<class T >
sc_event_finder_t<sc_signal_in_if<T> > sc_core::sc_in< T >::_valueChangedFinder
mutableprivate

◆ traceParamsVec

template<class T >
sc_trace_params_vec sc_core::sc_in< T >::traceParamsVec
mutableprivate

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

Generated on Wed Sep 30 2020 14:03:08 for gem5 by doxygen 1.8.17