Spinner which spins in multiple threads.
More...
#include <spinner.h>
Spinner which spins in multiple threads.
Definition at line 68 of file spinner.h.
◆ MultiThreadedSpinner()
roswrap::MultiThreadedSpinner::MultiThreadedSpinner |
( |
uint32_t |
thread_count = 0 | ) |
|
- Parameters
-
thread_count | Number of threads to use for calling callbacks. 0 will automatically use however many hardware threads exist on your system. |
◆ spin()
virtual void roswrap::MultiThreadedSpinner::spin |
( |
CallbackQueue * |
queue = 0 | ) |
|
|
virtual |
Spin on a callback queue (defaults to the global one). Blocks until roscpp has been shutdown.
Implements roswrap::Spinner.
◆ thread_count_
uint32_t roswrap::MultiThreadedSpinner::thread_count_ |
|
private |
The documentation for this class was generated from the following file: