Show EOL distros: 

common: actionlib | bfl | bond | bondcpp | bondpy | filters | nodelet | nodelet_topic_tools | pluginlib | smclib | tinyxml | xacro | yaml_cpp

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

bond_core: bond | bondcpp | bondpy | smclib

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

bond_core: bond | bondcpp | bondpy | smclib

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

bond_core: bond | bondcpp | bondpy | smclib

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

bond_core: bond | bondcpp | bondpy | smclib

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

bond_core: bond | bondcpp | bondpy | smclib

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

bond_core: bond | bondcpp | bondpy | smclib

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

bond_core: bond | bondcpp | bondpy | smclib

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

bond_core: bond | bondcpp | bondpy | smclib

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

bond_core: bond | bondcpp | bondpy | smclib

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

bond_core: bond | bondcpp | bondpy | smclib

Package Summary

C++ implementation of bond, a mechanism for checking when another process has terminated.

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:

   1 #include <bondcpp/bond.h>
   2 
   3 // Receives id from A using a service or action
   4 bond::Bond bond("example_bond_topic", id);
   5 bond.start();
   6 // ... do things ...
   7 bond.breakBond();

Report a Bug

Use GitHub to report bugs or submit feature requests. [View active issues]

Wiki: bondcpp (last edited 2017-03-23 23:05:11 by Marguedas)