Go to the documentation of this file.00001
00002 #ifndef NAVP_ACTION_MESSAGE_NAV_ACTIONFEEDBACK_H
00003 #define NAVP_ACTION_MESSAGE_NAV_ACTIONFEEDBACK_H
00004 #include <string>
00005 #include <vector>
00006 #include <map>
00007 #include <ostream>
00008 #include "ros/serialization.h"
00009 #include "ros/builtin_message_traits.h"
00010 #include "ros/message_operations.h"
00011 #include "ros/time.h"
00012
00013 #include "ros/macros.h"
00014
00015 #include "ros/assert.h"
00016
00017 #include "std_msgs/Float32.h"
00018 #include "std_msgs/Float32.h"
00019
00020 namespace navp_action
00021 {
00022 template <class ContainerAllocator>
00023 struct nav_actionFeedback_ {
00024 typedef nav_actionFeedback_<ContainerAllocator> Type;
00025
00026 nav_actionFeedback_()
00027 : speed()
00028 , distance()
00029 {
00030 }
00031
00032 nav_actionFeedback_(const ContainerAllocator& _alloc)
00033 : speed(_alloc)
00034 , distance(_alloc)
00035 {
00036 }
00037
00038 typedef ::std_msgs::Float32_<ContainerAllocator> _speed_type;
00039 ::std_msgs::Float32_<ContainerAllocator> speed;
00040
00041 typedef ::std_msgs::Float32_<ContainerAllocator> _distance_type;
00042 ::std_msgs::Float32_<ContainerAllocator> distance;
00043
00044
00045 typedef boost::shared_ptr< ::navp_action::nav_actionFeedback_<ContainerAllocator> > Ptr;
00046 typedef boost::shared_ptr< ::navp_action::nav_actionFeedback_<ContainerAllocator> const> ConstPtr;
00047 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00048 };
00049 typedef ::navp_action::nav_actionFeedback_<std::allocator<void> > nav_actionFeedback;
00050
00051 typedef boost::shared_ptr< ::navp_action::nav_actionFeedback> nav_actionFeedbackPtr;
00052 typedef boost::shared_ptr< ::navp_action::nav_actionFeedback const> nav_actionFeedbackConstPtr;
00053
00054
00055 template<typename ContainerAllocator>
00056 std::ostream& operator<<(std::ostream& s, const ::navp_action::nav_actionFeedback_<ContainerAllocator> & v)
00057 {
00058 ros::message_operations::Printer< ::navp_action::nav_actionFeedback_<ContainerAllocator> >::stream(s, "", v);
00059 return s;}
00060
00061 }
00062
00063 namespace ros
00064 {
00065 namespace message_traits
00066 {
00067 template<class ContainerAllocator> struct IsMessage< ::navp_action::nav_actionFeedback_<ContainerAllocator> > : public TrueType {};
00068 template<class ContainerAllocator> struct IsMessage< ::navp_action::nav_actionFeedback_<ContainerAllocator> const> : public TrueType {};
00069 template<class ContainerAllocator>
00070 struct MD5Sum< ::navp_action::nav_actionFeedback_<ContainerAllocator> > {
00071 static const char* value()
00072 {
00073 return "e3a506f00b86d89645273f384ec10fb9";
00074 }
00075
00076 static const char* value(const ::navp_action::nav_actionFeedback_<ContainerAllocator> &) { return value(); }
00077 static const uint64_t static_value1 = 0xe3a506f00b86d896ULL;
00078 static const uint64_t static_value2 = 0x45273f384ec10fb9ULL;
00079 };
00080
00081 template<class ContainerAllocator>
00082 struct DataType< ::navp_action::nav_actionFeedback_<ContainerAllocator> > {
00083 static const char* value()
00084 {
00085 return "navp_action/nav_actionFeedback";
00086 }
00087
00088 static const char* value(const ::navp_action::nav_actionFeedback_<ContainerAllocator> &) { return value(); }
00089 };
00090
00091 template<class ContainerAllocator>
00092 struct Definition< ::navp_action::nav_actionFeedback_<ContainerAllocator> > {
00093 static const char* value()
00094 {
00095 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00096 #feedback\n\
00097 std_msgs/Float32 speed\n\
00098 std_msgs/Float32 distance\n\
00099 \n\
00100 \n\
00101 ================================================================================\n\
00102 MSG: std_msgs/Float32\n\
00103 float32 data\n\
00104 ";
00105 }
00106
00107 static const char* value(const ::navp_action::nav_actionFeedback_<ContainerAllocator> &) { return value(); }
00108 };
00109
00110 template<class ContainerAllocator> struct IsFixedSize< ::navp_action::nav_actionFeedback_<ContainerAllocator> > : public TrueType {};
00111 }
00112 }
00113
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118
00119 template<class ContainerAllocator> struct Serializer< ::navp_action::nav_actionFeedback_<ContainerAllocator> >
00120 {
00121 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122 {
00123 stream.next(m.speed);
00124 stream.next(m.distance);
00125 }
00126
00127 ROS_DECLARE_ALLINONE_SERIALIZER;
00128 };
00129 }
00130 }
00131
00132 namespace ros
00133 {
00134 namespace message_operations
00135 {
00136
00137 template<class ContainerAllocator>
00138 struct Printer< ::navp_action::nav_actionFeedback_<ContainerAllocator> >
00139 {
00140 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::navp_action::nav_actionFeedback_<ContainerAllocator> & v)
00141 {
00142 s << indent << "speed: ";
00143 s << std::endl;
00144 Printer< ::std_msgs::Float32_<ContainerAllocator> >::stream(s, indent + " ", v.speed);
00145 s << indent << "distance: ";
00146 s << std::endl;
00147 Printer< ::std_msgs::Float32_<ContainerAllocator> >::stream(s, indent + " ", v.distance);
00148 }
00149 };
00150
00151
00152 }
00153 }
00154
00155 #endif // NAVP_ACTION_MESSAGE_NAV_ACTIONFEEDBACK_H
00156