scc
2022.4.0
SystemC components library
|
extended sc_attribute More...
#include <ext_attribute.h>
Public Types | |
using | base_type = sc_core::sc_attribute< T > |
Public Member Functions | |
ext_attribute (const std::string &name_, sc_core::sc_module *owner) | |
ext_attribute (const std::string &name_, const T &value_, sc_core::sc_module *owner) | |
ext_attribute (const ext_attribute< T > &a)=delete | |
~ext_attribute ()=default | |
Public Attributes | |
const sc_core::sc_module * | owner |
extended sc_attribute
extended attribute inheriting from sc_attribute. The attribute consults with the scc::configurer to retrieve a default value upon construction
T | type name of value to hold in the attribute |
Definition at line 39 of file ext_attribute.h.
|
inline |
create an extended attribute based on name and owner with default value
name_ | |
owner |
Definition at line 48 of file ext_attribute.h.
|
inline |
create an extended attribute based on name, value and owner
name_ | |
value_ | |
owner |
Definition at line 61 of file ext_attribute.h.
|
delete |
no copy constructor
a |
|
default |
a default destructor
const sc_core::sc_module* scc::ext_attribute< T >::owner |
the owner of this attribute (a backward reference)
Definition at line 80 of file ext_attribute.h.