Feature1D.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-jsk-ros-pkg/doc_stacks/2013-03-23_12-16-27.483192/jsk-ros-pkg/jsk_common/posedetection_msgs/msg/Feature1D.msg */
00002 #ifndef POSEDETECTION_MSGS_MESSAGE_FEATURE1D_H
00003 #define POSEDETECTION_MSGS_MESSAGE_FEATURE1D_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 #include "posedetection_msgs/Curve1D.h"
00019 
00020 namespace posedetection_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct Feature1D_ {
00024   typedef Feature1D_<ContainerAllocator> Type;
00025 
00026   Feature1D_()
00027   : header()
00028   , lines()
00029   , descriptors()
00030   , confidences()
00031   , descriptor_dim(0)
00032   {
00033   }
00034 
00035   Feature1D_(const ContainerAllocator& _alloc)
00036   : header(_alloc)
00037   , lines(_alloc)
00038   , descriptors(_alloc)
00039   , confidences(_alloc)
00040   , descriptor_dim(0)
00041   {
00042   }
00043 
00044   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00045    ::std_msgs::Header_<ContainerAllocator>  header;
00046 
00047   typedef std::vector< ::posedetection_msgs::Curve1D_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::posedetection_msgs::Curve1D_<ContainerAllocator> >::other >  _lines_type;
00048   std::vector< ::posedetection_msgs::Curve1D_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::posedetection_msgs::Curve1D_<ContainerAllocator> >::other >  lines;
00049 
00050   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _descriptors_type;
00051   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  descriptors;
00052 
00053   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _confidences_type;
00054   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  confidences;
00055 
00056   typedef int32_t _descriptor_dim_type;
00057   int32_t descriptor_dim;
00058 
00059 
00060   typedef boost::shared_ptr< ::posedetection_msgs::Feature1D_<ContainerAllocator> > Ptr;
00061   typedef boost::shared_ptr< ::posedetection_msgs::Feature1D_<ContainerAllocator>  const> ConstPtr;
00062   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00063 }; // struct Feature1D
00064 typedef  ::posedetection_msgs::Feature1D_<std::allocator<void> > Feature1D;
00065 
00066 typedef boost::shared_ptr< ::posedetection_msgs::Feature1D> Feature1DPtr;
00067 typedef boost::shared_ptr< ::posedetection_msgs::Feature1D const> Feature1DConstPtr;
00068 
00069 
00070 template<typename ContainerAllocator>
00071 std::ostream& operator<<(std::ostream& s, const  ::posedetection_msgs::Feature1D_<ContainerAllocator> & v)
00072 {
00073   ros::message_operations::Printer< ::posedetection_msgs::Feature1D_<ContainerAllocator> >::stream(s, "", v);
00074   return s;}
00075 
00076 } // namespace posedetection_msgs
00077 
00078 namespace ros
00079 {
00080 namespace message_traits
00081 {
00082 template<class ContainerAllocator> struct IsMessage< ::posedetection_msgs::Feature1D_<ContainerAllocator> > : public TrueType {};
00083 template<class ContainerAllocator> struct IsMessage< ::posedetection_msgs::Feature1D_<ContainerAllocator>  const> : public TrueType {};
00084 template<class ContainerAllocator>
00085 struct MD5Sum< ::posedetection_msgs::Feature1D_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "4568f21f2dd0840ca2d658d4d1710f33";
00089   }
00090 
00091   static const char* value(const  ::posedetection_msgs::Feature1D_<ContainerAllocator> &) { return value(); } 
00092   static const uint64_t static_value1 = 0x4568f21f2dd0840cULL;
00093   static const uint64_t static_value2 = 0xa2d658d4d1710f33ULL;
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct DataType< ::posedetection_msgs::Feature1D_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "posedetection_msgs/Feature1D";
00101   }
00102 
00103   static const char* value(const  ::posedetection_msgs::Feature1D_<ContainerAllocator> &) { return value(); } 
00104 };
00105 
00106 template<class ContainerAllocator>
00107 struct Definition< ::posedetection_msgs::Feature1D_<ContainerAllocator> > {
00108   static const char* value() 
00109   {
00110     return "Header header\n\
00111 Curve1D[] lines # N, 0-indexed\n\
00112 float32[] descriptors # N*descriptor_dim\n\
00113 float32[] confidences # optional\n\
00114 int32 descriptor_dim\n\
00115 \n\
00116 ================================================================================\n\
00117 MSG: std_msgs/Header\n\
00118 # Standard metadata for higher-level stamped data types.\n\
00119 # This is generally used to communicate timestamped data \n\
00120 # in a particular coordinate frame.\n\
00121 # \n\
00122 # sequence ID: consecutively increasing ID \n\
00123 uint32 seq\n\
00124 #Two-integer timestamp that is expressed as:\n\
00125 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00126 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00127 # time-handling sugar is provided by the client library\n\
00128 time stamp\n\
00129 #Frame this data is associated with\n\
00130 # 0: no frame\n\
00131 # 1: global frame\n\
00132 string frame_id\n\
00133 \n\
00134 ================================================================================\n\
00135 MSG: posedetection_msgs/Curve1D\n\
00136 float32[] pts # 2xN points in the image\n\
00137 \n\
00138 ";
00139   }
00140 
00141   static const char* value(const  ::posedetection_msgs::Feature1D_<ContainerAllocator> &) { return value(); } 
00142 };
00143 
00144 template<class ContainerAllocator> struct HasHeader< ::posedetection_msgs::Feature1D_<ContainerAllocator> > : public TrueType {};
00145 template<class ContainerAllocator> struct HasHeader< const ::posedetection_msgs::Feature1D_<ContainerAllocator> > : public TrueType {};
00146 } // namespace message_traits
00147 } // namespace ros
00148 
00149 namespace ros
00150 {
00151 namespace serialization
00152 {
00153 
00154 template<class ContainerAllocator> struct Serializer< ::posedetection_msgs::Feature1D_<ContainerAllocator> >
00155 {
00156   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00157   {
00158     stream.next(m.header);
00159     stream.next(m.lines);
00160     stream.next(m.descriptors);
00161     stream.next(m.confidences);
00162     stream.next(m.descriptor_dim);
00163   }
00164 
00165   ROS_DECLARE_ALLINONE_SERIALIZER;
00166 }; // struct Feature1D_
00167 } // namespace serialization
00168 } // namespace ros
00169 
00170 namespace ros
00171 {
00172 namespace message_operations
00173 {
00174 
00175 template<class ContainerAllocator>
00176 struct Printer< ::posedetection_msgs::Feature1D_<ContainerAllocator> >
00177 {
00178   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::posedetection_msgs::Feature1D_<ContainerAllocator> & v) 
00179   {
00180     s << indent << "header: ";
00181 s << std::endl;
00182     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00183     s << indent << "lines[]" << std::endl;
00184     for (size_t i = 0; i < v.lines.size(); ++i)
00185     {
00186       s << indent << "  lines[" << i << "]: ";
00187       s << std::endl;
00188       s << indent;
00189       Printer< ::posedetection_msgs::Curve1D_<ContainerAllocator> >::stream(s, indent + "    ", v.lines[i]);
00190     }
00191     s << indent << "descriptors[]" << std::endl;
00192     for (size_t i = 0; i < v.descriptors.size(); ++i)
00193     {
00194       s << indent << "  descriptors[" << i << "]: ";
00195       Printer<float>::stream(s, indent + "  ", v.descriptors[i]);
00196     }
00197     s << indent << "confidences[]" << std::endl;
00198     for (size_t i = 0; i < v.confidences.size(); ++i)
00199     {
00200       s << indent << "  confidences[" << i << "]: ";
00201       Printer<float>::stream(s, indent + "  ", v.confidences[i]);
00202     }
00203     s << indent << "descriptor_dim: ";
00204     Printer<int32_t>::stream(s, indent + "  ", v.descriptor_dim);
00205   }
00206 };
00207 
00208 
00209 } // namespace message_operations
00210 } // namespace ros
00211 
00212 #endif // POSEDETECTION_MSGS_MESSAGE_FEATURE1D_H
00213 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Friends


posedetection_msgs
Author(s): Rosen Diankov
autogenerated on Sat Mar 23 2013 12:47:59