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

◆ AsyncSpinnerImpl()

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

Definition at line 183 of file spinner.cpp.

◆ ~AsyncSpinnerImpl()

ros::AsyncSpinnerImpl::~AsyncSpinnerImpl ( )

Definition at line 204 of file spinner.cpp.

Member Function Documentation

◆ canStart()

bool ros::AsyncSpinnerImpl::canStart ( )

Definition at line 209 of file spinner.cpp.

◆ start()

void ros::AsyncSpinnerImpl::start ( )

Definition at line 214 of file spinner.cpp.

◆ stop()

void ros::AsyncSpinnerImpl::stop ( )

Definition at line 236 of file spinner.cpp.

◆ threadFunc()

void ros::AsyncSpinnerImpl::threadFunc ( )
private

Definition at line 248 of file spinner.cpp.

Member Data Documentation

◆ callback_queue_

CallbackQueue* ros::AsyncSpinnerImpl::callback_queue_
private

Definition at line 176 of file spinner.cpp.

◆ continue_

volatile bool ros::AsyncSpinnerImpl::continue_
private

Definition at line 178 of file spinner.cpp.

◆ mutex_

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

Definition at line 172 of file spinner.cpp.

◆ nh_

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

Definition at line 180 of file spinner.cpp.

◆ thread_count_

uint32_t ros::AsyncSpinnerImpl::thread_count_
private

Definition at line 175 of file spinner.cpp.

◆ threads_

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, Dirk Thomas
autogenerated on Mon Feb 28 2022 23:33:27