Feature0D.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/Feature0D.msg */
00002 #ifndef POSEDETECTION_MSGS_MESSAGE_FEATURE0D_H
00003 #define POSEDETECTION_MSGS_MESSAGE_FEATURE0D_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 posedetection_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct Feature0D_ {
00023   typedef Feature0D_<ContainerAllocator> Type;
00024 
00025   Feature0D_()
00026   : header()
00027   , positions()
00028   , scales()
00029   , orientations()
00030   , confidences()
00031   , descriptors()
00032   , descriptor_dim(0)
00033   , type()
00034   {
00035   }
00036 
00037   Feature0D_(const ContainerAllocator& _alloc)
00038   : header(_alloc)
00039   , positions(_alloc)
00040   , scales(_alloc)
00041   , orientations(_alloc)
00042   , confidences(_alloc)
00043   , descriptors(_alloc)
00044   , descriptor_dim(0)
00045   , type(_alloc)
00046   {
00047   }
00048 
00049   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00050    ::std_msgs::Header_<ContainerAllocator>  header;
00051 
00052   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _positions_type;
00053   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  positions;
00054 
00055   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _scales_type;
00056   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  scales;
00057 
00058   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _orientations_type;
00059   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  orientations;
00060 
00061   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _confidences_type;
00062   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  confidences;
00063 
00064   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _descriptors_type;
00065   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  descriptors;
00066 
00067   typedef int32_t _descriptor_dim_type;
00068   int32_t descriptor_dim;
00069 
00070   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _type_type;
00071   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  type;
00072 
00073 
00074   typedef boost::shared_ptr< ::posedetection_msgs::Feature0D_<ContainerAllocator> > Ptr;
00075   typedef boost::shared_ptr< ::posedetection_msgs::Feature0D_<ContainerAllocator>  const> ConstPtr;
00076   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00077 }; // struct Feature0D
00078 typedef  ::posedetection_msgs::Feature0D_<std::allocator<void> > Feature0D;
00079 
00080 typedef boost::shared_ptr< ::posedetection_msgs::Feature0D> Feature0DPtr;
00081 typedef boost::shared_ptr< ::posedetection_msgs::Feature0D const> Feature0DConstPtr;
00082 
00083 
00084 template<typename ContainerAllocator>
00085 std::ostream& operator<<(std::ostream& s, const  ::posedetection_msgs::Feature0D_<ContainerAllocator> & v)
00086 {
00087   ros::message_operations::Printer< ::posedetection_msgs::Feature0D_<ContainerAllocator> >::stream(s, "", v);
00088   return s;}
00089 
00090 } // namespace posedetection_msgs
00091 
00092 namespace ros
00093 {
00094 namespace message_traits
00095 {
00096 template<class ContainerAllocator> struct IsMessage< ::posedetection_msgs::Feature0D_<ContainerAllocator> > : public TrueType {};
00097 template<class ContainerAllocator> struct IsMessage< ::posedetection_msgs::Feature0D_<ContainerAllocator>  const> : public TrueType {};
00098 template<class ContainerAllocator>
00099 struct MD5Sum< ::posedetection_msgs::Feature0D_<ContainerAllocator> > {
00100   static const char* value() 
00101   {
00102     return "fcb3ba42a42cf972f3838cdb171f5e04";
00103   }
00104 
00105   static const char* value(const  ::posedetection_msgs::Feature0D_<ContainerAllocator> &) { return value(); } 
00106   static const uint64_t static_value1 = 0xfcb3ba42a42cf972ULL;
00107   static const uint64_t static_value2 = 0xf3838cdb171f5e04ULL;
00108 };
00109 
00110 template<class ContainerAllocator>
00111 struct DataType< ::posedetection_msgs::Feature0D_<ContainerAllocator> > {
00112   static const char* value() 
00113   {
00114     return "posedetection_msgs/Feature0D";
00115   }
00116 
00117   static const char* value(const  ::posedetection_msgs::Feature0D_<ContainerAllocator> &) { return value(); } 
00118 };
00119 
00120 template<class ContainerAllocator>
00121 struct Definition< ::posedetection_msgs::Feature0D_<ContainerAllocator> > {
00122   static const char* value() 
00123   {
00124     return "Header header\n\
00125 float32[] positions # 2*N, 0-indexed\n\
00126 float32[] scales # N, optional\n\
00127 float32[] orientations # N, optional, along +X is 0\n\
00128 float32[] confidences\n\
00129 float32[] descriptors # N*descriptor_dim\n\
00130 int32 descriptor_dim\n\
00131 string type # type of feature\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: std_msgs/Header\n\
00135 # Standard metadata for higher-level stamped data types.\n\
00136 # This is generally used to communicate timestamped data \n\
00137 # in a particular coordinate frame.\n\
00138 # \n\
00139 # sequence ID: consecutively increasing ID \n\
00140 uint32 seq\n\
00141 #Two-integer timestamp that is expressed as:\n\
00142 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00143 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00144 # time-handling sugar is provided by the client library\n\
00145 time stamp\n\
00146 #Frame this data is associated with\n\
00147 # 0: no frame\n\
00148 # 1: global frame\n\
00149 string frame_id\n\
00150 \n\
00151 ";
00152   }
00153 
00154   static const char* value(const  ::posedetection_msgs::Feature0D_<ContainerAllocator> &) { return value(); } 
00155 };
00156 
00157 template<class ContainerAllocator> struct HasHeader< ::posedetection_msgs::Feature0D_<ContainerAllocator> > : public TrueType {};
00158 template<class ContainerAllocator> struct HasHeader< const ::posedetection_msgs::Feature0D_<ContainerAllocator> > : public TrueType {};
00159 } // namespace message_traits
00160 } // namespace ros
00161 
00162 namespace ros
00163 {
00164 namespace serialization
00165 {
00166 
00167 template<class ContainerAllocator> struct Serializer< ::posedetection_msgs::Feature0D_<ContainerAllocator> >
00168 {
00169   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00170   {
00171     stream.next(m.header);
00172     stream.next(m.positions);
00173     stream.next(m.scales);
00174     stream.next(m.orientations);
00175     stream.next(m.confidences);
00176     stream.next(m.descriptors);
00177     stream.next(m.descriptor_dim);
00178     stream.next(m.type);
00179   }
00180 
00181   ROS_DECLARE_ALLINONE_SERIALIZER;
00182 }; // struct Feature0D_
00183 } // namespace serialization
00184 } // namespace ros
00185 
00186 namespace ros
00187 {
00188 namespace message_operations
00189 {
00190 
00191 template<class ContainerAllocator>
00192 struct Printer< ::posedetection_msgs::Feature0D_<ContainerAllocator> >
00193 {
00194   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::posedetection_msgs::Feature0D_<ContainerAllocator> & v) 
00195   {
00196     s << indent << "header: ";
00197 s << std::endl;
00198     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00199     s << indent << "positions[]" << std::endl;
00200     for (size_t i = 0; i < v.positions.size(); ++i)
00201     {
00202       s << indent << "  positions[" << i << "]: ";
00203       Printer<float>::stream(s, indent + "  ", v.positions[i]);
00204     }
00205     s << indent << "scales[]" << std::endl;
00206     for (size_t i = 0; i < v.scales.size(); ++i)
00207     {
00208       s << indent << "  scales[" << i << "]: ";
00209       Printer<float>::stream(s, indent + "  ", v.scales[i]);
00210     }
00211     s << indent << "orientations[]" << std::endl;
00212     for (size_t i = 0; i < v.orientations.size(); ++i)
00213     {
00214       s << indent << "  orientations[" << i << "]: ";
00215       Printer<float>::stream(s, indent + "  ", v.orientations[i]);
00216     }
00217     s << indent << "confidences[]" << std::endl;
00218     for (size_t i = 0; i < v.confidences.size(); ++i)
00219     {
00220       s << indent << "  confidences[" << i << "]: ";
00221       Printer<float>::stream(s, indent + "  ", v.confidences[i]);
00222     }
00223     s << indent << "descriptors[]" << std::endl;
00224     for (size_t i = 0; i < v.descriptors.size(); ++i)
00225     {
00226       s << indent << "  descriptors[" << i << "]: ";
00227       Printer<float>::stream(s, indent + "  ", v.descriptors[i]);
00228     }
00229     s << indent << "descriptor_dim: ";
00230     Printer<int32_t>::stream(s, indent + "  ", v.descriptor_dim);
00231     s << indent << "type: ";
00232     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.type);
00233   }
00234 };
00235 
00236 
00237 } // namespace message_operations
00238 } // namespace ros
00239 
00240 #endif // POSEDETECTION_MSGS_MESSAGE_FEATURE0D_H
00241 
 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