Function sdv::core::GetParameter(const TInterfaceAccessPtr&, const std::string&, bool)#

Function Documentation#

inline any_t sdv::core::GetParameter(const TInterfaceAccessPtr &rptrObject, const std::string &rssParamName, bool bNoExcept = true)#

Get a parameter from the parameter interface.

Parameters:
  • rptrObject[in] Reference to object smart pointer to the the parameter of.

  • rssParamName[in] Name of the parameter (incl. groups preceding the name and separated with a dot).

  • bNoExcept[in] When set, do not trigger an std::runtime exception when the object or the parameter could not be found.

Returns:

Returns the value of the parameter or an empty any_t when the object or the parameter could not be found and bNoExcept was set.