publisher.hpp
Go to the documentation of this file.
1 #ifndef ros1_ros_cpp_template_PUBLISHER_HPP_
2 #define ros1_ros_cpp_template_PUBLISHER_HPP_
3 
5 
6 #include <ros/publisher.h>
7 #include <ros/node_handle.h>
8 
9 #include <memory>
10 #include <string>
11 
13 {
14 
18 class Publisher
19 {
20 public:
28  explicit Publisher(ros1_cpptemplate::AtomicFibonacciPtr atomic_fibonacci,
29  ros::NodeHandle& node_handle,
30  const std::string& output_topic_name);
31 
35  virtual ~Publisher();
36 
40  virtual void publish();
41 
42 protected:
47  {
48  }
49 
52 
55 };
56 typedef std::shared_ptr<Publisher> PublisherPtr;
57 
58 } // namespace
59 
60 #endif
std::shared_ptr< AtomicFibonacci > AtomicFibonacciPtr
ros::Publisher publisher_
Actual publisher.
Definition: publisher.hpp:54
std::shared_ptr< Publisher > PublisherPtr
Definition: publisher.hpp:56
ros1_cpptemplate::AtomicFibonacciPtr atomic_fibonacci_
AtomicFibonacci supplier (shared)
Definition: publisher.hpp:51


ros1_ros_cpptemplate
Author(s): Alexander Reimann
autogenerated on Sat Sep 2 2017 02:38:06