TaxelArray.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-gt-ros-pkg/doc_stacks/2013-11-27_11-23-35.692702/hrl-haptic-manip/m3skin_ros/msg/TaxelArray.msg */
00002 #ifndef M3SKIN_ROS_MESSAGE_TAXELARRAY_H
00003 #define M3SKIN_ROS_MESSAGE_TAXELARRAY_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 m3skin_ros
00020 {
00021 template <class ContainerAllocator>
00022 struct TaxelArray_ {
00023   typedef TaxelArray_<ContainerAllocator> Type;
00024 
00025   TaxelArray_()
00026   : header()
00027   , sensor_type()
00028   , link_names()
00029   , centers_x()
00030   , centers_y()
00031   , centers_z()
00032   , normals_x()
00033   , normals_y()
00034   , normals_z()
00035   , values_x()
00036   , values_y()
00037   , values_z()
00038   {
00039   }
00040 
00041   TaxelArray_(const ContainerAllocator& _alloc)
00042   : header(_alloc)
00043   , sensor_type(_alloc)
00044   , link_names(_alloc)
00045   , centers_x(_alloc)
00046   , centers_y(_alloc)
00047   , centers_z(_alloc)
00048   , normals_x(_alloc)
00049   , normals_y(_alloc)
00050   , normals_z(_alloc)
00051   , values_x(_alloc)
00052   , values_y(_alloc)
00053   , values_z(_alloc)
00054   {
00055   }
00056 
00057   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00058    ::std_msgs::Header_<ContainerAllocator>  header;
00059 
00060   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _sensor_type_type;
00061   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  sensor_type;
00062 
00063   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 >  _link_names_type;
00064   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 >  link_names;
00065 
00066   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _centers_x_type;
00067   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  centers_x;
00068 
00069   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _centers_y_type;
00070   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  centers_y;
00071 
00072   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _centers_z_type;
00073   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  centers_z;
00074 
00075   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _normals_x_type;
00076   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  normals_x;
00077 
00078   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _normals_y_type;
00079   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  normals_y;
00080 
00081   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _normals_z_type;
00082   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  normals_z;
00083 
00084   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _values_x_type;
00085   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  values_x;
00086 
00087   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _values_y_type;
00088   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  values_y;
00089 
00090   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _values_z_type;
00091   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  values_z;
00092 
00093 
00094   typedef boost::shared_ptr< ::m3skin_ros::TaxelArray_<ContainerAllocator> > Ptr;
00095   typedef boost::shared_ptr< ::m3skin_ros::TaxelArray_<ContainerAllocator>  const> ConstPtr;
00096   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00097 }; // struct TaxelArray
00098 typedef  ::m3skin_ros::TaxelArray_<std::allocator<void> > TaxelArray;
00099 
00100 typedef boost::shared_ptr< ::m3skin_ros::TaxelArray> TaxelArrayPtr;
00101 typedef boost::shared_ptr< ::m3skin_ros::TaxelArray const> TaxelArrayConstPtr;
00102 
00103 
00104 template<typename ContainerAllocator>
00105 std::ostream& operator<<(std::ostream& s, const  ::m3skin_ros::TaxelArray_<ContainerAllocator> & v)
00106 {
00107   ros::message_operations::Printer< ::m3skin_ros::TaxelArray_<ContainerAllocator> >::stream(s, "", v);
00108   return s;}
00109 
00110 } // namespace m3skin_ros
00111 
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::m3skin_ros::TaxelArray_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::m3skin_ros::TaxelArray_<ContainerAllocator>  const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::m3skin_ros::TaxelArray_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "ef96c52ae19a737f8f6f59b96f55162d";
00123   }
00124 
00125   static const char* value(const  ::m3skin_ros::TaxelArray_<ContainerAllocator> &) { return value(); } 
00126   static const uint64_t static_value1 = 0xef96c52ae19a737fULL;
00127   static const uint64_t static_value2 = 0x8f6f59b96f55162dULL;
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct DataType< ::m3skin_ros::TaxelArray_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "m3skin_ros/TaxelArray";
00135   }
00136 
00137   static const char* value(const  ::m3skin_ros::TaxelArray_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator>
00141 struct Definition< ::m3skin_ros::TaxelArray_<ContainerAllocator> > {
00142   static const char* value() 
00143   {
00144     return "Header header\n\
00145 \n\
00146 string sensor_type\n\
00147 \n\
00148 string[] link_names\n\
00149                         \n\
00150 float64[] centers_x\n\
00151 float64[] centers_y\n\
00152 float64[] centers_z\n\
00153            \n\
00154 float64[] normals_x\n\
00155 float64[] normals_y\n\
00156 float64[] normals_z\n\
00157            \n\
00158 float64[] values_x\n\
00159 float64[] values_y\n\
00160 float64[] values_z\n\
00161 \n\
00162 ================================================================================\n\
00163 MSG: std_msgs/Header\n\
00164 # Standard metadata for higher-level stamped data types.\n\
00165 # This is generally used to communicate timestamped data \n\
00166 # in a particular coordinate frame.\n\
00167 # \n\
00168 # sequence ID: consecutively increasing ID \n\
00169 uint32 seq\n\
00170 #Two-integer timestamp that is expressed as:\n\
00171 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00172 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00173 # time-handling sugar is provided by the client library\n\
00174 time stamp\n\
00175 #Frame this data is associated with\n\
00176 # 0: no frame\n\
00177 # 1: global frame\n\
00178 string frame_id\n\
00179 \n\
00180 ";
00181   }
00182 
00183   static const char* value(const  ::m3skin_ros::TaxelArray_<ContainerAllocator> &) { return value(); } 
00184 };
00185 
00186 template<class ContainerAllocator> struct HasHeader< ::m3skin_ros::TaxelArray_<ContainerAllocator> > : public TrueType {};
00187 template<class ContainerAllocator> struct HasHeader< const ::m3skin_ros::TaxelArray_<ContainerAllocator> > : public TrueType {};
00188 } // namespace message_traits
00189 } // namespace ros
00190 
00191 namespace ros
00192 {
00193 namespace serialization
00194 {
00195 
00196 template<class ContainerAllocator> struct Serializer< ::m3skin_ros::TaxelArray_<ContainerAllocator> >
00197 {
00198   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00199   {
00200     stream.next(m.header);
00201     stream.next(m.sensor_type);
00202     stream.next(m.link_names);
00203     stream.next(m.centers_x);
00204     stream.next(m.centers_y);
00205     stream.next(m.centers_z);
00206     stream.next(m.normals_x);
00207     stream.next(m.normals_y);
00208     stream.next(m.normals_z);
00209     stream.next(m.values_x);
00210     stream.next(m.values_y);
00211     stream.next(m.values_z);
00212   }
00213 
00214   ROS_DECLARE_ALLINONE_SERIALIZER;
00215 }; // struct TaxelArray_
00216 } // namespace serialization
00217 } // namespace ros
00218 
00219 namespace ros
00220 {
00221 namespace message_operations
00222 {
00223 
00224 template<class ContainerAllocator>
00225 struct Printer< ::m3skin_ros::TaxelArray_<ContainerAllocator> >
00226 {
00227   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::m3skin_ros::TaxelArray_<ContainerAllocator> & v) 
00228   {
00229     s << indent << "header: ";
00230 s << std::endl;
00231     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00232     s << indent << "sensor_type: ";
00233     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.sensor_type);
00234     s << indent << "link_names[]" << std::endl;
00235     for (size_t i = 0; i < v.link_names.size(); ++i)
00236     {
00237       s << indent << "  link_names[" << i << "]: ";
00238       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.link_names[i]);
00239     }
00240     s << indent << "centers_x[]" << std::endl;
00241     for (size_t i = 0; i < v.centers_x.size(); ++i)
00242     {
00243       s << indent << "  centers_x[" << i << "]: ";
00244       Printer<double>::stream(s, indent + "  ", v.centers_x[i]);
00245     }
00246     s << indent << "centers_y[]" << std::endl;
00247     for (size_t i = 0; i < v.centers_y.size(); ++i)
00248     {
00249       s << indent << "  centers_y[" << i << "]: ";
00250       Printer<double>::stream(s, indent + "  ", v.centers_y[i]);
00251     }
00252     s << indent << "centers_z[]" << std::endl;
00253     for (size_t i = 0; i < v.centers_z.size(); ++i)
00254     {
00255       s << indent << "  centers_z[" << i << "]: ";
00256       Printer<double>::stream(s, indent + "  ", v.centers_z[i]);
00257     }
00258     s << indent << "normals_x[]" << std::endl;
00259     for (size_t i = 0; i < v.normals_x.size(); ++i)
00260     {
00261       s << indent << "  normals_x[" << i << "]: ";
00262       Printer<double>::stream(s, indent + "  ", v.normals_x[i]);
00263     }
00264     s << indent << "normals_y[]" << std::endl;
00265     for (size_t i = 0; i < v.normals_y.size(); ++i)
00266     {
00267       s << indent << "  normals_y[" << i << "]: ";
00268       Printer<double>::stream(s, indent + "  ", v.normals_y[i]);
00269     }
00270     s << indent << "normals_z[]" << std::endl;
00271     for (size_t i = 0; i < v.normals_z.size(); ++i)
00272     {
00273       s << indent << "  normals_z[" << i << "]: ";
00274       Printer<double>::stream(s, indent + "  ", v.normals_z[i]);
00275     }
00276     s << indent << "values_x[]" << std::endl;
00277     for (size_t i = 0; i < v.values_x.size(); ++i)
00278     {
00279       s << indent << "  values_x[" << i << "]: ";
00280       Printer<double>::stream(s, indent + "  ", v.values_x[i]);
00281     }
00282     s << indent << "values_y[]" << std::endl;
00283     for (size_t i = 0; i < v.values_y.size(); ++i)
00284     {
00285       s << indent << "  values_y[" << i << "]: ";
00286       Printer<double>::stream(s, indent + "  ", v.values_y[i]);
00287     }
00288     s << indent << "values_z[]" << std::endl;
00289     for (size_t i = 0; i < v.values_z.size(); ++i)
00290     {
00291       s << indent << "  values_z[" << i << "]: ";
00292       Printer<double>::stream(s, indent + "  ", v.values_z[i]);
00293     }
00294   }
00295 };
00296 
00297 
00298 } // namespace message_operations
00299 } // namespace ros
00300 
00301 #endif // M3SKIN_ROS_MESSAGE_TAXELARRAY_H
00302 


m3skin_ros
Author(s): Meka Robotics
autogenerated on Wed Nov 27 2013 11:34:27