ros2_control - rolling
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
HardwareComponent Class Referenceabstract
Collaboration diagram for HardwareComponent:
Collaboration graph
[legend]

Public Member Functions

 HardwareComponent (std::string_view name)
 
 HardwareComponent (const HardwareComponent &)=delete
 
HardwareComponentoperator= (const HardwareComponent &)=delete
 
HwReturn configure ()
 
HwReturn activate ()
 
HwReturn deactivate ()
 
HwReturn cleanup ()
 
HwReturn read ()
 
HwReturn write ()
 
HwState state () const
 
std::string_view name () const
 

Protected Member Functions

virtual HwReturn on_configure ()
 
virtual HwReturn on_activate ()
 
virtual HwReturn on_deactivate ()
 
virtual HwReturn on_cleanup ()
 
virtual HwReturn on_read ()=0
 
virtual HwReturn on_write ()=0
 

Protected Attributes

StateInterfacestate_interfaces_ {nullptr}
 
CommandInterfacecommand_interfaces_ {nullptr}
 
uint8_t n_state_ {0}
 
uint8_t n_command_ {0}
 

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