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(); }
57 const std::string get_full_name()
const {
return command_interface_.get_full_name(); }
59 void set_value(
double val) { command_interface_.set_value(val); }
61 double get_value()
const {
return command_interface_.get_value(); }
Definition: handle.hpp:118
Definition: loaned_command_interface.hpp:27
Definition: actuator.hpp:29