Spinner which spins in multiple threads. More...
#include <spinner.h>
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. More... | |
Public Member Functions inherited from ros::Spinner | |
virtual | ~Spinner () |
Private Attributes | |
uint32_t | thread_count_ |
ros::MultiThreadedSpinner::MultiThreadedSpinner | ( | uint32_t | thread_count = 0 | ) |
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 146 of file spinner.cpp.
|
virtual |
Spin on a callback queue (defaults to the global one). Blocks until roscpp has been shutdown.
Implements ros::Spinner.
Definition at line 151 of file spinner.cpp.