32 #include <boost/thread/mutex.hpp> 33 #include <boost/signals2/connection.hpp> 47 static const ConnectionManagerPtr& instance();
54 uint32_t getNewConnectionID();
64 uint32_t getTCPPort();
65 uint32_t getUDPPort();
80 void removeDroppedConnections();
102 const static int MAX_TCPROS_CONN_QUEUE = 100;
S_Connection connections_
const TransportUDPPtr & getUDPServerTransport()
ROSCPP_DECL void start()
Actually starts the internals of the node (spins up threads, starts the network polling and xmlrpc lo...
boost::mutex connections_mutex_
const TransportTCPPtr & getTCPServerTransport()
TransportTCPPtr tcpserver_transport_
std_msgs::Header * header(M &m)
boost::shared_ptr< ConnectionManager > ConnectionManagerPtr
uint32_t connection_id_counter_
boost::mutex connection_id_counter_mutex_
std::set< ConnectionPtr > S_Connection
std::vector< ConnectionPtr > V_Connection
boost::signals2::connection poll_conn_
TransportUDPPtr udpserver_transport_
ROSCPP_DECL void shutdown()
Disconnects everything and unregisters from the master. It is generally not necessary to call this fu...
boost::mutex dropped_connections_mutex_
V_Connection dropped_connections_
PollManagerPtr poll_manager_
boost::shared_ptr< PollManager > PollManagerPtr