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. You can also set runtime parameters after the construction phase. Calls to set_parameter() after the construction phase are ignored for init-time parameters.
Non-ConfidentialPDF file icon PDF versionARM 100965_1101_00_en
Copyright © 2014–2017 ARM Limited or its affiliates. All rights reserved.