#include <connection_manager.h>
Definition at line 38 of file connection_manager.h.
ros::ConnectionManager::ConnectionManager | ( | ) |
Definition at line 55 of file connection_manager.cpp.
ros::ConnectionManager::~ConnectionManager | ( | ) |
Definition at line 60 of file connection_manager.cpp.
void ros::ConnectionManager::addConnection | ( | const ConnectionPtr & | connection | ) |
Add a connection to be tracked by the node. Will automatically remove them if they've been dropped, but from inside the ros thread.
The | connection to add |
Definition at line 143 of file connection_manager.cpp.
void ros::ConnectionManager::clear | ( | Connection::DropReason | reason | ) |
Definition at line 106 of file connection_manager.cpp.
uint32_t ros::ConnectionManager::getNewConnectionID | ( | ) |
Get a new connection ID.
Definition at line 136 of file connection_manager.cpp.
uint32_t ros::ConnectionManager::getTCPPort | ( | ) |
Definition at line 126 of file connection_manager.cpp.
const TransportTCPPtr& ros::ConnectionManager::getTCPServerTransport | ( | ) | [inline] |
Definition at line 61 of file connection_manager.h.
uint32_t ros::ConnectionManager::getUDPPort | ( | ) |
Definition at line 131 of file connection_manager.cpp.
const TransportUDPPtr& ros::ConnectionManager::getUDPServerTransport | ( | ) | [inline] |
Definition at line 62 of file connection_manager.h.
const ConnectionManagerPtr & ros::ConnectionManager::instance | ( | ) | [static] |
Definition at line 41 of file connection_manager.cpp.
void ros::ConnectionManager::onConnectionDropped | ( | const ConnectionPtr & | conn | ) | [private] |
Definition at line 151 of file connection_manager.cpp.
bool ros::ConnectionManager::onConnectionHeaderReceived | ( | const ConnectionPtr & | conn, | |
const Header & | header | |||
) | [private] |
Definition at line 199 of file connection_manager.cpp.
void ros::ConnectionManager::removeDroppedConnections | ( | ) | [private] |
Definition at line 157 of file connection_manager.cpp.
void ros::ConnectionManager::shutdown | ( | ) |
Definition at line 87 of file connection_manager.cpp.
void ros::ConnectionManager::start | ( | ) |
Definition at line 65 of file connection_manager.cpp.
void ros::ConnectionManager::tcprosAcceptConnection | ( | const TransportTCPPtr & | transport | ) | [private] |
Definition at line 188 of file connection_manager.cpp.
void ros::ConnectionManager::udprosIncomingConnection | ( | const TransportUDPPtr & | transport, | |
Header & | header | |||
) |
Definition at line 176 of file connection_manager.cpp.
uint32_t ros::ConnectionManager::connection_id_counter_ [private] |
Definition at line 88 of file connection_manager.h.
boost::mutex ros::ConnectionManager::connection_id_counter_mutex_ [private] |
Definition at line 89 of file connection_manager.h.
Definition at line 81 of file connection_manager.h.
boost::mutex ros::ConnectionManager::connections_mutex_ [private] |
Definition at line 83 of file connection_manager.h.
Definition at line 82 of file connection_manager.h.
boost::mutex ros::ConnectionManager::dropped_connections_mutex_ [private] |
Definition at line 84 of file connection_manager.h.
const int ros::ConnectionManager::MAX_TCPROS_CONN_QUEUE = 100 [static, private] |
Definition at line 96 of file connection_manager.h.
boost::signals::connection ros::ConnectionManager::poll_conn_ [private] |
Definition at line 91 of file connection_manager.h.
Definition at line 79 of file connection_manager.h.
Definition at line 93 of file connection_manager.h.
Definition at line 94 of file connection_manager.h.