Public Member Functions | Private Attributes | List of all members
roswrap::MultiThreadedSpinner Class Reference

Spinner which spins in multiple threads. More...

#include <spinner.h>

Inheritance diagram for roswrap::MultiThreadedSpinner:
Inheritance graph
[legend]

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 roswrap::Spinner
virtual ~Spinner ()
 

Private Attributes

uint32_t thread_count_
 

Detailed Description

Spinner which spins in multiple threads.

Definition at line 68 of file spinner.h.

Constructor & Destructor Documentation

◆ MultiThreadedSpinner()

roswrap::MultiThreadedSpinner::MultiThreadedSpinner ( uint32_t  thread_count = 0)
Parameters
thread_countNumber of threads to use for calling callbacks. 0 will automatically use however many hardware threads exist on your system.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ thread_count_

uint32_t roswrap::MultiThreadedSpinner::thread_count_
private

Definition at line 80 of file spinner.h.


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


sick_scan_xd
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Fri Oct 25 2024 02:47:15