28 #ifndef ROSCPP_SPINNER_H 29 #define ROSCPP_SPINNER_H 34 #include <boost/shared_ptr.hpp> 135 #endif // ROSCPP_SPIN_POLICY_H
This is the default implementation of the ros::CallbackQueueInterface.
ROSCPP_DECL void start()
Actually starts the internals of the node (spins up threads, starts the network polling and xmlrpc lo...
Spinner which spins in multiple threads.
Abstract interface for classes which spin on a callback queue.
boost::shared_ptr< AsyncSpinnerImpl > AsyncSpinnerImplPtr
ROSCPP_DECL void spin()
Enter simple event loop.
Spinner which runs in a single thread.
AsyncSpinnerImplPtr impl_
AsyncSpinner is a spinner that does not conform to the abstract Spinner interface. Instead, it spins asynchronously when you call start(), and stops when either you call stop(), ros::shutdown() is called, or its destructor is called.