PositionMeasurementArray.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/people_msgs/msg/PositionMeasurementArray.msg */
00002 #ifndef PEOPLE_MSGS_MESSAGE_POSITIONMEASUREMENTARRAY_H
00003 #define PEOPLE_MSGS_MESSAGE_POSITIONMEASUREMENTARRAY_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 "people_msgs/PositionMeasurement.h"
00019 
00020 namespace people_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct PositionMeasurementArray_ {
00024   typedef PositionMeasurementArray_<ContainerAllocator> Type;
00025 
00026   PositionMeasurementArray_()
00027   : header()
00028   , people()
00029   , cooccurrence()
00030   {
00031   }
00032 
00033   PositionMeasurementArray_(const ContainerAllocator& _alloc)
00034   : header(_alloc)
00035   , people(_alloc)
00036   , cooccurrence(_alloc)
00037   {
00038   }
00039 
00040   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00041    ::std_msgs::Header_<ContainerAllocator>  header;
00042 
00043   typedef std::vector< ::people_msgs::PositionMeasurement_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::people_msgs::PositionMeasurement_<ContainerAllocator> >::other >  _people_type;
00044   std::vector< ::people_msgs::PositionMeasurement_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::people_msgs::PositionMeasurement_<ContainerAllocator> >::other >  people;
00045 
00046   typedef std::vector<float, typename ContainerAllocator::template rebind<float>::other >  _cooccurrence_type;
00047   std::vector<float, typename ContainerAllocator::template rebind<float>::other >  cooccurrence;
00048 
00049 
00050   typedef boost::shared_ptr< ::people_msgs::PositionMeasurementArray_<ContainerAllocator> > Ptr;
00051   typedef boost::shared_ptr< ::people_msgs::PositionMeasurementArray_<ContainerAllocator>  const> ConstPtr;
00052   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00053 }; // struct PositionMeasurementArray
00054 typedef  ::people_msgs::PositionMeasurementArray_<std::allocator<void> > PositionMeasurementArray;
00055 
00056 typedef boost::shared_ptr< ::people_msgs::PositionMeasurementArray> PositionMeasurementArrayPtr;
00057 typedef boost::shared_ptr< ::people_msgs::PositionMeasurementArray const> PositionMeasurementArrayConstPtr;
00058 
00059 
00060 template<typename ContainerAllocator>
00061 std::ostream& operator<<(std::ostream& s, const  ::people_msgs::PositionMeasurementArray_<ContainerAllocator> & v)
00062 {
00063   ros::message_operations::Printer< ::people_msgs::PositionMeasurementArray_<ContainerAllocator> >::stream(s, "", v);
00064   return s;}
00065 
00066 } // namespace people_msgs
00067 
00068 namespace ros
00069 {
00070 namespace message_traits
00071 {
00072 template<class ContainerAllocator> struct IsMessage< ::people_msgs::PositionMeasurementArray_<ContainerAllocator> > : public TrueType {};
00073 template<class ContainerAllocator> struct IsMessage< ::people_msgs::PositionMeasurementArray_<ContainerAllocator>  const> : public TrueType {};
00074 template<class ContainerAllocator>
00075 struct MD5Sum< ::people_msgs::PositionMeasurementArray_<ContainerAllocator> > {
00076   static const char* value() 
00077   {
00078     return "59c860d40aa739ec920eb3ad24ae019e";
00079   }
00080 
00081   static const char* value(const  ::people_msgs::PositionMeasurementArray_<ContainerAllocator> &) { return value(); } 
00082   static const uint64_t static_value1 = 0x59c860d40aa739ecULL;
00083   static const uint64_t static_value2 = 0x920eb3ad24ae019eULL;
00084 };
00085 
00086 template<class ContainerAllocator>
00087 struct DataType< ::people_msgs::PositionMeasurementArray_<ContainerAllocator> > {
00088   static const char* value() 
00089   {
00090     return "people_msgs/PositionMeasurementArray";
00091   }
00092 
00093   static const char* value(const  ::people_msgs::PositionMeasurementArray_<ContainerAllocator> &) { return value(); } 
00094 };
00095 
00096 template<class ContainerAllocator>
00097 struct Definition< ::people_msgs::PositionMeasurementArray_<ContainerAllocator> > {
00098   static const char* value() 
00099   {
00100     return "Header          header\n\
00101 \n\
00102 # All of the people found\n\
00103 people_msgs/PositionMeasurement[] people\n\
00104 \n\
00105 # The co-occurrence matrix between people\n\
00106 float32[] cooccurrence\n\
00107 ================================================================================\n\
00108 MSG: std_msgs/Header\n\
00109 # Standard metadata for higher-level stamped data types.\n\
00110 # This is generally used to communicate timestamped data \n\
00111 # in a particular coordinate frame.\n\
00112 # \n\
00113 # sequence ID: consecutively increasing ID \n\
00114 uint32 seq\n\
00115 #Two-integer timestamp that is expressed as:\n\
00116 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00117 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00118 # time-handling sugar is provided by the client library\n\
00119 time stamp\n\
00120 #Frame this data is associated with\n\
00121 # 0: no frame\n\
00122 # 1: global frame\n\
00123 string frame_id\n\
00124 \n\
00125 ================================================================================\n\
00126 MSG: people_msgs/PositionMeasurement\n\
00127 Header          header\n\
00128 string          name\n\
00129 string          object_id\n\
00130 geometry_msgs/Point pos\n\
00131 float64         reliability\n\
00132 float64[9]      covariance\n\
00133 byte            initialization\n\
00134 ================================================================================\n\
00135 MSG: geometry_msgs/Point\n\
00136 # This contains the position of a point in free space\n\
00137 float64 x\n\
00138 float64 y\n\
00139 float64 z\n\
00140 \n\
00141 ";
00142   }
00143 
00144   static const char* value(const  ::people_msgs::PositionMeasurementArray_<ContainerAllocator> &) { return value(); } 
00145 };
00146 
00147 template<class ContainerAllocator> struct HasHeader< ::people_msgs::PositionMeasurementArray_<ContainerAllocator> > : public TrueType {};
00148 template<class ContainerAllocator> struct HasHeader< const ::people_msgs::PositionMeasurementArray_<ContainerAllocator> > : public TrueType {};
00149 } // namespace message_traits
00150 } // namespace ros
00151 
00152 namespace ros
00153 {
00154 namespace serialization
00155 {
00156 
00157 template<class ContainerAllocator> struct Serializer< ::people_msgs::PositionMeasurementArray_<ContainerAllocator> >
00158 {
00159   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00160   {
00161     stream.next(m.header);
00162     stream.next(m.people);
00163     stream.next(m.cooccurrence);
00164   }
00165 
00166   ROS_DECLARE_ALLINONE_SERIALIZER;
00167 }; // struct PositionMeasurementArray_
00168 } // namespace serialization
00169 } // namespace ros
00170 
00171 namespace ros
00172 {
00173 namespace message_operations
00174 {
00175 
00176 template<class ContainerAllocator>
00177 struct Printer< ::people_msgs::PositionMeasurementArray_<ContainerAllocator> >
00178 {
00179   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::people_msgs::PositionMeasurementArray_<ContainerAllocator> & v) 
00180   {
00181     s << indent << "header: ";
00182 s << std::endl;
00183     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00184     s << indent << "people[]" << std::endl;
00185     for (size_t i = 0; i < v.people.size(); ++i)
00186     {
00187       s << indent << "  people[" << i << "]: ";
00188       s << std::endl;
00189       s << indent;
00190       Printer< ::people_msgs::PositionMeasurement_<ContainerAllocator> >::stream(s, indent + "    ", v.people[i]);
00191     }
00192     s << indent << "cooccurrence[]" << std::endl;
00193     for (size_t i = 0; i < v.cooccurrence.size(); ++i)
00194     {
00195       s << indent << "  cooccurrence[" << i << "]: ";
00196       Printer<float>::stream(s, indent + "  ", v.cooccurrence[i]);
00197     }
00198   }
00199 };
00200 
00201 
00202 } // namespace message_operations
00203 } // namespace ros
00204 
00205 #endif // PEOPLE_MSGS_MESSAGE_POSITIONMEASUREMENTARRAY_H
00206 


people_msgs
Author(s): Caroline Pantofaru
autogenerated on Mon Oct 6 2014 03:16:52