ros2_control - galactic
Public Member Functions | Protected Attributes | List of all members
hardware_interface::ReadOnlyHandle Class Reference

A handle used to get and set a value on a given interface. More...

#include <handle.hpp>

Inheritance diagram for hardware_interface::ReadOnlyHandle:
Inheritance graph
[legend]

Public Member Functions

 ReadOnlyHandle (const std::string &name, const std::string &interface_name, double *value_ptr=nullptr)
 
 ReadOnlyHandle (const std::string &interface_name)
 
 ReadOnlyHandle (const char *interface_name)
 
 ReadOnlyHandle (const ReadOnlyHandle &other)=default
 
 ReadOnlyHandle (ReadOnlyHandle &&other)=default
 
ReadOnlyHandleoperator= (const ReadOnlyHandle &other)=default
 
ReadOnlyHandleoperator= (ReadOnlyHandle &&other)=default
 
 operator bool () const
 Returns true if handle references a value.
 
const std::string & get_name () const
 
const std::string & get_interface_name () const
 
const std::string get_full_name () const
 
double get_value () const
 

Protected Attributes

std::string name_
 
std::string interface_name_
 
double * value_ptr_
 

Detailed Description

A handle used to get and set a value on a given interface.


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