Go to the documentation of this file.
39 virtual bool hasParam(
const std::string& name)
const noexcept = 0;
54 virtual std::shared_ptr<GetParamAdapter>
getNamespaced(
const std::string& ns)
const noexcept(
false) = 0;
An adapter that allows getting ROS parameters from various sources.
virtual bool getParam(const std::string &name, XmlRpc::XmlRpcValue &value) const noexcept=0
Get the value of a parameter as XmlRpcValue.
virtual std::string getNamespace() const noexcept=0
Get the namespace of this adapter. It should somehow represent the source of the parameters.
virtual bool hasParam(const std::string &name) const noexcept=0
Return whether this adapter is able to get a value of the given parameter.
::std::shared_ptr<::cras::GetParamAdapter > GetParamAdapterPtr
virtual std::shared_ptr< GetParamAdapter > getNamespaced(const std::string &ns) const noexcept(false)=0
Construct another adapter whose source are parameters that are in a sub-namespace of this adapter.
virtual ~GetParamAdapter()=default
cras_cpp_common
Author(s): Martin Pecka
autogenerated on Tue Nov 26 2024 03:49:04