ros::MultiThreadedSpinner Class Reference

Spinner which spins in multiple threads. More...

#include <spinner.h>

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

List of all members.

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.

Private Attributes

uint32_t thread_count_

Detailed Description

Spinner which spins in multiple threads.

Definition at line 66 of file spinner.h.


Constructor & Destructor Documentation

ros::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.

Definition at line 48 of file spinner.cpp.


Member Function Documentation

void ros::MultiThreadedSpinner::spin ( CallbackQueue queue = 0  )  [virtual]

Spin on a callback queue (defaults to the global one). Blocks until roscpp has been shutdown.

Implements ros::Spinner.

Definition at line 53 of file spinner.cpp.


Member Data Documentation

Definition at line 78 of file spinner.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com
autogenerated on Fri Jan 11 10:08:40 2013