15 #ifndef HARDWARE_INTERFACE__LOANED_COMMAND_INTERFACE_HPP_
16 #define HARDWARE_INTERFACE__LOANED_COMMAND_INTERFACE_HPP_
22 #include "hardware_interface/handle.hpp"
29 using Deleter = std::function<void(
void)>;
37 : command_interface_(command_interface), deleter_(std::forward<Deleter>(deleter))
53 const std::string get_name()
const {
return command_interface_.get_name(); }
55 const std::string & get_interface_name()
const {
return command_interface_.get_interface_name(); }
58 "Replaced by get_name method, which is semantically more correct")]]
const std::string
61 return command_interface_.get_name();
64 const std::string & get_prefix_name()
const {
return command_interface_.get_prefix_name(); }
66 void set_value(
double val) { command_interface_.set_value(val); }
68 double get_value()
const {
return command_interface_.get_value(); }
Definition: handle.hpp:127
Definition: loaned_command_interface.hpp:27
Definition: actuator.hpp:31