FaceDetectorResult.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-people/doc_stacks/2014-10-06_03-14-01.737835/people/face_detector/msg/FaceDetectorResult.msg */
00002 #ifndef FACE_DETECTOR_MESSAGE_FACEDETECTORRESULT_H
00003 #define FACE_DETECTOR_MESSAGE_FACEDETECTORRESULT_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 "people_msgs/PositionMeasurement.h"
00018 
00019 namespace face_detector
00020 {
00021 template <class ContainerAllocator>
00022 struct FaceDetectorResult_ {
00023   typedef FaceDetectorResult_<ContainerAllocator> Type;
00024 
00025   FaceDetectorResult_()
00026   : face_positions()
00027   {
00028   }
00029 
00030   FaceDetectorResult_(const ContainerAllocator& _alloc)
00031   : face_positions(_alloc)
00032   {
00033   }
00034 
00035   typedef std::vector< ::people_msgs::PositionMeasurement_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::people_msgs::PositionMeasurement_<ContainerAllocator> >::other >  _face_positions_type;
00036   std::vector< ::people_msgs::PositionMeasurement_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::people_msgs::PositionMeasurement_<ContainerAllocator> >::other >  face_positions;
00037 
00038 
00039   typedef boost::shared_ptr< ::face_detector::FaceDetectorResult_<ContainerAllocator> > Ptr;
00040   typedef boost::shared_ptr< ::face_detector::FaceDetectorResult_<ContainerAllocator>  const> ConstPtr;
00041   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 }; // struct FaceDetectorResult
00043 typedef  ::face_detector::FaceDetectorResult_<std::allocator<void> > FaceDetectorResult;
00044 
00045 typedef boost::shared_ptr< ::face_detector::FaceDetectorResult> FaceDetectorResultPtr;
00046 typedef boost::shared_ptr< ::face_detector::FaceDetectorResult const> FaceDetectorResultConstPtr;
00047 
00048 
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const  ::face_detector::FaceDetectorResult_<ContainerAllocator> & v)
00051 {
00052   ros::message_operations::Printer< ::face_detector::FaceDetectorResult_<ContainerAllocator> >::stream(s, "", v);
00053   return s;}
00054 
00055 } // namespace face_detector
00056 
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::face_detector::FaceDetectorResult_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::face_detector::FaceDetectorResult_<ContainerAllocator>  const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::face_detector::FaceDetectorResult_<ContainerAllocator> > {
00065   static const char* value() 
00066   {
00067     return "b5dc843df183dbab7f0ab2f5ef5b6f9d";
00068   }
00069 
00070   static const char* value(const  ::face_detector::FaceDetectorResult_<ContainerAllocator> &) { return value(); } 
00071   static const uint64_t static_value1 = 0xb5dc843df183dbabULL;
00072   static const uint64_t static_value2 = 0x7f0ab2f5ef5b6f9dULL;
00073 };
00074 
00075 template<class ContainerAllocator>
00076 struct DataType< ::face_detector::FaceDetectorResult_<ContainerAllocator> > {
00077   static const char* value() 
00078   {
00079     return "face_detector/FaceDetectorResult";
00080   }
00081 
00082   static const char* value(const  ::face_detector::FaceDetectorResult_<ContainerAllocator> &) { return value(); } 
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct Definition< ::face_detector::FaceDetectorResult_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\
00090 #result\n\
00091 people_msgs/PositionMeasurement[] face_positions\n\
00092 \n\
00093 ================================================================================\n\
00094 MSG: people_msgs/PositionMeasurement\n\
00095 Header          header\n\
00096 string          name\n\
00097 string          object_id\n\
00098 geometry_msgs/Point pos\n\
00099 float64         reliability\n\
00100 float64[9]      covariance\n\
00101 byte            initialization\n\
00102 ================================================================================\n\
00103 MSG: std_msgs/Header\n\
00104 # Standard metadata for higher-level stamped data types.\n\
00105 # This is generally used to communicate timestamped data \n\
00106 # in a particular coordinate frame.\n\
00107 # \n\
00108 # sequence ID: consecutively increasing ID \n\
00109 uint32 seq\n\
00110 #Two-integer timestamp that is expressed as:\n\
00111 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00112 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00113 # time-handling sugar is provided by the client library\n\
00114 time stamp\n\
00115 #Frame this data is associated with\n\
00116 # 0: no frame\n\
00117 # 1: global frame\n\
00118 string frame_id\n\
00119 \n\
00120 ================================================================================\n\
00121 MSG: geometry_msgs/Point\n\
00122 # This contains the position of a point in free space\n\
00123 float64 x\n\
00124 float64 y\n\
00125 float64 z\n\
00126 \n\
00127 ";
00128   }
00129 
00130   static const char* value(const  ::face_detector::FaceDetectorResult_<ContainerAllocator> &) { return value(); } 
00131 };
00132 
00133 } // namespace message_traits
00134 } // namespace ros
00135 
00136 namespace ros
00137 {
00138 namespace serialization
00139 {
00140 
00141 template<class ContainerAllocator> struct Serializer< ::face_detector::FaceDetectorResult_<ContainerAllocator> >
00142 {
00143   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00144   {
00145     stream.next(m.face_positions);
00146   }
00147 
00148   ROS_DECLARE_ALLINONE_SERIALIZER;
00149 }; // struct FaceDetectorResult_
00150 } // namespace serialization
00151 } // namespace ros
00152 
00153 namespace ros
00154 {
00155 namespace message_operations
00156 {
00157 
00158 template<class ContainerAllocator>
00159 struct Printer< ::face_detector::FaceDetectorResult_<ContainerAllocator> >
00160 {
00161   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::face_detector::FaceDetectorResult_<ContainerAllocator> & v) 
00162   {
00163     s << indent << "face_positions[]" << std::endl;
00164     for (size_t i = 0; i < v.face_positions.size(); ++i)
00165     {
00166       s << indent << "  face_positions[" << i << "]: ";
00167       s << std::endl;
00168       s << indent;
00169       Printer< ::people_msgs::PositionMeasurement_<ContainerAllocator> >::stream(s, indent + "    ", v.face_positions[i]);
00170     }
00171   }
00172 };
00173 
00174 
00175 } // namespace message_operations
00176 } // namespace ros
00177 
00178 #endif // FACE_DETECTOR_MESSAGE_FACEDETECTORRESULT_H
00179 


face_detector
Author(s): Caroline Pantofaru
autogenerated on Mon Oct 6 2014 03:17:09