talker.hpp
Go to the documentation of this file.
00001 
00008 /*****************************************************************************
00009 ** Ifdefs
00010 *****************************************************************************/
00011 
00012 #ifndef TALKER_NODE_HPP_
00013 #define TALKER_NODE_HPP_
00014 
00015 /*****************************************************************************
00016 ** Includes
00017 *****************************************************************************/
00018 
00019 #ifndef Q_MOC_RUN
00020 #include <ros/ros.h>
00021 #include "../common/qnode.hpp"
00022 #endif
00023 
00024 #include <string>
00025 
00026 /*****************************************************************************
00027 ** Class
00028 *****************************************************************************/
00029 
00030 class Talker : public QNode {
00031 
00032 public:
00033         Talker(int argc, char** argv);
00034         virtual ~Talker() {}
00035         void run();
00036         void ros_comms_init();
00037 private:
00038         ros::Publisher chatter_publisher;
00039 };
00040 
00041 #endif /* TALKER_NODE_HPP_ */


qt_tutorials
Author(s): Daniel Stonier
autogenerated on Fri Aug 28 2015 12:16:20