Public Member Functions | Private Member Functions | Private Attributes | List of all members
ros::AsyncSpinnerImpl Class Reference

Public Member Functions

 AsyncSpinnerImpl (uint32_t thread_count, CallbackQueue *queue)
 
bool canStart ()
 
void start ()
 
void stop ()
 
 ~AsyncSpinnerImpl ()
 

Private Member Functions

void threadFunc ()
 

Private Attributes

CallbackQueuecallback_queue_
 
volatile bool continue_
 
boost::mutex mutex_
 
ros::NodeHandle nh_
 
uint32_t thread_count_
 
boost::thread_group threads_
 

Detailed Description

Definition at line 178 of file spinner.cpp.

Constructor & Destructor Documentation

ros::AsyncSpinnerImpl::AsyncSpinnerImpl ( uint32_t  thread_count,
CallbackQueue queue 
)

Definition at line 202 of file spinner.cpp.

ros::AsyncSpinnerImpl::~AsyncSpinnerImpl ( )

Definition at line 223 of file spinner.cpp.

Member Function Documentation

bool ros::AsyncSpinnerImpl::canStart ( )

Definition at line 228 of file spinner.cpp.

void ros::AsyncSpinnerImpl::start ( )

Definition at line 233 of file spinner.cpp.

void ros::AsyncSpinnerImpl::stop ( )

Definition at line 254 of file spinner.cpp.

void ros::AsyncSpinnerImpl::threadFunc ( )
private

Definition at line 266 of file spinner.cpp.

Member Data Documentation

CallbackQueue* ros::AsyncSpinnerImpl::callback_queue_
private

Definition at line 195 of file spinner.cpp.

volatile bool ros::AsyncSpinnerImpl::continue_
private

Definition at line 197 of file spinner.cpp.

boost::mutex ros::AsyncSpinnerImpl::mutex_
private

Definition at line 191 of file spinner.cpp.

ros::NodeHandle ros::AsyncSpinnerImpl::nh_
private

Definition at line 199 of file spinner.cpp.

uint32_t ros::AsyncSpinnerImpl::thread_count_
private

Definition at line 194 of file spinner.cpp.

boost::thread_group ros::AsyncSpinnerImpl::threads_
private

Definition at line 192 of file spinner.cpp.


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


roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:27