talker.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef TALKER_NODE_HPP_
13 #define TALKER_NODE_HPP_
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 #ifndef Q_MOC_RUN
20 #include <ros/ros.h>
21 #include "../common/qnode.hpp"
22 #endif
23 
24 #include <string>
25 
26 /*****************************************************************************
27 ** Class
28 *****************************************************************************/
29 
30 class Talker : public QNode {
31 
32 public:
33  Talker(int argc, char** argv);
34  virtual ~Talker() {}
35  void run();
36  void ros_comms_init();
37 private:
39 };
40 
41 #endif /* TALKER_NODE_HPP_ */
ros::Publisher chatter_publisher
Definition: talker.hpp:38
void run()
Definition: talker.cpp:32
virtual ~Talker()
Definition: talker.hpp:34
void ros_comms_init()
Definition: talker.cpp:27
Definition: qnode.hpp:31
Talker(int argc, char **argv)
Definition: talker.cpp:23


qt_tutorials
Author(s): Daniel Stonier
autogenerated on Wed Mar 11 2020 03:12:20