gz/transport/parameters/Interface.hh
Go to the documentation of this file.
The return type used in all falible parameters methods.
Definition: gz/transport/parameters/result.hh:43
Common interface, implemented by ParametersRegistry (local updates) and by ParametersClients (remote ...
Definition: gz/transport/parameters/Interface.hh:42
virtual ParameterResult Parameter(const std::string &_parameterName, google::protobuf::Message &_parameter) const =0
Request the value of a parameter.
virtual ParameterResult Parameter(const std::string &_parameterName, std::unique_ptr< google::protobuf::Message > &_parameter) const =0
Request the value of a parameter. Similar to the other overload, but it allocates a message of the ri...
virtual ParameterResult SetParameter(const std::string &_parameterName, const google::protobuf::Message &_msg)=0
Set the value of a parameter.
virtual ~ParametersInterface()=default
Default virtual destructor.
virtual ParameterResult DeclareParameter(const std::string &_parameterName, const google::protobuf::Message &_msg)=0
Declare a new parameter.
virtual ignition::msgs::ParameterDeclarations ListParameters() const =0
List all existing parameters.
Definition: gz/transport/parameters/Client.hh:34