28 #ifndef __SYSTEMC_EXT_CHANNEL_SC_BUFFER_HH__ 29 #define __SYSTEMC_EXT_CHANNEL_SC_BUFFER_HH__ 31 #include "../core/sc_module.hh" 39 template <
class T, sc_writer_policy WRITER_POLICY=SC_ONE_WRITER>
51 # if !defined(SC_NO_WRITE_CHECK) 79 virtual const char *
kind()
const {
return "sc_buffer"; }
96 #endif //__SYSTEMC_EXT_CHANNEL_SC_BUFFER_HH__
WriteChecker< WRITER_POLICY > _checker
sc_buffer(const char *name)
const char * sc_gen_unique_name(const char *seed)
virtual void write(const T &t)
const char * name() const
sc_buffer(const sc_buffer< T, WRITER_POLICY > &)
virtual const T & read() const
virtual const char * kind() const
sc_buffer< T, WRITER_POLICY > & operator=(const T &arg)