Worker Class Reference

lbr_fri_ros2: lbr_fri_ros2::Worker Class Reference
lbr_fri_ros2
Inheritance diagram for lbr_fri_ros2::Worker:
[legend]

Public Member Functions

virtual void run_async (int rt_prio=80)
 
void request_stop ()
 
virtual std::string LOGGER_NAME () const =0
 

Protected Member Functions

virtual void perform_work_ ()=0
 

Protected Attributes

std::atomic_bool should_stop_
 
std::atomic_bool running_
 
std::thread run_thread_
 

The documentation for this class was generated from the following files:
  • lbr_fri_ros2_stack/lbr_fri_ros2/include/lbr_fri_ros2/worker.hpp
  • lbr_fri_ros2_stack/lbr_fri_ros2/src/worker.cpp