Class LoanedCommandInterface

Nested Relationships

Nested Types

Class Documentation

class LoanedCommandInterface

Public Types

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

Public Functions

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

Protected Attributes

CommandInterface &command_interface_
Deleter deleter_