$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-ias_common/doc_stacks/2013-03-01_15-41-55.252100/ias_common/navp_action/msg/nav_actionResult.msg */ 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 private: 00040 static const char* __s_getDataType_() { return "navp_action/nav_actionResult"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "e1093a895d389825abe211cea01772a0"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00055 #result definition\n\ 00056 std_msgs/Float32 distance\n\ 00057 \n\ 00058 ================================================================================\n\ 00059 MSG: std_msgs/Float32\n\ 00060 float32 data\n\ 00061 "; } 00062 public: 00063 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00064 00065 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00066 00067 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00068 { 00069 ros::serialization::OStream stream(write_ptr, 1000000000); 00070 ros::serialization::serialize(stream, distance); 00071 return stream.getData(); 00072 } 00073 00074 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00075 { 00076 ros::serialization::IStream stream(read_ptr, 1000000000); 00077 ros::serialization::deserialize(stream, distance); 00078 return stream.getData(); 00079 } 00080 00081 ROS_DEPRECATED virtual uint32_t serializationLength() const 00082 { 00083 uint32_t size = 0; 00084 size += ros::serialization::serializationLength(distance); 00085 return size; 00086 } 00087 00088 typedef boost::shared_ptr< ::navp_action::nav_actionResult_<ContainerAllocator> > Ptr; 00089 typedef boost::shared_ptr< ::navp_action::nav_actionResult_<ContainerAllocator> const> ConstPtr; 00090 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00091 }; // struct nav_actionResult 00092 typedef ::navp_action::nav_actionResult_<std::allocator<void> > nav_actionResult; 00093 00094 typedef boost::shared_ptr< ::navp_action::nav_actionResult> nav_actionResultPtr; 00095 typedef boost::shared_ptr< ::navp_action::nav_actionResult const> nav_actionResultConstPtr; 00096 00097 00098 template<typename ContainerAllocator> 00099 std::ostream& operator<<(std::ostream& s, const ::navp_action::nav_actionResult_<ContainerAllocator> & v) 00100 { 00101 ros::message_operations::Printer< ::navp_action::nav_actionResult_<ContainerAllocator> >::stream(s, "", v); 00102 return s;} 00103 00104 } // namespace navp_action 00105 00106 namespace ros 00107 { 00108 namespace message_traits 00109 { 00110 template<class ContainerAllocator> struct IsMessage< ::navp_action::nav_actionResult_<ContainerAllocator> > : public TrueType {}; 00111 template<class ContainerAllocator> struct IsMessage< ::navp_action::nav_actionResult_<ContainerAllocator> const> : public TrueType {}; 00112 template<class ContainerAllocator> 00113 struct MD5Sum< ::navp_action::nav_actionResult_<ContainerAllocator> > { 00114 static const char* value() 00115 { 00116 return "e1093a895d389825abe211cea01772a0"; 00117 } 00118 00119 static const char* value(const ::navp_action::nav_actionResult_<ContainerAllocator> &) { return value(); } 00120 static const uint64_t static_value1 = 0xe1093a895d389825ULL; 00121 static const uint64_t static_value2 = 0xabe211cea01772a0ULL; 00122 }; 00123 00124 template<class ContainerAllocator> 00125 struct DataType< ::navp_action::nav_actionResult_<ContainerAllocator> > { 00126 static const char* value() 00127 { 00128 return "navp_action/nav_actionResult"; 00129 } 00130 00131 static const char* value(const ::navp_action::nav_actionResult_<ContainerAllocator> &) { return value(); } 00132 }; 00133 00134 template<class ContainerAllocator> 00135 struct Definition< ::navp_action::nav_actionResult_<ContainerAllocator> > { 00136 static const char* value() 00137 { 00138 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00139 #result definition\n\ 00140 std_msgs/Float32 distance\n\ 00141 \n\ 00142 ================================================================================\n\ 00143 MSG: std_msgs/Float32\n\ 00144 float32 data\n\ 00145 "; 00146 } 00147 00148 static const char* value(const ::navp_action::nav_actionResult_<ContainerAllocator> &) { return value(); } 00149 }; 00150 00151 template<class ContainerAllocator> struct IsFixedSize< ::navp_action::nav_actionResult_<ContainerAllocator> > : public TrueType {}; 00152 } // namespace message_traits 00153 } // namespace ros 00154 00155 namespace ros 00156 { 00157 namespace serialization 00158 { 00159 00160 template<class ContainerAllocator> struct Serializer< ::navp_action::nav_actionResult_<ContainerAllocator> > 00161 { 00162 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00163 { 00164 stream.next(m.distance); 00165 } 00166 00167 ROS_DECLARE_ALLINONE_SERIALIZER; 00168 }; // struct nav_actionResult_ 00169 } // namespace serialization 00170 } // namespace ros 00171 00172 namespace ros 00173 { 00174 namespace message_operations 00175 { 00176 00177 template<class ContainerAllocator> 00178 struct Printer< ::navp_action::nav_actionResult_<ContainerAllocator> > 00179 { 00180 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::navp_action::nav_actionResult_<ContainerAllocator> & v) 00181 { 00182 s << indent << "distance: "; 00183 s << std::endl; 00184 Printer< ::std_msgs::Float32_<ContainerAllocator> >::stream(s, indent + " ", v.distance); 00185 } 00186 }; 00187 00188 00189 } // namespace message_operations 00190 } // namespace ros 00191 00192 #endif // NAVP_ACTION_MESSAGE_NAV_ACTIONRESULT_H 00193