Public Member Functions | Private Types | Private Member Functions | Private Attributes
ZeroconfNode Class Reference

Wraps the library api into a fully functional ros node with ros api. More...

List of all members.

Public Member Functions

void init (ros::NodeHandle &nh)

Private Types

typedef boost::function< void(zeroconf_msgs::DiscoveredService)> connection_signal_cb

Private Member Functions

bool add_listener (AddListener::Request &request, AddListener::Response &response)
bool add_service (AddService::Request &request, AddService::Response &response)
bool list_discovered_services (ListDiscoveredServices::Request &request, ListDiscoveredServices::Response &response)
bool list_published_services (ListPublishedServices::Request &request, ListPublishedServices::Response &response)
void lost_connections (DiscoveredService service)
void new_connections (DiscoveredService service)
bool remove_listener (RemoveListener::Request &request, RemoveListener::Response &response)
bool remove_service (AddService::Request &request, AddService::Response &response)

Private Attributes

ros::Publisher pub_lost_connections
ros::Publisher pub_new_connections
ros::ServiceServer server_add_listener
ros::ServiceServer server_add_service
ros::ServiceServer server_list_discovered_services
ros::ServiceServer server_list_published_services
ros::ServiceServer server_remove_listener
ros::ServiceServer server_remove_service
Zeroconf zeroconf

Detailed Description

Wraps the library api into a fully functional ros node with ros api.

Simply envelops the c++ api with ros msg/srv communications. Also has some magic to help make publishing and browsing ros masters easy.

Definition at line 43 of file node/zeroconf.cpp.


Member Typedef Documentation

typedef boost::function<void(zeroconf_msgs::DiscoveredService)> ZeroconfNode::connection_signal_cb [private]

Definition at line 47 of file node/zeroconf.cpp.


Member Function Documentation

bool ZeroconfNode::add_listener ( AddListener::Request &  request,
AddListener::Response &  response 
) [inline, private]

Definition at line 175 of file node/zeroconf.cpp.

bool ZeroconfNode::add_service ( AddService::Request &  request,
AddService::Response &  response 
) [inline, private]

Definition at line 187 of file node/zeroconf.cpp.

void ZeroconfNode::init ( ros::NodeHandle nh) [inline]

Definition at line 50 of file node/zeroconf.cpp.

bool ZeroconfNode::list_discovered_services ( ListDiscoveredServices::Request &  request,
ListDiscoveredServices::Response &  response 
) [inline, private]

Definition at line 197 of file node/zeroconf.cpp.

bool ZeroconfNode::list_published_services ( ListPublishedServices::Request &  request,
ListPublishedServices::Response &  response 
) [inline, private]

Definition at line 203 of file node/zeroconf.cpp.

void ZeroconfNode::lost_connections ( DiscoveredService  service) [inline, private]

Definition at line 212 of file node/zeroconf.cpp.

void ZeroconfNode::new_connections ( DiscoveredService  service) [inline, private]

Definition at line 208 of file node/zeroconf.cpp.

bool ZeroconfNode::remove_listener ( RemoveListener::Request &  request,
RemoveListener::Response &  response 
) [inline, private]

Definition at line 181 of file node/zeroconf.cpp.

bool ZeroconfNode::remove_service ( AddService::Request &  request,
AddService::Response &  response 
) [inline, private]

Definition at line 192 of file node/zeroconf.cpp.


Member Data Documentation

Definition at line 220 of file node/zeroconf.cpp.

Definition at line 220 of file node/zeroconf.cpp.

Definition at line 218 of file node/zeroconf.cpp.

Definition at line 218 of file node/zeroconf.cpp.

Definition at line 219 of file node/zeroconf.cpp.

Definition at line 219 of file node/zeroconf.cpp.

Definition at line 218 of file node/zeroconf.cpp.

Definition at line 218 of file node/zeroconf.cpp.

Definition at line 217 of file node/zeroconf.cpp.


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


zeroconf_avahi
Author(s): Daniel Stonier
autogenerated on Mon Oct 6 2014 09:12:37