Show EOL distros:
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Author: Stuart Glaser
- License: BSD
- Repository: ros-pkg
- Source: svn https://code.ros.org/svn/ros-pkg/stacks/common/tags/common-1.4.3
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Author: Stuart Glaser
- License: BSD
- Source: hg https://kforge.ros.org/common/bondcore (branch: default)
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Author: Stuart Glaser
- License: BSD
- Source: hg https://kforge.ros.org/common/bondcore (branch: default)
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer: Esteve Fernandez <esteve AT osrfoundation DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: master)
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Esteve Fernandez <esteve AT osrfoundation DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: master)
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Michael Carroll <michael AT openrobotics DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: groovy-devel)
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Mikael Arguedas <mikael AT osrfoundation DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: groovy-devel)
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Michael Carroll <michael AT openrobotics DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: kinetic-devel)
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Michael Carroll <michael AT openrobotics DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: kinetic-devel)
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Michael Carroll <michael AT openrobotics DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: kinetic-devel)
Package Summary
C++ implementation of bond, a mechanism for checking when another process has terminated.
- Maintainer status: maintained
- Maintainer: Michael Carroll <michael AT openrobotics DOT org>
- Author: Stuart Glaser
- License: BSD
- Bug / feature tracker: https://github.com/ros/bond_core/issues
- Source: git https://github.com/ros/bond_core.git (branch: kinetic-devel)
Contents
Overview
bondcpp is an implementation of bond in C++. To use bondcpp, please see the example below as well as the API documentation.
Example usage
Process A:
1 #include <bondcpp/bond.h>
2
3 std::string id = generateUniqueId();
4 // Sends id to B using a service or action
5 bond::Bond bond("example_bond_topic", id);
6 bond.start();
7 if (!bond.waitUntilFormed(ros::Duration(1.0)))
8 {
9 ROS_ERROR("ERROR!");
10 return false;
11 }
12 // ... do things with B ...
13 bond.waitUntilBroken(ros::Duration(-1.0));
14 printf("B has broken the bond\n");
Process B:
Report a Bug
Use GitHub to report bugs or submit feature requests. [View active issues]