scc
2022.4.0
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=cci::cci_originator()) | |
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=cci::cci_originator()) | |
extension of cci_param<T, TM> which automatically registeres a callback to restrict the valid values given to the parameter.
T | type of the parameter value |
TM | specifies the parameter type lock behavior |
Definition at line 180 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 196 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 217 of file cci_param_restricted.h.