node_check_switch.h
Go to the documentation of this file.
1 #ifndef NODE_CHECK_SWITCH_H_INCLUDED
2 #define NODE_CHECK_SWITCH_H_INCLUDED
3 
4 //headers in ROS
5 #include <ros/ros.h>
7 
9 {
10 public:
13 private:
18  std::string topic_exist_;
19  std::string topic_not_exist_;
23  void subscribe_();
24  void unsubscribe_();
25  bool target_node_exists_();
26  volatile bool advertised_;
27 };
28 
29 #endif //NODE_CHECK_SWITCH_H_INCLUDED
volatile bool advertised_
void connection_callback_(const ros::SingleSubscriberPublisher &)
ros::Publisher not_exist_pub_
ros::Publisher exist_pub_
std::string topic_exist_
std::string topic_not_exist_
void callback_(const ros::MessageEvent< topic_tools::ShapeShifter > &msg_event)
ros::NodeHandle nh_
ros::Subscriber * sub_ptr_
std::string check_target_node_name_


topic_switch
Author(s):
autogenerated on Mon Jun 10 2019 15:27:01