gem5  v20.1.0.0
Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
sc_core::sc_signal< T, WRITER_POLICY > Class Template Reference

#include <sc_signal.hh>

Inheritance diagram for sc_core::sc_signal< T, WRITER_POLICY >:
sc_gem5::ScSignalBaseT< T, SC_ONE_WRITER > sc_gem5::ScSignalBasePicker< T > sc_core::sc_signal_inout_if< T > sc_gem5::ScSignalBase sc_core::sc_signal_in_if< T > sc_core::sc_signal_write_if< T > sc_core::sc_prim_channel sc_core::sc_interface sc_core::sc_interface sc_core::sc_object

Public Member Functions

 sc_signal ()
 
 sc_signal (const char *name)
 
 sc_signal (const char *name, const T &initial_value)
 
virtual ~sc_signal ()
 
sc_signal< T, WRITER_POLICY > & operator= (const T &t)
 
sc_signal< T, WRITER_POLICY > & operator= (const sc_signal< T, WRITER_POLICY > &s)
 
- Public Member Functions inherited from sc_gem5::ScSignalBaseT< T, SC_ONE_WRITER >
 ScSignalBaseT (const char *_name)
 
 ScSignalBaseT (const char *_name, const T &initial_value)
 
virtual ~ScSignalBaseT ()
 
virtual void register_port (sc_core::sc_port_base &port, const char *iface_type_name)
 
virtual const T & read () const
 
 operator const T & () const
 
virtual void write (const T &t)
 
virtual const sc_core::sc_eventdefault_event () const
 
virtual const sc_core::sc_eventvalue_changed_event () const
 
virtual void print (std::ostream &os=std::cout) const
 
virtual void dump (std::ostream &os=std::cout) const
 
virtual bool event () const
 
virtual sc_core::sc_writer_policy get_writer_policy () const
 
- Public Member Functions inherited from sc_gem5::ScSignalBase
virtual const char * kind () const
 
- Public Member Functions inherited from sc_core::sc_object
const char * name () const
 
const char * basename () const
 
virtual const std::vector< sc_object * > & get_child_objects () const
 
virtual const std::vector< sc_event * > & get_child_events () const
 
sc_objectget_parent_object () const
 
bool add_attribute (sc_attr_base &)
 
sc_attr_baseget_attribute (const std::string &)
 
sc_attr_baseremove_attribute (const std::string &)
 
void remove_all_attributes ()
 
int num_attributes () const
 
sc_attr_cltnattr_cltn ()
 
const sc_attr_cltnattr_cltn () const
 
sc_simcontextsimcontext () const
 
- Public Member Functions inherited from sc_core::sc_signal_in_if< T >
virtual const T & read () const =0
 
virtual const sc_eventvalue_changed_event () const =0
 
virtual bool event () const =0
 
- Public Member Functions inherited from sc_core::sc_interface
virtual const sc_eventdefault_event () const
 
virtual ~sc_interface ()
 
- Public Member Functions inherited from sc_core::sc_signal_write_if< T >
virtual sc_writer_policy get_writer_policy () const
 

Protected Member Functions

virtual void update ()
 
- Protected Member Functions inherited from sc_gem5::ScSignalBasePicker< T >
 ScSignalBasePicker (const char *_name)
 
- Protected Member Functions inherited from sc_gem5::ScSignalBase
 ScSignalBase (const char *_name)
 
virtual ~ScSignalBase ()
 
const sc_core::sc_eventdefaultEvent () const
 
const sc_core::sc_eventvalueChangedEvent () const
 
bool event () const
 
void _signalChange ()
 
virtual sc_core::sc_writer_policy get_writer_policy () const =0
 
- Protected Member Functions inherited from sc_core::sc_prim_channel
 sc_prim_channel ()
 
 sc_prim_channel (const char *)
 
virtual ~sc_prim_channel ()
 
void request_update ()
 
void async_request_update ()
 
void next_trigger ()
 
void next_trigger (const sc_event &)
 
void next_trigger (const sc_event_or_list &)
 
void next_trigger (const sc_event_and_list &)
 
void next_trigger (const sc_time &)
 
void next_trigger (double, sc_time_unit)
 
void next_trigger (const sc_time &, const sc_event &)
 
void next_trigger (double, sc_time_unit, const sc_event &)
 
void next_trigger (const sc_time &, const sc_event_or_list &)
 
void next_trigger (double, sc_time_unit, const sc_event_or_list &)
 
void next_trigger (const sc_time &, const sc_event_and_list &)
 
void next_trigger (double, sc_time_unit, const sc_event_and_list &)
 
bool timed_out ()
 
void wait ()
 
