Go to the documentation of this file.00001
00002 #ifndef NAVP_ACTION_MESSAGE_NAV_ACTIONRESULT_H
00003 #define NAVP_ACTION_MESSAGE_NAV_ACTIONRESULT_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
00019 namespace navp_action
00020 {
00021 template <class ContainerAllocator>
00022 struct nav_actionResult_ {
00023 typedef nav_actionResult_<ContainerAllocator> Type;
00024
00025 nav_actionResult_()
00026 : distance()
00027 {
00028 }
00029
00030 nav_actionResult_(const ContainerAllocator& _alloc)
00031 : distance(_alloc)
00032 {
00033 }
00034
00035 typedef ::std_msgs::Float32_<ContainerAllocator> _distance_type;
00036 ::std_msgs::Float32_<ContainerAllocator> distance;
00037
00038
00039 typedef boost::shared_ptr< ::navp_action::nav_actionResult_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::navp_action::nav_actionResult_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::navp_action::nav_actionResult_<std::allocator<void> > nav_actionResult;
00044
00045 typedef boost::shared_ptr< ::navp_action::nav_actionResult> nav_actionResultPtr;
00046 typedef boost::shared_ptr< ::navp_action::nav_actionResult const> nav_actionResultConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::navp_action::nav_actionResult_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::navp_action::nav_actionResult_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::navp_action::nav_actionResult_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::navp_action::nav_actionResult_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::navp_action::nav_actionResult_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "e1093a895d389825abe211cea01772a0";
00068 }
00069
00070 static const char* value(const ::navp_action::nav_actionResult_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0xe1093a895d389825ULL;
00072 static const uint64_t static_value2 = 0xabe211cea01772a0ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::navp_action::nav_actionResult_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "navp_action/nav_actionResult";
00080 }
00081
00082 static const char* value(const ::navp_action::nav_actionResult_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::navp_action::nav_actionResult_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 #result definition\n\
00091 std_msgs/Float32 distance\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: std_msgs/Float32\n\
00095 float32 data\n\
00096 ";
00097 }
00098
00099 static const char* value(const ::navp_action::nav_actionResult_<ContainerAllocator> &) { return value(); }
00100 };
00101
00102 template<class ContainerAllocator> struct IsFixedSize< ::navp_action::nav_actionResult_<ContainerAllocator> > : public TrueType {};
00103 }
00104 }
00105
00106 namespace ros
00107 {
00108 namespace serialization
00109 {
00110
00111 template<class ContainerAllocator> struct Serializer< ::navp_action::nav_actionResult_<ContainerAllocator> >
00112 {
00113 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00114 {
00115 stream.next(m.distance);
00116 }
00117
00118 ROS_DECLARE_ALLINONE_SERIALIZER;
00119 };
00120 }
00121 }
00122
00123 namespace ros
00124 {
00125 namespace message_operations
00126 {
00127
00128 template<class ContainerAllocator>
00129 struct Printer< ::navp_action::nav_actionResult_<ContainerAllocator> >
00130 {
00131 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::navp_action::nav_actionResult_<ContainerAllocator> & v)
00132 {
00133 s << indent << "distance: ";
00134 s << std::endl;
00135 Printer< ::std_msgs::Float32_<ContainerAllocator> >::stream(s, indent + " ", v.distance);
00136 }
00137 };
00138
00139
00140 }
00141 }
00142
00143 #endif // NAVP_ACTION_MESSAGE_NAV_ACTIONRESULT_H
00144