$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/ias_table_msgs/msg/TableCluster.msg */ 00002 #ifndef IAS_TABLE_MSGS_MESSAGE_TABLECLUSTER_H 00003 #define IAS_TABLE_MSGS_MESSAGE_TABLECLUSTER_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/Header.h" 00018 #include "geometry_msgs/Point32.h" 00019 #include "geometry_msgs/Point32.h" 00020 #include "geometry_msgs/Point32.h" 00021 00022 namespace ias_table_msgs 00023 { 00024 template <class ContainerAllocator> 00025 struct TableCluster_ { 00026 typedef TableCluster_<ContainerAllocator> Type; 00027 00028 TableCluster_() 00029 : header() 00030 , center() 00031 , min_bound() 00032 , max_bound() 00033 { 00034 } 00035 00036 TableCluster_(const ContainerAllocator& _alloc) 00037 : header(_alloc) 00038 , center(_alloc) 00039 , min_bound(_alloc) 00040 , max_bound(_alloc) 00041 { 00042 } 00043 00044 typedef ::std_msgs::Header_<ContainerAllocator> _header_type; 00045 ::std_msgs::Header_<ContainerAllocator> header; 00046 00047 typedef ::geometry_msgs::Point32_<ContainerAllocator> _center_type; 00048 ::geometry_msgs::Point32_<ContainerAllocator> center; 00049 00050 typedef ::geometry_msgs::Point32_<ContainerAllocator> _min_bound_type; 00051 ::geometry_msgs::Point32_<ContainerAllocator> min_bound; 00052 00053 typedef ::geometry_msgs::Point32_<ContainerAllocator> _max_bound_type; 00054 ::geometry_msgs::Point32_<ContainerAllocator> max_bound; 00055 00056 00057 private: 00058 static const char* __s_getDataType_() { return "ias_table_msgs/TableCluster"; } 00059 public: 00060 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00061 00062 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00063 00064 private: 00065 static const char* __s_getMD5Sum_() { return "4ea47c48cb127cf14882b6238c7c7d6a"; } 00066 public: 00067 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00068 00069 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00070 00071 private: 00072 static const char* __s_getMessageDefinition_() { return "Header header\n\ 00073 geometry_msgs/Point32 center\n\ 00074 geometry_msgs/Point32 min_bound\n\ 00075 geometry_msgs/Point32 max_bound\n\ 00076 \n\ 00077 ================================================================================\n\ 00078 MSG: std_msgs/Header\n\ 00079 # Standard metadata for higher-level stamped data types.\n\ 00080 # This is generally used to communicate timestamped data \n\ 00081 # in a particular coordinate frame.\n\ 00082 # \n\ 00083 # sequence ID: consecutively increasing ID \n\ 00084 uint32 seq\n\ 00085 #Two-integer timestamp that is expressed as:\n\ 00086 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00087 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00088 # time-handling sugar is provided by the client library\n\ 00089 time stamp\n\ 00090 #Frame this data is associated with\n\ 00091 # 0: no frame\n\ 00092 # 1: global frame\n\ 00093 string frame_id\n\ 00094 \n\ 00095 ================================================================================\n\ 00096 MSG: geometry_msgs/Point32\n\ 00097 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00098 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00099 # \n\ 00100 # This recommendation is to promote interoperability. \n\ 00101 #\n\ 00102 # This message is designed to take up less space when sending\n\ 00103 # lots of points at once, as in the case of a PointCloud. \n\ 00104 \n\ 00105 float32 x\n\ 00106 float32 y\n\ 00107 float32 z\n\ 00108 "; } 00109 public: 00110 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00111 00112 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00113 00114 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00115 { 00116 ros::serialization::OStream stream(write_ptr, 1000000000); 00117 ros::serialization::serialize(stream, header); 00118 ros::serialization::serialize(stream, center); 00119 ros::serialization::serialize(stream, min_bound); 00120 ros::serialization::serialize(stream, max_bound); 00121 return stream.getData(); 00122 } 00123 00124 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00125 { 00126 ros::serialization::IStream stream(read_ptr, 1000000000); 00127 ros::serialization::deserialize(stream, header); 00128 ros::serialization::deserialize(stream, center); 00129 ros::serialization::deserialize(stream, min_bound); 00130 ros::serialization::deserialize(stream, max_bound); 00131 return stream.getData(); 00132 } 00133 00134 ROS_DEPRECATED virtual uint32_t serializationLength() const 00135 { 00136 uint32_t size = 0; 00137 size += ros::serialization::serializationLength(header); 00138 size += ros::serialization::serializationLength(center); 00139 size += ros::serialization::serializationLength(min_bound); 00140 size += ros::serialization::serializationLength(max_bound); 00141 return size; 00142 } 00143 00144 typedef boost::shared_ptr< ::ias_table_msgs::TableCluster_<ContainerAllocator> > Ptr; 00145 typedef boost::shared_ptr< ::ias_table_msgs::TableCluster_<ContainerAllocator> const> ConstPtr; 00146 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00147 }; // struct TableCluster 00148 typedef ::ias_table_msgs::TableCluster_<std::allocator<void> > TableCluster; 00149 00150 typedef boost::shared_ptr< ::ias_table_msgs::TableCluster> TableClusterPtr; 00151 typedef boost::shared_ptr< ::ias_table_msgs::TableCluster const> TableClusterConstPtr; 00152 00153 00154 template<typename ContainerAllocator> 00155 std::ostream& operator<<(std::ostream& s, const ::ias_table_msgs::TableCluster_<ContainerAllocator> & v) 00156 { 00157 ros::message_operations::Printer< ::ias_table_msgs::TableCluster_<ContainerAllocator> >::stream(s, "", v); 00158 return s;} 00159 00160 } // namespace ias_table_msgs 00161 00162 namespace ros 00163 { 00164 namespace message_traits 00165 { 00166 template<class ContainerAllocator> struct IsMessage< ::ias_table_msgs::TableCluster_<ContainerAllocator> > : public TrueType {}; 00167 template<class ContainerAllocator> struct IsMessage< ::ias_table_msgs::TableCluster_<ContainerAllocator> const> : public TrueType {}; 00168 template<class ContainerAllocator> 00169 struct MD5Sum< ::ias_table_msgs::TableCluster_<ContainerAllocator> > { 00170 static const char* value() 00171 { 00172 return "4ea47c48cb127cf14882b6238c7c7d6a"; 00173 } 00174 00175 static const char* value(const ::ias_table_msgs::TableCluster_<ContainerAllocator> &) { return value(); } 00176 static const uint64_t static_value1 = 0x4ea47c48cb127cf1ULL; 00177 static const uint64_t static_value2 = 0x4882b6238c7c7d6aULL; 00178 }; 00179 00180 template<class ContainerAllocator> 00181 struct DataType< ::ias_table_msgs::TableCluster_<ContainerAllocator> > { 00182 static const char* value() 00183 { 00184 return "ias_table_msgs/TableCluster"; 00185 } 00186 00187 static const char* value(const ::ias_table_msgs::TableCluster_<ContainerAllocator> &) { return value(); } 00188 }; 00189 00190 template<class ContainerAllocator> 00191 struct Definition< ::ias_table_msgs::TableCluster_<ContainerAllocator> > { 00192 static const char* value() 00193 { 00194 return "Header header\n\ 00195 geometry_msgs/Point32 center\n\ 00196 geometry_msgs/Point32 min_bound\n\ 00197 geometry_msgs/Point32 max_bound\n\ 00198 \n\ 00199 ================================================================================\n\ 00200 MSG: std_msgs/Header\n\ 00201 # Standard metadata for higher-level stamped data types.\n\ 00202 # This is generally used to communicate timestamped data \n\ 00203 # in a particular coordinate frame.\n\ 00204 # \n\ 00205 # sequence ID: consecutively increasing ID \n\ 00206 uint32 seq\n\ 00207 #Two-integer timestamp that is expressed as:\n\ 00208 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00209 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00210 # time-handling sugar is provided by the client library\n\ 00211 time stamp\n\ 00212 #Frame this data is associated with\n\ 00213 # 0: no frame\n\ 00214 # 1: global frame\n\ 00215 string frame_id\n\ 00216 \n\ 00217 ================================================================================\n\ 00218 MSG: geometry_msgs/Point32\n\ 00219 # This contains the position of a point in free space(with 32 bits of precision).\n\ 00220 # It is recommeded to use Point wherever possible instead of Point32. \n\ 00221 # \n\ 00222 # This recommendation is to promote interoperability. \n\ 00223 #\n\ 00224 # This message is designed to take up less space when sending\n\ 00225 # lots of points at once, as in the case of a PointCloud. \n\ 00226 \n\ 00227 float32 x\n\ 00228 float32 y\n\ 00229 float32 z\n\ 00230 "; 00231 } 00232 00233 static const char* value(const ::ias_table_msgs::TableCluster_<ContainerAllocator> &) { return value(); } 00234 }; 00235 00236 template<class ContainerAllocator> struct HasHeader< ::ias_table_msgs::TableCluster_<ContainerAllocator> > : public TrueType {}; 00237 template<class ContainerAllocator> struct HasHeader< const ::ias_table_msgs::TableCluster_<ContainerAllocator> > : public TrueType {}; 00238 } // namespace message_traits 00239 } // namespace ros 00240 00241 namespace ros 00242 { 00243 namespace serialization 00244 { 00245 00246 template<class ContainerAllocator> struct Serializer< ::ias_table_msgs::TableCluster_<ContainerAllocator> > 00247 { 00248 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00249 { 00250 stream.next(m.header); 00251 stream.next(m.center); 00252 stream.next(m.min_bound); 00253 stream.next(m.max_bound); 00254 } 00255 00256 ROS_DECLARE_ALLINONE_SERIALIZER; 00257 }; // struct TableCluster_ 00258 } // namespace serialization 00259 } // namespace ros 00260 00261 namespace ros 00262 { 00263 namespace message_operations 00264 { 00265 00266 template<class ContainerAllocator> 00267 struct Printer< ::ias_table_msgs::TableCluster_<ContainerAllocator> > 00268 { 00269 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::ias_table_msgs::TableCluster_<ContainerAllocator> & v) 00270 { 00271 s << indent << "header: "; 00272 s << std::endl; 00273 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header); 00274 s << indent << "center: "; 00275 s << std::endl; 00276 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.center); 00277 s << indent << "min_bound: "; 00278 s << std::endl; 00279 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.min_bound); 00280 s << indent << "max_bound: "; 00281 s << std::endl; 00282 Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + " ", v.max_bound); 00283 } 00284 }; 00285 00286 00287 } // namespace message_operations 00288 } // namespace ros 00289 00290 #endif // IAS_TABLE_MSGS_MESSAGE_TABLECLUSTER_H 00291