ros2_control - humble
Public Member Functions | List of all members
hardware_interface::ReadWriteHandle Class Reference
Inheritance diagram for hardware_interface::ReadWriteHandle:
Inheritance graph
[legend]
Collaboration diagram for hardware_interface::ReadWriteHandle:
Collaboration graph
[legend]

Public Member Functions

 ReadWriteHandle (const std::string &prefix_name, const std::string &interface_name, double *value_ptr=nullptr)
 
 ReadWriteHandle (const std::string &interface_name)
 
 ReadWriteHandle (const char *interface_name)
 
 ReadWriteHandle (const ReadWriteHandle &other)=default
 
 ReadWriteHandle (ReadWriteHandle &&other)=default
 
ReadWriteHandleoperator= (const ReadWriteHandle &other)=default
 
ReadWriteHandleoperator= (ReadWriteHandle &&other)=default
 
void set_value (double value)
 
- Public Member Functions inherited from hardware_interface::ReadOnlyHandle
 ReadOnlyHandle (const std::string &prefix_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
 
const std::string & get_prefix_name () const
 
double get_value () const
 

Additional Inherited Members

- Protected Attributes inherited from hardware_interface::ReadOnlyHandle
std::string prefix_name_
 
std::string interface_name_
 
double * value_ptr_
 

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