5.6.22 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 do nothing.
Non-ConfidentialPDF file icon PDF versionARM DUI0370S
Copyright © 2007-2014 ARM. All rights reserved.