00001
00002 #ifndef HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_CYLINDEROBJECTARRAY_H
00003 #define HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_CYLINDEROBJECTARRAY_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
00019 namespace hrl_haptic_manipulation_in_clutter_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct CylinderObjectArray_ {
00023 typedef CylinderObjectArray_<ContainerAllocator> Type;
00024
00025 CylinderObjectArray_()
00026 : header()
00027 , frame_names()
00028 , centers_x()
00029 , centers_y()
00030 , centers_z()
00031 , radius()
00032 , length()
00033 , static_flag()
00034 {
00035 }
00036
00037 CylinderObjectArray_(const ContainerAllocator& _alloc)
00038 : header(_alloc)
00039 , frame_names(_alloc)
00040 , centers_x(_alloc)
00041 , centers_y(_alloc)
00042 , centers_z(_alloc)
00043 , radius(_alloc)
00044 , length(_alloc)
00045 , static_flag(_alloc)
00046 {
00047 }
00048
00049 typedef ::std_msgs::Header_<ContainerAllocator> _header_type;
00050 ::std_msgs::Header_<ContainerAllocator> header;
00051
00052 typedef std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > _frame_names_type;
00053 std::vector<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > , typename ContainerAllocator::template rebind<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::other > frame_names;
00054
00055 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _centers_x_type;
00056 std::vector<double, typename ContainerAllocator::template rebind<double>::other > centers_x;
00057
00058 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _centers_y_type;
00059 std::vector<double, typename ContainerAllocator::template rebind<double>::other > centers_y;
00060
00061 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _centers_z_type;
00062 std::vector<double, typename ContainerAllocator::template rebind<double>::other > centers_z;
00063
00064 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _radius_type;
00065 std::vector<double, typename ContainerAllocator::template rebind<double>::other > radius;
00066
00067 typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other > _length_type;
00068 std::vector<double, typename ContainerAllocator::template rebind<double>::other > length;
00069
00070 typedef std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > _static_flag_type;
00071 std::vector<uint8_t, typename ContainerAllocator::template rebind<uint8_t>::other > static_flag;
00072
00073
00074 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> > Ptr;
00075 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> const> ConstPtr;
00076 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00077 };
00078 typedef ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<std::allocator<void> > CylinderObjectArray;
00079
00080 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray> CylinderObjectArrayPtr;
00081 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray const> CylinderObjectArrayConstPtr;
00082
00083
00084 template<typename ContainerAllocator>
00085 std::ostream& operator<<(std::ostream& s, const ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> & v)
00086 {
00087 ros::message_operations::Printer< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> >::stream(s, "", v);
00088 return s;}
00089
00090 }
00091
00092 namespace ros
00093 {
00094 namespace message_traits
00095 {
00096 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> > : public TrueType {};
00097 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> const> : public TrueType {};
00098 template<class ContainerAllocator>
00099 struct MD5Sum< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> > {
00100 static const char* value()
00101 {
00102 return "6bc6399ddcb4f0dff17ced0c16f64fb3";
00103 }
00104
00105 static const char* value(const ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> &) { return value(); }
00106 static const uint64_t static_value1 = 0x6bc6399ddcb4f0dfULL;
00107 static const uint64_t static_value2 = 0xf17ced0c16f64fb3ULL;
00108 };
00109
00110 template<class ContainerAllocator>
00111 struct DataType< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "hrl_haptic_manipulation_in_clutter_msgs/CylinderObjectArray";
00115 }
00116
00117 static const char* value(const ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> &) { return value(); }
00118 };
00119
00120 template<class ContainerAllocator>
00121 struct Definition< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> > {
00122 static const char* value()
00123 {
00124 return "# It is only for gazebo 1.3 clutter world. - Daehyung\n\
00125 Header header\n\
00126 \n\
00127 string[] frame_names\n\
00128 float64[] centers_x\n\
00129 float64[] centers_y\n\
00130 float64[] centers_z\n\
00131 float64[] radius\n\
00132 float64[] length\n\
00133 bool[] static_flag\n\
00134 \n\
00135 \n\
00136 ================================================================================\n\
00137 MSG: std_msgs/Header\n\
00138 # Standard metadata for higher-level stamped data types.\n\
00139 # This is generally used to communicate timestamped data \n\
00140 # in a particular coordinate frame.\n\
00141 # \n\
00142 # sequence ID: consecutively increasing ID \n\
00143 uint32 seq\n\
00144 #Two-integer timestamp that is expressed as:\n\
00145 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00146 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00147 # time-handling sugar is provided by the client library\n\
00148 time stamp\n\
00149 #Frame this data is associated with\n\
00150 # 0: no frame\n\
00151 # 1: global frame\n\
00152 string frame_id\n\
00153 \n\
00154 ";
00155 }
00156
00157 static const char* value(const ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> &) { return value(); }
00158 };
00159
00160 template<class ContainerAllocator> struct HasHeader< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> > : public TrueType {};
00161 template<class ContainerAllocator> struct HasHeader< const ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> > : public TrueType {};
00162 }
00163 }
00164
00165 namespace ros
00166 {
00167 namespace serialization
00168 {
00169
00170 template<class ContainerAllocator> struct Serializer< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> >
00171 {
00172 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00173 {
00174 stream.next(m.header);
00175 stream.next(m.frame_names);
00176 stream.next(m.centers_x);
00177 stream.next(m.centers_y);
00178 stream.next(m.centers_z);
00179 stream.next(m.radius);
00180 stream.next(m.length);
00181 stream.next(m.static_flag);
00182 }
00183
00184 ROS_DECLARE_ALLINONE_SERIALIZER;
00185 };
00186 }
00187 }
00188
00189 namespace ros
00190 {
00191 namespace message_operations
00192 {
00193
00194 template<class ContainerAllocator>
00195 struct Printer< ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> >
00196 {
00197 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::hrl_haptic_manipulation_in_clutter_msgs::CylinderObjectArray_<ContainerAllocator> & v)
00198 {
00199 s << indent << "header: ";
00200 s << std::endl;
00201 Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + " ", v.header);
00202 s << indent << "frame_names[]" << std::endl;
00203 for (size_t i = 0; i < v.frame_names.size(); ++i)
00204 {
00205 s << indent << " frame_names[" << i << "]: ";
00206 Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + " ", v.frame_names[i]);
00207 }
00208 s << indent << "centers_x[]" << std::endl;
00209 for (size_t i = 0; i < v.centers_x.size(); ++i)
00210 {
00211 s << indent << " centers_x[" << i << "]: ";
00212 Printer<double>::stream(s, indent + " ", v.centers_x[i]);
00213 }
00214 s << indent << "centers_y[]" << std::endl;
00215 for (size_t i = 0; i < v.centers_y.size(); ++i)
00216 {
00217 s << indent << " centers_y[" << i << "]: ";
00218 Printer<double>::stream(s, indent + " ", v.centers_y[i]);
00219 }
00220 s << indent << "centers_z[]" << std::endl;
00221 for (size_t i = 0; i < v.centers_z.size(); ++i)
00222 {
00223 s << indent << " centers_z[" << i << "]: ";
00224 Printer<double>::stream(s, indent + " ", v.centers_z[i]);
00225 }
00226 s << indent << "radius[]" << std::endl;
00227 for (size_t i = 0; i < v.radius.size(); ++i)
00228 {
00229 s << indent << " radius[" << i << "]: ";
00230 Printer<double>::stream(s, indent + " ", v.radius[i]);
00231 }
00232 s << indent << "length[]" << std::endl;
00233 for (size_t i = 0; i < v.length.size(); ++i)
00234 {
00235 s << indent << " length[" << i << "]: ";
00236 Printer<double>::stream(s, indent + " ", v.length[i]);
00237 }
00238 s << indent << "static_flag[]" << std::endl;
00239 for (size_t i = 0; i < v.static_flag.size(); ++i)
00240 {
00241 s << indent << " static_flag[" << i << "]: ";
00242 Printer<uint8_t>::stream(s, indent + " ", v.static_flag[i]);
00243 }
00244 }
00245 };
00246
00247
00248 }
00249 }
00250
00251 #endif // HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_CYLINDEROBJECTARRAY_H
00252