|
scc
2024.06
SystemC components library
|
extension of cci_param<T, TM> which automatically registeres a callback to restrict the valid values given to the parameter. More...
#include <cci_param_restricted.h>


Public Member Functions | |
Constructors | |
| template<typename RESTR > | |
| cci_param_restricted (const std::string &name, const T &default_value, RESTR const &restr, const std::string &desc="", cci::cci_name_type name_type=cci::CCI_RELATIVE_NAME, const cci::cci_originator &originator=sc_core::sc_get_current_object() ? cci::cci_originator() :cci::cci_originator("sc_main")) | |
| template<typename RESTR > | |
| cci_param_restricted (const std::string &name, const T &default_value, RESTR const &restr, cci::cci_broker_handle private_broker, const std::string &desc="", cci::cci_name_type name_type=cci::CCI_RELATIVE_NAME, const cci::cci_originator &originator=sc_core::sc_get_current_object() ? cci::cci_originator() :cci::cci_originator("sc_main")) | |
extension of cci_param<T, TM> which automatically registeres a callback to restrict the valid values given to the parameter.
The parameter can be use with a restriction created by:
| T | type of the parameter value |
| TM | specifies the parameter type lock behavior |
Definition at line 196 of file cci_param_restricted.h.
|
inline |
Constructor with (local/hierarchical) name, default value, restriction, description and originator.
| name | Name of the parameter |
| default_value | Default value of the parameter (Typed value) |
| restr | Restriction to apply, will be checked befor every write |
| desc | Description of the parameter |
| name_type | Either the name should be absolute or relative |
| originator | Originator of the parameter |
Definition at line 212 of file cci_param_restricted.h.
|
inline |
Constructor with (local/hierarchical) name, default value, restriction, private broker, description, name type and originator.
| name | Name of the parameter |
| default_value | Default value of the parameter (Typed value) |
| private_broker | Associated private broker |
| restr | Restriction to apply, will be checked befor every write |
| desc | Description of the parameter |
| name_type | Either the name should be absolute or relative |
| originator | Originator of the parameter |
Definition at line 234 of file cci_param_restricted.h.