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/hrl_haptic_manipulation_in_clutter_msgs/msg/TaxelArray.msg */
00002 #ifndef HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_TAXELARRAY_H
00003 #define HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_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 hrl_haptic_manipulation_in_clutter_msgs
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< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> > Ptr;
00095   typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator>  const> ConstPtr;
00096   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00097 }; // struct TaxelArray
00098 typedef  ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<std::allocator<void> > TaxelArray;
00099 
00100 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray> TaxelArrayPtr;
00101 typedef boost::shared_ptr< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray const> TaxelArrayConstPtr;
00102 
00103 
00104 template<typename ContainerAllocator>
00105 std::ostream& operator<<(std::ostream& s, const  ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> & v)
00106 {
00107   ros::message_operations::Printer< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> >::stream(s, "", v);
00108   return s;}
00109 
00110 } // namespace hrl_haptic_manipulation_in_clutter_msgs
00111 
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator>  const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "ef96c52ae19a737f8f6f59b96f55162d";
00123   }
00124 
00125   static const char* value(const  ::hrl_haptic_manipulation_in_clutter_msgs::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< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "hrl_haptic_manipulation_in_clutter_msgs/TaxelArray";
00135   }
00136 
00137   static const char* value(const  ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator>
00141 struct Definition< ::hrl_haptic_manipulation_in_clutter_msgs::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 \n\
00164 \n\
00165 ================================================================================\n\
00166 MSG: std_msgs/Header\n\
00167 # Standard metadata for higher-level stamped data types.\n\
00168 # This is generally used to communicate timestamped data \n\
00169 # in a particular coordinate frame.\n\
00170 # \n\
00171 # sequence ID: consecutively increasing ID \n\
00172 uint32 seq\n\
00173 #Two-integer timestamp that is expressed as:\n\
00174 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00175 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00176 # time-handling sugar is provided by the client library\n\
00177 time stamp\n\
00178 #Frame this data is associated with\n\
00179 # 0: no frame\n\
00180 # 1: global frame\n\
00181 string frame_id\n\
00182 \n\
00183 ";
00184   }
00185 
00186   static const char* value(const  ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> &) { return value(); } 
00187 };
00188 
00189 template<class ContainerAllocator> struct HasHeader< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> > : public TrueType {};
00190 template<class ContainerAllocator> struct HasHeader< const ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> > : public TrueType {};
00191 } // namespace message_traits
00192 } // namespace ros
00193 
00194 namespace ros
00195 {
00196 namespace serialization
00197 {
00198 
00199 template<class ContainerAllocator> struct Serializer< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> >
00200 {
00201   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00202   {
00203     stream.next(m.header);
00204     stream.next(m.sensor_type);
00205     stream.next(m.link_names);
00206     stream.next(m.centers_x);
00207     stream.next(m.centers_y);
00208     stream.next(m.centers_z);
00209     stream.next(m.normals_x);
00210     stream.next(m.normals_y);
00211     stream.next(m.normals_z);
00212     stream.next(m.values_x);
00213     stream.next(m.values_y);
00214     stream.next(m.values_z);
00215   }
00216 
00217   ROS_DECLARE_ALLINONE_SERIALIZER;
00218 }; // struct TaxelArray_
00219 } // namespace serialization
00220 } // namespace ros
00221 
00222 namespace ros
00223 {
00224 namespace message_operations
00225 {
00226 
00227 template<class ContainerAllocator>
00228 struct Printer< ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> >
00229 {
00230   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hrl_haptic_manipulation_in_clutter_msgs::TaxelArray_<ContainerAllocator> & v) 
00231   {
00232     s << indent << "header: ";
00233 s << std::endl;
00234     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00235     s << indent << "sensor_type: ";
00236     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.sensor_type);
00237     s << indent << "link_names[]" << std::endl;
00238     for (size_t i = 0; i < v.link_names.size(); ++i)
00239     {
00240       s << indent << "  link_names[" << i << "]: ";
00241       Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.link_names[i]);
00242     }
00243     s << indent << "centers_x[]" << std::endl;
00244     for (size_t i = 0; i < v.centers_x.size(); ++i)
00245     {
00246       s << indent << "  centers_x[" << i << "]: ";
00247       Printer<double>::stream(s, indent + "  ", v.centers_x[i]);
00248     }
00249     s << indent << "centers_y[]" << std::endl;
00250     for (size_t i = 0; i < v.centers_y.size(); ++i)
00251     {
00252       s << indent << "  centers_y[" << i << "]: ";
00253       Printer<double>::stream(s, indent + "  ", v.centers_y[i]);
00254     }
00255     s << indent << "centers_z[]" << std::endl;
00256     for (size_t i = 0; i < v.centers_z.size(); ++i)
00257     {
00258       s << indent << "  centers_z[" << i << "]: ";
00259       Printer<double>::stream(s, indent + "  ", v.centers_z[i]);
00260     }
00261     s << indent << "normals_x[]" << std::endl;
00262     for (size_t i = 0; i < v.normals_x.size(); ++i)
00263     {
00264       s << indent << "  normals_x[" << i << "]: ";
00265       Printer<double>::stream(s, indent + "  ", v.normals_x[i]);
00266     }
00267     s << indent << "normals_y[]" << std::endl;
00268     for (size_t i = 0; i < v.normals_y.size(); ++i)
00269     {
00270       s << indent << "  normals_y[" << i << "]: ";
00271       Printer<double>::stream(s, indent + "  ", v.normals_y[i]);
00272     }
00273     s << indent << "normals_z[]" << std::endl;
00274     for (size_t i = 0; i < v.normals_z.size(); ++i)
00275     {
00276       s << indent << "  normals_z[" << i << "]: ";
00277       Printer<double>::stream(s, indent + "  ", v.normals_z[i]);
00278     }
00279     s << indent << "values_x[]" << std::endl;
00280     for (size_t i = 0; i < v.values_x.size(); ++i)
00281     {
00282       s << indent << "  values_x[" << i << "]: ";
00283       Printer<double>::stream(s, indent + "  ", v.values_x[i]);
00284     }
00285     s << indent << "values_y[]" << std::endl;
00286     for (size_t i = 0; i < v.values_y.size(); ++i)
00287     {
00288       s << indent << "  values_y[" << i << "]: ";
00289       Printer<double>::stream(s, indent + "  ", v.values_y[i]);
00290     }
00291     s << indent << "values_z[]" << std::endl;
00292     for (size_t i = 0; i < v.values_z.size(); ++i)
00293     {
00294       s << indent << "  values_z[" << i << "]: ";
00295       Printer<double>::stream(s, indent + "  ", v.values_z[i]);
00296     }
00297   }
00298 };
00299 
00300 
00301 } // namespace message_operations
00302 } // namespace ros
00303 
00304 #endif // HRL_HAPTIC_MANIPULATION_IN_CLUTTER_MSGS_MESSAGE_TAXELARRAY_H
00305 


hrl_haptic_manipulation_in_clutter_msgs
Author(s): Advait Jain, Marc Killpack, Jeff Hawke. Advisor: Prof. Charlie Kemp. Healthcare Robotics Lab, Georgia Tech.
autogenerated on Wed Nov 27 2013 11:33:37