sc_core::sc_signal< T > Class Template Reference

#include <sc_signal.h>

Inheritance diagram for sc_core::sc_signal< T >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 sc_signal ()
 sc_signal (const char *name_)
virtual ~sc_signal ()
virtual void register_port (sc_port_base &, const char *)
virtual const sc_eventdefault_event () const
virtual const sc_eventvalue_changed_event () const
virtual const Tread () const
virtual const Tget_data_ref () const
virtual bool event () const
virtual void write (const T &)
 operator const T & () const
sc_signal< T > & operator= (const T &a)
sc_signal< T > & operator= (const sc_signal< T > &a)
const Tget_new_value () const
void trace (sc_trace_file *tf) const
virtual void print (::std::ostream &=::std::cout) const
virtual void dump (::std::ostream &=::std::cout) const
virtual const char * kind () const

Protected Member Functions

virtual void update ()
void check_writer ()

Protected Attributes

sc_port_basem_output
T m_cur_val
T m_new_val
sc_event m_value_changed_event
sc_dt::uint64 m_delta
sc_process_bm_writer

Private Member Functions

 sc_signal (const sc_signal< T > &)

template<class T>
class sc_core::sc_signal< T >


Constructor & Destructor Documentation

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

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

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

template<class T>
sc_core::sc_signal< T >::sc_signal ( const sc_signal< T > &   )  [private]


Member Function Documentation

template<class T>
void sc_core::sc_signal< T >::register_port ( sc_port_base ,
const char *   
) [inline, virtual]

Reimplemented from sc_core::sc_interface.

Reimplemented in sc_core::sc_signal_rv< W >.

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

Reimplemented from sc_core::sc_interface.

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

Implements sc_core::sc_signal_in_if< T >.

template<class T>
virtual const T& sc_core::sc_signal< T >::read (  )  const [inline, virtual]

Implements sc_core::sc_signal_in_if< T >.

template<class T>
virtual const T& sc_core::sc_signal< T >::get_data_ref (  )  const [inline, virtual]

Implements sc_core::sc_signal_in_if< T >.

template<class T>
virtual bool sc_core::sc_signal< T >::event (  )  const [inline, virtual]

Implements sc_core::sc_signal_in_if< T >.

template<class T>
void sc_core::sc_signal< T >::write ( const T  )  [inline, virtual]

Implements sc_core::sc_signal_inout_if< T >.

Reimplemented in sc_core::sc_buffer< T >.

template<class T>
sc_core::sc_signal< T >::operator const T & (  )  const [inline]

template<class T>
sc_signal<T>& sc_core::sc_signal< T >::operator= ( const T a  )  [inline]

Reimplemented in sc_core::sc_buffer< T >.

template<class T>
sc_signal<T>& sc_core::sc_signal< T >::operator= ( const sc_signal< T > &  a  )  [inline]

template<class T>
const T& sc_core::sc_signal< T >::get_new_value (  )  const [inline]

template<class T>
void sc_core::sc_signal< T >::trace ( sc_trace_file tf  )  const [inline, virtual]

Reimplemented from sc_core::sc_object.

template<class T>
void sc_core::sc_signal< T >::print ( ::std::ostream &  = ::std::cout  )  const [inline, virtual]

Reimplemented from sc_core::sc_object.

template<class T>
void sc_core::sc_signal< T >::dump ( ::std::ostream &  = ::std::cout  )  const [inline, virtual]

Reimplemented from sc_core::sc_object.

template<class T>
virtual const char* sc_core::sc_signal< T >::kind (  )  const [inline, virtual]

Reimplemented from sc_core::sc_prim_channel.

Reimplemented in sc_core::sc_buffer< T >, and sc_core::sc_signal_rv< W >.

template<class T>
void sc_core::sc_signal< T >::update (  )  [inline, protected, virtual]

Reimplemented from sc_core::sc_prim_channel.

Reimplemented in sc_core::sc_buffer< T >, and sc_core::sc_signal_rv< W >.

template<class T>
void sc_core::sc_signal< T >::check_writer (  )  [inline, protected]


Member Data Documentation

template<class T>
sc_port_base* sc_core::sc_signal< T >::m_output [protected]

template<class T>
T sc_core::sc_signal< T >::m_cur_val [protected]

template<class T>
T sc_core::sc_signal< T >::m_new_val [protected]

template<class T>
sc_event sc_core::sc_signal< T >::m_value_changed_event [protected]

template<class T>
sc_dt::uint64 sc_core::sc_signal< T >::m_delta [protected]

template<class T>
sc_process_b* sc_core::sc_signal< T >::m_writer [protected]


The documentation for this class was generated from the following file:
Generated on Wed Apr 25 13:53:30 2007 for SystemC by  doxygen 1.5.1