ndesc.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-all-iri-ros.pub/doc_stacks/2013-12-06_19-37-16.229269/iri_perception_filters/normal_descriptor_node/msg/ndesc.msg */
00002 #ifndef NORMAL_DESCRIPTOR_NODE_MESSAGE_NDESC_H
00003 #define NORMAL_DESCRIPTOR_NODE_MESSAGE_NDESC_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 "geometry_msgs/Vector3.h"
00018 
00019 namespace normal_descriptor_node
00020 {
00021 template <class ContainerAllocator>
00022 struct ndesc_ {
00023   typedef ndesc_<ContainerAllocator> Type;
00024 
00025   ndesc_()
00026   : descriptor()
00027   , point3d()
00028   , u(0)
00029   , v(0)
00030   , ori(0.0)
00031   {
00032   }
00033 
00034   ndesc_(const ContainerAllocator& _alloc)
00035   : descriptor(_alloc)
00036   , point3d(_alloc)
00037   , u(0)
00038   , v(0)
00039   , ori(0.0)
00040   {
00041   }
00042 
00043   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _descriptor_type;
00044   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  descriptor;
00045 
00046   typedef  ::geometry_msgs::Vector3_<ContainerAllocator>  _point3d_type;
00047    ::geometry_msgs::Vector3_<ContainerAllocator>  point3d;
00048 
00049   typedef int32_t _u_type;
00050   int32_t u;
00051 
00052   typedef int32_t _v_type;
00053   int32_t v;
00054 
00055   typedef float _ori_type;
00056   float ori;
00057 
00058 
00059   typedef boost::shared_ptr< ::normal_descriptor_node::ndesc_<ContainerAllocator> > Ptr;
00060   typedef boost::shared_ptr< ::normal_descriptor_node::ndesc_<ContainerAllocator>  const> ConstPtr;
00061   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00062 }; // struct ndesc
00063 typedef  ::normal_descriptor_node::ndesc_<std::allocator<void> > ndesc;
00064 
00065 typedef boost::shared_ptr< ::normal_descriptor_node::ndesc> ndescPtr;
00066 typedef boost::shared_ptr< ::normal_descriptor_node::ndesc const> ndescConstPtr;
00067 
00068 
00069 template<typename ContainerAllocator>
00070 std::ostream& operator<<(std::ostream& s, const  ::normal_descriptor_node::ndesc_<ContainerAllocator> & v)
00071 {
00072   ros::message_operations::Printer< ::normal_descriptor_node::ndesc_<ContainerAllocator> >::stream(s, "", v);
00073   return s;}
00074 
00075 } // namespace normal_descriptor_node
00076 
00077 namespace ros
00078 {
00079 namespace message_traits
00080 {
00081 template<class ContainerAllocator> struct IsMessage< ::normal_descriptor_node::ndesc_<ContainerAllocator> > : public TrueType {};
00082 template<class ContainerAllocator> struct IsMessage< ::normal_descriptor_node::ndesc_<ContainerAllocator>  const> : public TrueType {};
00083 template<class ContainerAllocator>
00084 struct MD5Sum< ::normal_descriptor_node::ndesc_<ContainerAllocator> > {
00085   static const char* value() 
00086   {
00087     return "6efcdd88f5aa9024bcc7df7fd26a0f88";
00088   }
00089 
00090   static const char* value(const  ::normal_descriptor_node::ndesc_<ContainerAllocator> &) { return value(); } 
00091   static const uint64_t static_value1 = 0x6efcdd88f5aa9024ULL;
00092   static const uint64_t static_value2 = 0xbcc7df7fd26a0f88ULL;
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct DataType< ::normal_descriptor_node::ndesc_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "normal_descriptor_node/ndesc";
00100   }
00101 
00102   static const char* value(const  ::normal_descriptor_node::ndesc_<ContainerAllocator> &) { return value(); } 
00103 };
00104 
00105 template<class ContainerAllocator>
00106 struct Definition< ::normal_descriptor_node::ndesc_<ContainerAllocator> > {
00107   static const char* value() 
00108   {
00109     return "float32[] descriptor\n\
00110 geometry_msgs/Vector3 point3d\n\
00111 int32 u\n\
00112 int32 v\n\
00113 float32 ori\n\
00114 ================================================================================\n\
00115 MSG: geometry_msgs/Vector3\n\
00116 # This represents a vector in free space. \n\
00117 \n\
00118 float64 x\n\
00119 float64 y\n\
00120 float64 z\n\
00121 ";
00122   }
00123 
00124   static const char* value(const  ::normal_descriptor_node::ndesc_<ContainerAllocator> &) { return value(); } 
00125 };
00126 
00127 } // namespace message_traits
00128 } // namespace ros
00129 
00130 namespace ros
00131 {
00132 namespace serialization
00133 {
00134 
00135 template<class ContainerAllocator> struct Serializer< ::normal_descriptor_node::ndesc_<ContainerAllocator> >
00136 {
00137   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00138   {
00139     stream.next(m.descriptor);
00140     stream.next(m.point3d);
00141     stream.next(m.u);
00142     stream.next(m.v);
00143     stream.next(m.ori);
00144   }
00145 
00146   ROS_DECLARE_ALLINONE_SERIALIZER;
00147 }; // struct ndesc_
00148 } // namespace serialization
00149 } // namespace ros
00150 
00151 namespace ros
00152 {
00153 namespace message_operations
00154 {
00155 
00156 template<class ContainerAllocator>
00157 struct Printer< ::normal_descriptor_node::ndesc_<ContainerAllocator> >
00158 {
00159   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::normal_descriptor_node::ndesc_<ContainerAllocator> & v) 
00160   {
00161     s << indent << "descriptor[]" << std::endl;
00162     for (size_t i = 0; i < v.descriptor.size(); ++i)
00163     {
00164       s << indent << "  descriptor[" << i << "]: ";
00165       Printer<float>::stream(s, indent + "  ", v.descriptor[i]);
00166     }
00167     s << indent << "point3d: ";
00168 s << std::endl;
00169     Printer< ::geometry_msgs::Vector3_<ContainerAllocator> >::stream(s, indent + "  ", v.point3d);
00170     s << indent << "u: ";
00171     Printer<int32_t>::stream(s, indent + "  ", v.u);
00172     s << indent << "v: ";
00173     Printer<int32_t>::stream(s, indent + "  ", v.v);
00174     s << indent << "ori: ";
00175     Printer<float>::stream(s, indent + "  ", v.ori);
00176   }
00177 };
00178 
00179 
00180 } // namespace message_operations
00181 } // namespace ros
00182 
00183 #endif // NORMAL_DESCRIPTOR_NODE_MESSAGE_NDESC_H
00184 


normal_descriptor_node
Author(s): Arnau Ramisa
autogenerated on Fri Dec 6 2013 20:19:55