#include <poll_manager.h>
Public Member Functions | |
boost::signals::connection | addPollThreadListener (const VoidFunc &func) |
PollSet & | getPollSet () |
PollManager () | |
void | removePollThreadListener (boost::signals::connection c) |
void | shutdown () |
void | start () |
~PollManager () | |
Static Public Member Functions | |
static const PollManagerPtr & | instance () |
Private Member Functions | |
void | threadFunc () |
Private Attributes | |
PollSet | poll_set_ |
VoidSignal | poll_signal_ |
volatile bool | shutting_down_ |
boost::recursive_mutex | signal_mutex_ |
boost::thread | thread_ |
Definition at line 40 of file poll_manager.h.
ros::PollManager::PollManager | ( | ) |
Definition at line 52 of file poll_manager.cpp.
ros::PollManager::~PollManager | ( | ) |
Definition at line 56 of file poll_manager.cpp.
boost::signals::connection ros::PollManager::addPollThreadListener | ( | const VoidFunc & | func | ) |
Definition at line 99 of file poll_manager.cpp.
PollSet& ros::PollManager::getPollSet | ( | ) | [inline] |
Definition at line 48 of file poll_manager.h.
const PollManagerPtr & ros::PollManager::instance | ( | ) | [static] |
Definition at line 38 of file poll_manager.cpp.
void ros::PollManager::removePollThreadListener | ( | boost::signals::connection | c | ) |
Definition at line 105 of file poll_manager.cpp.
void ros::PollManager::shutdown | ( | ) |
Definition at line 67 of file poll_manager.cpp.
void ros::PollManager::start | ( | ) |
Definition at line 61 of file poll_manager.cpp.
void ros::PollManager::threadFunc | ( | ) | [private] |
Definition at line 79 of file poll_manager.cpp.
PollSet ros::PollManager::poll_set_ [private] |
Definition at line 58 of file poll_manager.h.
VoidSignal ros::PollManager::poll_signal_ [private] |
Definition at line 61 of file poll_manager.h.
volatile bool ros::PollManager::shutting_down_ [private] |
Definition at line 59 of file poll_manager.h.
boost::recursive_mutex ros::PollManager::signal_mutex_ [private] |
Definition at line 62 of file poll_manager.h.
boost::thread ros::PollManager::thread_ [private] |
Definition at line 64 of file poll_manager.h.