7.6.25 scx::set_parameter

This function sets the value of a parameter from components present in the EVS.

  • bool set_parameter(const std::string &name, const std::string &value);
  • template<class T>
    bool set_parameter(const std::string &name, T value);
name
the name of the parameter to change.
value
the value of the parameter.

This function returns true when the parameter exists, false otherwise.

Note:

  • Changes made to parameters within System Canvas take precedence over changes made with set_parameter().
  • You can set parameters during the construction phase, and before the elaboration phase. Calls to set_parameter() after the construction phase are ignored.
  • You can change run-time parameters after the construction phase with the debug interface.
Non-ConfidentialPDF file icon PDF version100965_1180_00_en
Copyright © 2014–2019 Arm Limited or its affiliates. All rights reserved.