48 template<
typename T, sc_writer_policy POL = SC_DEFAULT_WRITER_POLICY >
72 sc_buffer(
const char* name_,
const value_type& initial_value_ )
73 : base_type( name_, initial_value_ )
79 virtual void write(
const T& );
84 virtual const char*
kind()
const 85 {
return "sc_buffer"; }
113 template<
typename T, sc_writer_policy POL >
118 if( !base_type::policy_type::check_write(
this,
true) )
126 template<
typename T, sc_writer_policy POL >
131 base_type::policy_type::update();
The sc_signal<T> primitive channel class.
virtual void write(const T &)
virtual const char * kind() const
this_type & operator=(const value_type &a)
sc_buffer< T, POL > this_type
this_type & operator=(const value_type &a)
SC_API const char * sc_gen_unique_name(const char *, bool preserve_first)
sc_signal< T, POL > base_type
sc_buffer(const char *name_, const value_type &initial_value_)
sc_buffer(const char *name_)