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