5.6.23 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 versionARM DUI0370S
Copyright © 2007-2014 ARM. All rights reserved.