77 std::string string_value_;
81 std::string parent_name_;
ValueType get_value_type() override
Get the parameter value type.
Definition mock_parameter.cc:129
int32_t get_min() override
Get the minimum value the parameter should hold.
Definition mock_parameter.cc:177
std::string get_name() override
Get the name of the parameter.
Definition mock_parameter.cc:160
bool is_value_fresh() override
Check if the value is fresh.
Definition mock_parameter.cc:187
std::string get_string_value() override
Get the string value of the parameter.
Definition mock_parameter.cc:97
float get_float_value() override
Get the float value of the parameter.
Definition mock_parameter.cc:93
VirtualParameter::Type get_parameter_type() override
Get the type of the parameter.
Definition mock_parameter.cc:70
bool get_value_status() override
Check the current status of the parameter value.
Definition mock_parameter.cc:103
uint16_t get_index() override
Get the index of the parameter.
Definition mock_parameter.cc:74
std::string get_parent_name() override
Get the parameter parent name.
Definition mock_parameter.cc:162
bool is_read() override
Check if the parameter can be read.
Definition mock_parameter.cc:168
MockParameter(COD_Subitem *cod_subitem)
Definition mock_parameter.cc:7
uint64_t get_raw_value() override
Get the raw (64-bit unsigned integer) value of the OD entry.
Definition mock_parameter.cc:83
int32_t get_max() override
Get the maximum value the parameter should hold.
Definition mock_parameter.cc:182
uint8_t get_subindex() override
Get the subindex of the parameter.
Definition mock_parameter.cc:76
bool is_pdo_mapped() override
Check if the parameter is PDO mapped.
Definition mock_parameter.cc:78
int32_t set_raw_value(uint64_t value) override
Set a raw (64-bit unsigned integer) value.
Definition mock_parameter.cc:108
bool is_write() override
Check if the parameter can be written into.
Definition mock_parameter.cc:170
int32_t get_int_value() override
Get the integer value of the parameter.
Definition mock_parameter.cc:87
int32_t set_value(int32_t value) override
Set an integer value.
Definition mock_parameter.cc:113
void set_parent_name(const std::string &parent_name)
Definition mock_parameter.cc:164
std::string get_unit() override
Get the defined unit of the parameter value.
Definition mock_parameter.cc:172
Definition virtual_parameter.h:9
Type
Definition virtual_parameter.h:11
ValueType
Definition virtual_parameter.h:19
uint8_t * value
Definition co_dictionary.h:9
struct _cod_subitem COD_Subitem
Definition co_dictionary.h:122