Class ReadOnlyHandle
Defined in File handle.hpp
Inheritance Relationships
Derived Types
public hardware_interface::ReadWriteHandle
(Class ReadWriteHandle)public hardware_interface::StateInterface
(Class StateInterface)
Class Documentation
-
class ReadOnlyHandle
A handle used to get and set a value on a given interface.
Subclassed by hardware_interface::ReadWriteHandle, hardware_interface::StateInterface
Public Functions
-
inline ReadOnlyHandle(const std::string &prefix_name, const std::string &interface_name, double *value_ptr = nullptr)
-
inline explicit ReadOnlyHandle(const std::string &interface_name)
-
inline explicit ReadOnlyHandle(const char *interface_name)
-
ReadOnlyHandle(const ReadOnlyHandle &other) = default
-
ReadOnlyHandle(ReadOnlyHandle &&other) = default
-
ReadOnlyHandle &operator=(const ReadOnlyHandle &other) = default
-
ReadOnlyHandle &operator=(ReadOnlyHandle &&other) = default
-
virtual ~ReadOnlyHandle() = default
-
inline operator bool() const
Returns true if handle references a value.
-
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
-
inline double get_value() const
-
inline ReadOnlyHandle(const std::string &prefix_name, const std::string &interface_name, double *value_ptr = nullptr)