15 #ifndef HARDWARE_INTERFACE__LOANED_STATE_INTERFACE_HPP_
16 #define HARDWARE_INTERFACE__LOANED_STATE_INTERFACE_HPP_
22 #include "hardware_interface/handle.hpp"
29 using Deleter = std::function<void(
void)>;
37 : state_interface_(state_interface), deleter_(std::forward<Deleter>(deleter))
53 const std::string & get_name()
const {
return state_interface_.get_name(); }
55 const std::string & get_interface_name()
const {
return state_interface_.get_interface_name(); }
57 const std::string get_full_name()
const {
return state_interface_.get_full_name(); }
59 double get_value()
const {
return state_interface_.get_value(); }
Definition: loaned_state_interface.hpp:27
Definition: handle.hpp:108
Definition: actuator.hpp:29