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

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 ( )

Definition at line 248 of file spinner.cpp.

Member Data Documentation

◆ callback_queue_

CallbackQueue* ros::AsyncSpinnerImpl::callback_queue_

Definition at line 176 of file spinner.cpp.

◆ continue_

volatile bool ros::AsyncSpinnerImpl::continue_

Definition at line 178 of file spinner.cpp.

◆ mutex_

boost::mutex ros::AsyncSpinnerImpl::mutex_

Definition at line 172 of file spinner.cpp.

◆ nh_

ros::NodeHandle ros::AsyncSpinnerImpl::nh_

Definition at line 180 of file spinner.cpp.

◆ thread_count_

uint32_t ros::AsyncSpinnerImpl::thread_count_

Definition at line 175 of file spinner.cpp.

◆ threads_

boost::thread_group ros::AsyncSpinnerImpl::threads_

Definition at line 173 of file spinner.cpp.

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

Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Sun Apr 23 2023 02:59:00