sc_core::sc_buffer< T, POL > Class Template Reference

The sc_buffer<T> primitive channel class. More...

#include <sysc/communication/sc_buffer.h>

Inheritance diagram for sc_core::sc_buffer< T, POL >:
Inheritance graph
[legend]
Collaboration diagram for sc_core::sc_buffer< T, POL >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef sc_buffer< T, POL > this_type
typedef sc_signal< T, POL > base_type

Public Member Functions

 sc_buffer ()
 sc_buffer (const char *name_)
 sc_buffer (const char *name_, const T &initial_value_)
virtual void write (const T &)
this_typeoperator= (const T &a)
this_typeoperator= (const sc_signal_in_if< T > &a)
this_typeoperator= (const this_type &a)
virtual const char * kind () const

Protected Member Functions

virtual void update ()
 The update method (does nothing by default).

Detailed Description

template<typename T, sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY>
class sc_core::sc_buffer< T, POL >

The sc_buffer<T> primitive channel class.

Definition at line 43 of file sc_buffer.h.


Member Typedef Documentation

template<typename T , sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY>
typedef sc_signal<T,POL> sc_core::sc_buffer< T, POL >::base_type

Definition at line 51 of file sc_buffer.h.

template<typename T , sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY>
typedef sc_buffer<T,POL> sc_core::sc_buffer< T, POL >::this_type

Reimplemented from sc_core::sc_signal< T, POL >.

Definition at line 50 of file sc_buffer.h.


Constructor & Destructor Documentation

template<typename T , sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY>
sc_core::sc_buffer< T, POL >::sc_buffer (  )  [inline]

Definition at line 57 of file sc_buffer.h.

template<typename T , sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY>
sc_core::sc_buffer< T, POL >::sc_buffer ( const char *  name_  )  [inline, explicit]

Definition at line 61 of file sc_buffer.h.

template<typename T , sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY>
sc_core::sc_buffer< T, POL >::sc_buffer ( const char *  name_,
const T &  initial_value_ 
) [inline]

Definition at line 65 of file sc_buffer.h.


Member Function Documentation

template<typename T , sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY>
virtual const char* sc_core::sc_buffer< T, POL >::kind (  )  const [inline, virtual]

Reimplemented from sc_core::sc_signal< T, POL >.

Definition at line 86 of file sc_buffer.h.

template<typename T , sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY>
this_type& sc_core::sc_buffer< T, POL >::operator= ( const this_type a  )  [inline]

Reimplemented from sc_core::sc_signal< T, POL >.

Definition at line 83 of file sc_buffer.h.

template<typename T , sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY>
this_type& sc_core::sc_buffer< T, POL >::operator= ( const sc_signal_in_if< T > &  a  )  [inline]

Reimplemented from sc_core::sc_signal< T, POL >.

Definition at line 80 of file sc_buffer.h.

template<typename T , sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY>
this_type& sc_core::sc_buffer< T, POL >::operator= ( const T &  a  )  [inline]

Reimplemented from sc_core::sc_signal< T, POL >.

Definition at line 77 of file sc_buffer.h.

template<typename T , sc_writer_policy POL>
void sc_core::sc_buffer< T, POL >::update (  )  [inline, protected, virtual]

The update method (does nothing by default).

This function is not supported by the out-of-order simulation in the current release.

Reimplemented from sc_core::sc_signal< T, POL >.

Definition at line 127 of file sc_buffer.h.

template<typename T , sc_writer_policy POL>
void sc_core::sc_buffer< T, POL >::write ( const T &  value_  )  [inline, virtual]

Reimplemented from sc_core::sc_signal< T, POL >.

Definition at line 107 of file sc_buffer.h.


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

Generated on 30 Sep 2015 for SystemC by  doxygen 1.6.1