void wait (int)
 
void wait (const sc_event &)
 
void wait (const sc_event_or_list &)
 
void wait (const sc_event_and_list &)
 
void wait (const sc_time &)
 
void wait (double, sc_time_unit)
 
void wait (const sc_time &, const sc_event &)
 
void wait (double, sc_time_unit, const sc_event &)
 
void wait (const sc_time &, const sc_event_or_list &)
 
void wait (double, sc_time_unit, const sc_event_or_list &)
 
void wait (const sc_time &, const sc_event_and_list &)
 
void wait (double, sc_time_unit, const sc_event_and_list &)
 
virtual void before_end_of_elaboration ()
 
virtual void end_of_elaboration ()
 
virtual void start_of_simulation ()
 
virtual void end_of_simulation ()
 
- Protected Member Functions inherited from sc_core::sc_object
 sc_object ()
 
 sc_object (const char *)
 
 sc_object (const sc_object &)
 
sc_objectoperator= (const sc_object &)
 
virtual ~sc_object ()
 
- Protected Member Functions inherited from sc_core::sc_signal_inout_if< T >
 sc_signal_inout_if ()
 
- Protected Member Functions inherited from sc_core::sc_signal_in_if< T >
 sc_signal_in_if ()
 
- Protected Member Functions inherited from sc_core::sc_interface
 sc_interface ()
 
- Protected Member Functions inherited from sc_core::sc_signal_write_if< T >
 sc_signal_write_if ()
 

Private Member Functions

 sc_signal (const sc_signal< T, WRITER_POLICY > &)
 

Additional Inherited Members

- Protected Attributes inherited from sc_gem5::ScSignalBaseT< T, SC_ONE_WRITER >
m_cur_val
 
m_new_val
 
WriteChecker< WRITER_POLICY > _checker
 
- Protected Attributes inherited from sc_gem5::ScSignalBase
InternalScEvent _valueChangedEvent
 
uint64_t _changeStamp
 
sc_core::sc_port_base_gem5WriterPort
 

Detailed Description

template<class T, sc_writer_policy WRITER_POLICY = SC_ONE_WRITER>
class sc_core::sc_signal< T, WRITER_POLICY >

Definition at line 272 of file sc_signal.hh.

Constructor & Destructor Documentation

◆ sc_signal() [1/4]

template<class T , sc_writer_policy WRITER_POLICY = SC_ONE_WRITER>
sc_core::sc_signal< T, WRITER_POLICY >::sc_signal ( )
inline

Definition at line 275 of file sc_signal.hh.

◆ sc_signal() [2/4]

template<class T , sc_writer_policy WRITER_POLICY = SC_ONE_WRITER>
sc_core::sc_signal< T, WRITER_POLICY >::sc_signal ( const char *  name)
inlineexplicit

Definition at line 278 of file sc_signal.hh.

◆ sc_signal() [3/4]

template<class T , sc_writer_policy WRITER_POLICY = SC_ONE_WRITER>
sc_core::sc_signal< T, WRITER_POLICY >::sc_signal ( const char *  name,
const T &  initial_value 
)
inlineexplicit

Definition at line 281 of file sc_signal.hh.

◆ ~sc_signal()

template<class T , sc_writer_policy WRITER_POLICY = SC_ONE_WRITER>
virtual sc_core::sc_signal< T, WRITER_POLICY >::~sc_signal ( )
inlinevirtual

Definition at line 284 of file sc_signal.hh.

◆ sc_signal() [4/4]

template<class T , sc_writer_policy WRITER_POLICY = SC_ONE_WRITER>
sc_core::sc_signal< T, WRITER_POLICY >::sc_signal ( const sc_signal< T, WRITER_POLICY > &  )
private

Member Function Documentation

◆ operator=() [1/2]

template<class T , sc_writer_policy WRITER_POLICY = SC_ONE_WRITER>
sc_signal<T, WRITER_POLICY>& sc_core::sc_signal< T, WRITER_POLICY >::operator= ( const sc_signal< T, WRITER_POLICY > &  s)
inline

Definition at line 293 of file sc_signal.hh.

◆ operator=() [2/2]

template<class T , sc_writer_policy WRITER_POLICY = SC_ONE_WRITER>
sc_signal<T, WRITER_POLICY>& sc_core::sc_signal< T, WRITER_POLICY >::operator= ( const T &  t)
inline

Definition at line 287 of file sc_signal.hh.

◆ update()

template<class T , sc_writer_policy WRITER_POLICY = SC_ONE_WRITER>
virtual void sc_core::sc_signal< T, WRITER_POLICY >::update ( )
inlineprotectedvirtual

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

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