Public Member Functions
ConnectionManager Class Reference

Manager of connections. More...

#include <ConnectionManager.hh>

Inheritance diagram for ConnectionManager:
Inheritance graph
[legend]

List of all members.

Public Member Functions

bool Init (const std::string &master_host, unsigned short master_port)
void Run ()
 Run the connection manager loop.
bool IsRunning () const
 Return true if running (not stopped)
void Fini ()
 Finalize the conneciton manager.
void Stop ()
 Stop the conneciton manager.
void Subscribe (const std::string &_topic, const std::string &_msgType, bool _latching)
void Unsubscribe (const msgs::Subscribe &_sub)
void Unsubscribe (const std::string &_topic, const std::string &_msgType)
void Advertise (const std::string &topic, const std::string &msgType)
void Unadvertise (const std::string &topic)
void GetAllPublishers (std::list< msgs::Publish > &publishers)
 Explicitly update the publisher list.
void RemoveConnection (ConnectionPtr &conn)
 Remove a connection.
void RegisterTopicNamespace (const std::string &_name)
 Register a new topic namespace.
void GetTopicNamespaces (std::list< std::string > &_namespaces)
 Get all the topic namespaces.
ConnectionPtr ConnectToRemoteHost (const std::string &host, unsigned short port)
 Connect to a remote server.

Detailed Description

Manager of connections.


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