$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/cogman_msgs/msg/ArmHandFeedback.msg */ 00002 #ifndef COGMAN_MSGS_MESSAGE_ARMHANDFEEDBACK_H 00003 #define COGMAN_MSGS_MESSAGE_ARMHANDFEEDBACK_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 00018 namespace cogman_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct ArmHandFeedback_ { 00022 typedef ArmHandFeedback_<ContainerAllocator> Type; 00023 00024 ArmHandFeedback_() 00025 : distance_to_goal(0.0) 00026 { 00027 } 00028 00029 ArmHandFeedback_(const ContainerAllocator& _alloc) 00030 : distance_to_goal(0.0) 00031 { 00032 } 00033 00034 typedef float _distance_to_goal_type; 00035 float distance_to_goal; 00036 00037 00038 private: 00039 static const char* __s_getDataType_() { return "cogman_msgs/ArmHandFeedback"; } 00040 public: 00041 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00042 00043 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00044 00045 private: 00046 static const char* __s_getMD5Sum_() { return "a919d04ed2096bb17a51fa9ae226b8a8"; } 00047 public: 00048 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00049 00050 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00051 00052 private: 00053 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00054 #feedback\n\ 00055 float32 distance_to_goal\n\ 00056 \n\ 00057 \n\ 00058 \n\ 00059 "; } 00060 public: 00061 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00062 00063 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00064 00065 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00066 { 00067 ros::serialization::OStream stream(write_ptr, 1000000000); 00068 ros::serialization::serialize(stream, distance_to_goal); 00069 return stream.getData(); 00070 } 00071 00072 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00073 { 00074 ros::serialization::IStream stream(read_ptr, 1000000000); 00075 ros::serialization::deserialize(stream, distance_to_goal); 00076 return stream.getData(); 00077 } 00078 00079 ROS_DEPRECATED virtual uint32_t serializationLength() const 00080 { 00081 uint32_t size = 0; 00082 size += ros::serialization::serializationLength(distance_to_goal); 00083 return size; 00084 } 00085 00086 typedef boost::shared_ptr< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > Ptr; 00087 typedef boost::shared_ptr< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> const> ConstPtr; 00088 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00089 }; // struct ArmHandFeedback 00090 typedef ::cogman_msgs::ArmHandFeedback_<std::allocator<void> > ArmHandFeedback; 00091 00092 typedef boost::shared_ptr< ::cogman_msgs::ArmHandFeedback> ArmHandFeedbackPtr; 00093 typedef boost::shared_ptr< ::cogman_msgs::ArmHandFeedback const> ArmHandFeedbackConstPtr; 00094 00095 00096 template<typename ContainerAllocator> 00097 std::ostream& operator<<(std::ostream& s, const ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> & v) 00098 { 00099 ros::message_operations::Printer< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> >::stream(s, "", v); 00100 return s;} 00101 00102 } // namespace cogman_msgs 00103 00104 namespace ros 00105 { 00106 namespace message_traits 00107 { 00108 template<class ContainerAllocator> struct IsMessage< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > : public TrueType {}; 00109 template<class ContainerAllocator> struct IsMessage< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> const> : public TrueType {}; 00110 template<class ContainerAllocator> 00111 struct MD5Sum< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > { 00112 static const char* value() 00113 { 00114 return "a919d04ed2096bb17a51fa9ae226b8a8"; 00115 } 00116 00117 static const char* value(const ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> &) { return value(); } 00118 static const uint64_t static_value1 = 0xa919d04ed2096bb1ULL; 00119 static const uint64_t static_value2 = 0x7a51fa9ae226b8a8ULL; 00120 }; 00121 00122 template<class ContainerAllocator> 00123 struct DataType< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > { 00124 static const char* value() 00125 { 00126 return "cogman_msgs/ArmHandFeedback"; 00127 } 00128 00129 static const char* value(const ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> &) { return value(); } 00130 }; 00131 00132 template<class ContainerAllocator> 00133 struct Definition< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > { 00134 static const char* value() 00135 { 00136 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00137 #feedback\n\ 00138 float32 distance_to_goal\n\ 00139 \n\ 00140 \n\ 00141 \n\ 00142 "; 00143 } 00144 00145 static const char* value(const ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> &) { return value(); } 00146 }; 00147 00148 template<class ContainerAllocator> struct IsFixedSize< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > : public TrueType {}; 00149 } // namespace message_traits 00150 } // namespace ros 00151 00152 namespace ros 00153 { 00154 namespace serialization 00155 { 00156 00157 template<class ContainerAllocator> struct Serializer< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > 00158 { 00159 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00160 { 00161 stream.next(m.distance_to_goal); 00162 } 00163 00164 ROS_DECLARE_ALLINONE_SERIALIZER; 00165 }; // struct ArmHandFeedback_ 00166 } // namespace serialization 00167 } // namespace ros 00168 00169 namespace ros 00170 { 00171 namespace message_operations 00172 { 00173 00174 template<class ContainerAllocator> 00175 struct Printer< ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> > 00176 { 00177 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::cogman_msgs::ArmHandFeedback_<ContainerAllocator> & v) 00178 { 00179 s << indent << "distance_to_goal: "; 00180 Printer<float>::stream(s, indent + " ", v.distance_to_goal); 00181 } 00182 }; 00183 00184 00185 } // namespace message_operations 00186 } // namespace ros 00187 00188 #endif // COGMAN_MSGS_MESSAGE_ARMHANDFEEDBACK_H 00189