$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-object_manipulation/doc_stacks/2013-03-01_16-13-18.345538/object_manipulation/object_manipulation_msgs/msg/PlaceFeedback.msg */ 00002 #ifndef OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEFEEDBACK_H 00003 #define OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEFEEDBACK_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 object_manipulation_msgs 00019 { 00020 template <class ContainerAllocator> 00021 struct PlaceFeedback_ { 00022 typedef PlaceFeedback_<ContainerAllocator> Type; 00023 00024 PlaceFeedback_() 00025 : current_location(0) 00026 , total_locations(0) 00027 { 00028 } 00029 00030 PlaceFeedback_(const ContainerAllocator& _alloc) 00031 : current_location(0) 00032 , total_locations(0) 00033 { 00034 } 00035 00036 typedef int32_t _current_location_type; 00037 int32_t current_location; 00038 00039 typedef int32_t _total_locations_type; 00040 int32_t total_locations; 00041 00042 00043 private: 00044 static const char* __s_getDataType_() { return "object_manipulation_msgs/PlaceFeedback"; } 00045 public: 00046 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00047 00048 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00049 00050 private: 00051 static const char* __s_getMD5Sum_() { return "5976b498bfb9532a526a0e0e50282d2f"; } 00052 public: 00053 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00054 00055 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00056 00057 private: 00058 static const char* __s_getMessageDefinition_() { return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00059 \n\ 00060 # The number of the place location currently being attempted\n\ 00061 int32 current_location\n\ 00062 \n\ 00063 # The total number of locations that will be attempted\n\ 00064 int32 total_locations\n\ 00065 \n\ 00066 \n\ 00067 "; } 00068 public: 00069 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00070 00071 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00072 00073 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00074 { 00075 ros::serialization::OStream stream(write_ptr, 1000000000); 00076 ros::serialization::serialize(stream, current_location); 00077 ros::serialization::serialize(stream, total_locations); 00078 return stream.getData(); 00079 } 00080 00081 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00082 { 00083 ros::serialization::IStream stream(read_ptr, 1000000000); 00084 ros::serialization::deserialize(stream, current_location); 00085 ros::serialization::deserialize(stream, total_locations); 00086 return stream.getData(); 00087 } 00088 00089 ROS_DEPRECATED virtual uint32_t serializationLength() const 00090 { 00091 uint32_t size = 0; 00092 size += ros::serialization::serializationLength(current_location); 00093 size += ros::serialization::serializationLength(total_locations); 00094 return size; 00095 } 00096 00097 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > Ptr; 00098 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> const> ConstPtr; 00099 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00100 }; // struct PlaceFeedback 00101 typedef ::object_manipulation_msgs::PlaceFeedback_<std::allocator<void> > PlaceFeedback; 00102 00103 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceFeedback> PlaceFeedbackPtr; 00104 typedef boost::shared_ptr< ::object_manipulation_msgs::PlaceFeedback const> PlaceFeedbackConstPtr; 00105 00106 00107 template<typename ContainerAllocator> 00108 std::ostream& operator<<(std::ostream& s, const ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> & v) 00109 { 00110 ros::message_operations::Printer< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> >::stream(s, "", v); 00111 return s;} 00112 00113 } // namespace object_manipulation_msgs 00114 00115 namespace ros 00116 { 00117 namespace message_traits 00118 { 00119 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > : public TrueType {}; 00120 template<class ContainerAllocator> struct IsMessage< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> const> : public TrueType {}; 00121 template<class ContainerAllocator> 00122 struct MD5Sum< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > { 00123 static const char* value() 00124 { 00125 return "5976b498bfb9532a526a0e0e50282d2f"; 00126 } 00127 00128 static const char* value(const ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> &) { return value(); } 00129 static const uint64_t static_value1 = 0x5976b498bfb9532aULL; 00130 static const uint64_t static_value2 = 0x526a0e0e50282d2fULL; 00131 }; 00132 00133 template<class ContainerAllocator> 00134 struct DataType< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > { 00135 static const char* value() 00136 { 00137 return "object_manipulation_msgs/PlaceFeedback"; 00138 } 00139 00140 static const char* value(const ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> &) { return value(); } 00141 }; 00142 00143 template<class ContainerAllocator> 00144 struct Definition< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > { 00145 static const char* value() 00146 { 00147 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00148 \n\ 00149 # The number of the place location currently being attempted\n\ 00150 int32 current_location\n\ 00151 \n\ 00152 # The total number of locations that will be attempted\n\ 00153 int32 total_locations\n\ 00154 \n\ 00155 \n\ 00156 "; 00157 } 00158 00159 static const char* value(const ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> &) { return value(); } 00160 }; 00161 00162 template<class ContainerAllocator> struct IsFixedSize< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > : public TrueType {}; 00163 } // namespace message_traits 00164 } // namespace ros 00165 00166 namespace ros 00167 { 00168 namespace serialization 00169 { 00170 00171 template<class ContainerAllocator> struct Serializer< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > 00172 { 00173 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00174 { 00175 stream.next(m.current_location); 00176 stream.next(m.total_locations); 00177 } 00178 00179 ROS_DECLARE_ALLINONE_SERIALIZER; 00180 }; // struct PlaceFeedback_ 00181 } // namespace serialization 00182 } // namespace ros 00183 00184 namespace ros 00185 { 00186 namespace message_operations 00187 { 00188 00189 template<class ContainerAllocator> 00190 struct Printer< ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> > 00191 { 00192 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::object_manipulation_msgs::PlaceFeedback_<ContainerAllocator> & v) 00193 { 00194 s << indent << "current_location: "; 00195 Printer<int32_t>::stream(s, indent + " ", v.current_location); 00196 s << indent << "total_locations: "; 00197 Printer<int32_t>::stream(s, indent + " ", v.total_locations); 00198 } 00199 }; 00200 00201 00202 } // namespace message_operations 00203 } // namespace ros 00204 00205 #endif // OBJECT_MANIPULATION_MSGS_MESSAGE_PLACEFEEDBACK_H 00206