ros2_control - rolling
Classes | Public Types | Public Member Functions | Protected Attributes | List of all members
hardware_interface::LoanedCommandInterface Class Reference
Collaboration diagram for hardware_interface::LoanedCommandInterface:
Collaboration graph
[legend]

Public Types

using Deleter = std::function< void(void)>
 

Public Member Functions

 LoanedCommandInterface (CommandInterface &command_interface)
 
 LoanedCommandInterface (CommandInterface &command_interface, Deleter &&deleter)
 
 LoanedCommandInterface (CommandInterface::SharedPtr command_interface, Deleter &&deleter)
 
 LoanedCommandInterface (const LoanedCommandInterface &other)=delete
 
 LoanedCommandInterface (LoanedCommandInterface &&other)=default
 
const std::string get_name () const
 
const std::string & get_interface_name () const
 
const std::string get_full_name () const
 
const std::string & get_prefix_name () const
 
template<typename T >
bool set_value (T value, unsigned int max_tries=10)
 
double get_value () const
 
template<typename T >
bool get_value (T &value, unsigned int max_tries=10) const
 

Protected Attributes

CommandInterfacecommand_interface_
 
Deleter deleter_
 

The documentation for this class was generated from the following file: