Fabric 0.2.0
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | List of all members
BondClient Class Reference

#include <bond_client.hpp>

Public Member Functions

 BondClient (rclcpp::Node::SharedPtr node, const std::string &bond_id)
 Construct a new Bond Client object.
 
void start ()
 start the bond
 
void stop ()
 stop the bond
 
 ~BondClient ()
 

Private Member Functions

void on_formed ()
 callback function for bond formed event
 
void on_broken ()
 callback function for bond broken event
 

Private Attributes

rclcpp::Node::SharedPtr node_
 
std::string bond_id_
 
std::string topic_
 
std::shared_ptr< bond::Bond > bond_
 

Constructor & Destructor Documentation

◆ BondClient()

BondClient::BondClient ( rclcpp::Node::SharedPtr  node,
const std::string &  bond_id 
)
inline

Construct a new Bond Client object.

Parameters
nodepointer to the node
bond_idBond id string

◆ ~BondClient()

BondClient::~BondClient ( )
inline

Member Function Documentation

◆ on_broken()

void BondClient::on_broken ( )
inlineprivate

callback function for bond broken event

◆ on_formed()

void BondClient::on_formed ( )
inlineprivate

callback function for bond formed event

◆ start()

void BondClient::start ( )
inline

start the bond

◆ stop()

void BondClient::stop ( )
inline

stop the bond

Member Data Documentation

◆ bond_

std::shared_ptr<bond::Bond> BondClient::bond_
private

Heart beat bond with capabilities server

◆ bond_id_

std::string BondClient::bond_id_
private

Bond id string

◆ node_

rclcpp::Node::SharedPtr BondClient::node_
private

Ros node pointer

◆ topic_

std::string BondClient::topic_
private

Bond topic to be published


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