NASA Astrobee Robot Software  0.19.1
Flight software for the Astrobee robots operating inside the International Space Station.
rapid_pub.h
Go to the documentation of this file.
1 // Copyright 2015 Intelligent Robotics Groupp, NASA ARC
2 
3 #ifndef DDS_ROS_BRIDGE_RAPID_PUB_H_
4 #define DDS_ROS_BRIDGE_RAPID_PUB_H_
5 
6 #include <string>
7 #include <memory>
8 
9 namespace ff {
10 
16 class RapidPub {
17  protected:
18  explicit RapidPub(const std::string& pub_topic):
19  publish_topic_(pub_topic) {}
20 
21  std::string publish_topic_;
22 };
23 
24 typedef std::shared_ptr<ff::RapidPub> RapidPubPtr;
25 
26 } // end namespace ff
27 
28 #endif // DDS_ROS_BRIDGE_RAPID_PUB_H_
ff::RapidPub::publish_topic_
std::string publish_topic_
Definition: rapid_pub.h:21
ff::RapidPub
base class for rapid publishers
Definition: rapid_pub.h:16
ff
Definition: generic_rapid_msg_ros_pub.h:36
ff::RapidPubPtr
std::shared_ptr< ff::RapidPub > RapidPubPtr
Definition: rapid_pub.h:24
ff::RapidPub::RapidPub
RapidPub(const std::string &pub_topic)
Definition: rapid_pub.h:18