RawTaxelArray.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/RawTaxelArray.msg */
00002 #ifndef M3SKIN_ROS_MESSAGE_RAWTAXELARRAY_H
00003 #define M3SKIN_ROS_MESSAGE_RAWTAXELARRAY_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 m3skin_ros
00019 {
00020 template <class ContainerAllocator>
00021 struct RawTaxelArray_ {
00022   typedef RawTaxelArray_<ContainerAllocator> Type;
00023 
00024   RawTaxelArray_()
00025   : val_x()
00026   , val_y()
00027   , val_z()
00028   {
00029   }
00030 
00031   RawTaxelArray_(const ContainerAllocator& _alloc)
00032   : val_x(_alloc)
00033   , val_y(_alloc)
00034   , val_z(_alloc)
00035   {
00036   }
00037 
00038   typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  _val_x_type;
00039   std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  val_x;
00040 
00041   typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  _val_y_type;
00042   std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  val_y;
00043 
00044   typedef std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  _val_z_type;
00045   std::vector<int32_t, typename ContainerAllocator::template rebind<int32_t>::other >  val_z;
00046 
00047 
00048   typedef boost::shared_ptr< ::m3skin_ros::RawTaxelArray_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::m3skin_ros::RawTaxelArray_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct RawTaxelArray
00052 typedef  ::m3skin_ros::RawTaxelArray_<std::allocator<void> > RawTaxelArray;
00053 
00054 typedef boost::shared_ptr< ::m3skin_ros::RawTaxelArray> RawTaxelArrayPtr;
00055 typedef boost::shared_ptr< ::m3skin_ros::RawTaxelArray const> RawTaxelArrayConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::m3skin_ros::RawTaxelArray_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::m3skin_ros::RawTaxelArray_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace m3skin_ros
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::m3skin_ros::RawTaxelArray_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::m3skin_ros::RawTaxelArray_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::m3skin_ros::RawTaxelArray_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "1078c899afa1bb5160db1c238588246d";
00077   }
00078 
00079   static const char* value(const  ::m3skin_ros::RawTaxelArray_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0x1078c899afa1bb51ULL;
00081   static const uint64_t static_value2 = 0x60db1c238588246dULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::m3skin_ros::RawTaxelArray_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "m3skin_ros/RawTaxelArray";
00089   }
00090 
00091   static const char* value(const  ::m3skin_ros::RawTaxelArray_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::m3skin_ros::RawTaxelArray_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "int32[] val_x\n\
00099 int32[] val_y\n\
00100 int32[] val_z\n\
00101 ";
00102   }
00103 
00104   static const char* value(const  ::m3skin_ros::RawTaxelArray_<ContainerAllocator> &) { return value(); } 
00105 };
00106 
00107 } // namespace message_traits
00108 } // namespace ros
00109 
00110 namespace ros
00111 {
00112 namespace serialization
00113 {
00114 
00115 template<class ContainerAllocator> struct Serializer< ::m3skin_ros::RawTaxelArray_<ContainerAllocator> >
00116 {
00117   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00118   {
00119     stream.next(m.val_x);
00120     stream.next(m.val_y);
00121     stream.next(m.val_z);
00122   }
00123 
00124   ROS_DECLARE_ALLINONE_SERIALIZER;
00125 }; // struct RawTaxelArray_
00126 } // namespace serialization
00127 } // namespace ros
00128 
00129 namespace ros
00130 {
00131 namespace message_operations
00132 {
00133 
00134 template<class ContainerAllocator>
00135 struct Printer< ::m3skin_ros::RawTaxelArray_<ContainerAllocator> >
00136 {
00137   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::m3skin_ros::RawTaxelArray_<ContainerAllocator> & v) 
00138   {
00139     s << indent << "val_x[]" << std::endl;
00140     for (size_t i = 0; i < v.val_x.size(); ++i)
00141     {
00142       s << indent << "  val_x[" << i << "]: ";
00143       Printer<int32_t>::stream(s, indent + "  ", v.val_x[i]);
00144     }
00145     s << indent << "val_y[]" << std::endl;
00146     for (size_t i = 0; i < v.val_y.size(); ++i)
00147     {
00148       s << indent << "  val_y[" << i << "]: ";
00149       Printer<int32_t>::stream(s, indent + "  ", v.val_y[i]);
00150     }
00151     s << indent << "val_z[]" << std::endl;
00152     for (size_t i = 0; i < v.val_z.size(); ++i)
00153     {
00154       s << indent << "  val_z[" << i << "]: ";
00155       Printer<int32_t>::stream(s, indent + "  ", v.val_z[i]);
00156     }
00157   }
00158 };
00159 
00160 
00161 } // namespace message_operations
00162 } // namespace ros
00163 
00164 #endif // M3SKIN_ROS_MESSAGE_RAWTAXELARRAY_H
00165 


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