Class Handle

Inheritance Relationships

Derived Types

Class Documentation

class Handle

Subclassed by transmission_interface::ActuatorHandle, transmission_interface::JointHandle

Public Functions

inline Handle(const std::string &prefix_name, const std::string &interface_name, double *value_ptr = nullptr)
Handle(const Handle &other) = default
Handle(Handle &&other) = default
Handle &operator=(const Handle &other) = default
Handle &operator=(Handle &&other) = default
virtual ~Handle() = 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_prefix_name() const
inline double get_value() const
inline void set_value(double value)

Protected Attributes

std::string prefix_name_
std::string interface_name_
double *value_ptr_ = nullptr