Spinner which spins in multiple threads. More...
Public Member Functions
|MultiThreadedSpinner (uint32_t thread_count=0)|
|virtual void||spin (CallbackQueue *queue=0)|
|Spin on a callback queue (defaults to the global one). Blocks until roscpp has been shutdown. |
Spinner which spins in multiple threads.
Definition at line 66 of file spinner.h.
|ros::MultiThreadedSpinner::MultiThreadedSpinner||(||uint32_t|| thread_count =
|thread_count||Number of threads to use for calling callbacks. 0 will automatically use however many hardware threads exist on your system.|
Definition at line 48 of file spinner.cpp.
|void ros::MultiThreadedSpinner::spin||(||CallbackQueue *|| queue =
Spin on a callback queue (defaults to the global one). Blocks until roscpp has been shutdown.
Definition at line 53 of file spinner.cpp.