7.6.26 scx::get_parameter

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

  • bool get_parameter(const std::string &name, std::string &value) const;
  • template<class T>
    bool get_parameter(const std::string &name, T &value) const;
  • std::string get_parameter(const std::string &name);
name
the name of the parameter to retrieve.
value
a reference to the value of the parameter.

The bool forms of the function return true when the parameter exists, false otherwise. The std::string form returns the value of the parameter when it exists, empty string ("") otherwise.

Non-ConfidentialPDF file icon PDF version100965_1180_00_en
Copyright © 2014–2019 Arm Limited or its affiliates. All rights reserved.