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 159 of file spinner.cpp.

Constructor & Destructor Documentation

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

Definition at line 183 of file spinner.cpp.

ros::AsyncSpinnerImpl::~AsyncSpinnerImpl ( )

Definition at line 204 of file spinner.cpp.

Member Function Documentation

bool ros::AsyncSpinnerImpl::canStart ( )

Definition at line 209 of file spinner.cpp.

void ros::AsyncSpinnerImpl::start ( )

Definition at line 214 of file spinner.cpp.

void ros::AsyncSpinnerImpl::stop ( )

Definition at line 236 of file spinner.cpp.

void ros::AsyncSpinnerImpl::threadFunc ( )
private

Definition at line 248 of file spinner.cpp.

Member Data Documentation

CallbackQueue* ros::AsyncSpinnerImpl::callback_queue_
private

Definition at line 176 of file spinner.cpp.

volatile bool ros::AsyncSpinnerImpl::continue_
private

Definition at line 178 of file spinner.cpp.

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

Definition at line 172 of file spinner.cpp.

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

Definition at line 180 of file spinner.cpp.

uint32_t ros::AsyncSpinnerImpl::thread_count_
private

Definition at line 175 of file spinner.cpp.

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

Definition at line 173 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
autogenerated on Sun Feb 3 2019 03:29:54