aposteriori_position.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-ias_common/doc_stacks/2014-01-02_11-18-36.813960/ias_common/vision_msgs/msg/aposteriori_position.msg */
00002 #ifndef VISION_MSGS_MESSAGE_APOSTERIORI_POSITION_H
00003 #define VISION_MSGS_MESSAGE_APOSTERIORI_POSITION_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 "vision_msgs/cop_descriptor.h"
00018 
00019 namespace vision_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct aposteriori_position_ {
00023   typedef aposteriori_position_<ContainerAllocator> Type;
00024 
00025   aposteriori_position_()
00026   : objectId(0)
00027   , probability(0.0)
00028   , position(0)
00029   , models()
00030   {
00031   }
00032 
00033   aposteriori_position_(const ContainerAllocator& _alloc)
00034   : objectId(0)
00035   , probability(0.0)
00036   , position(0)
00037   , models(_alloc)
00038   {
00039   }
00040 
00041   typedef uint64_t _objectId_type;
00042   uint64_t objectId;
00043 
00044   typedef double _probability_type;
00045   double probability;
00046 
00047   typedef uint64_t _position_type;
00048   uint64_t position;
00049 
00050   typedef std::vector< ::vision_msgs::cop_descriptor_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::cop_descriptor_<ContainerAllocator> >::other >  _models_type;
00051   std::vector< ::vision_msgs::cop_descriptor_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::cop_descriptor_<ContainerAllocator> >::other >  models;
00052 
00053 
00054   typedef boost::shared_ptr< ::vision_msgs::aposteriori_position_<ContainerAllocator> > Ptr;
00055   typedef boost::shared_ptr< ::vision_msgs::aposteriori_position_<ContainerAllocator>  const> ConstPtr;
00056   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00057 }; // struct aposteriori_position
00058 typedef  ::vision_msgs::aposteriori_position_<std::allocator<void> > aposteriori_position;
00059 
00060 typedef boost::shared_ptr< ::vision_msgs::aposteriori_position> aposteriori_positionPtr;
00061 typedef boost::shared_ptr< ::vision_msgs::aposteriori_position const> aposteriori_positionConstPtr;
00062 
00063 
00064 template<typename ContainerAllocator>
00065 std::ostream& operator<<(std::ostream& s, const  ::vision_msgs::aposteriori_position_<ContainerAllocator> & v)
00066 {
00067   ros::message_operations::Printer< ::vision_msgs::aposteriori_position_<ContainerAllocator> >::stream(s, "", v);
00068   return s;}
00069 
00070 } // namespace vision_msgs
00071 
00072 namespace ros
00073 {
00074 namespace message_traits
00075 {
00076 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::aposteriori_position_<ContainerAllocator> > : public TrueType {};
00077 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::aposteriori_position_<ContainerAllocator>  const> : public TrueType {};
00078 template<class ContainerAllocator>
00079 struct MD5Sum< ::vision_msgs::aposteriori_position_<ContainerAllocator> > {
00080   static const char* value() 
00081   {
00082     return "37ac3556838265f37bdeb19748c025fb";
00083   }
00084 
00085   static const char* value(const  ::vision_msgs::aposteriori_position_<ContainerAllocator> &) { return value(); } 
00086   static const uint64_t static_value1 = 0x37ac3556838265f3ULL;
00087   static const uint64_t static_value2 = 0x7bdeb19748c025fbULL;
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct DataType< ::vision_msgs::aposteriori_position_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "vision_msgs/aposteriori_position";
00095   }
00096 
00097   static const char* value(const  ::vision_msgs::aposteriori_position_<ContainerAllocator> &) { return value(); } 
00098 };
00099 
00100 template<class ContainerAllocator>
00101 struct Definition< ::vision_msgs::aposteriori_position_<ContainerAllocator> > {
00102   static const char* value() 
00103   {
00104     return "#objects a posteriori position, U. Klank klank@in.tum.de\n\
00105 uint64 objectId                  #id of an cop object\n\
00106 float64 probability              #approximated a posteriori probability of the object beeing at the position\n\
00107 uint64 position                  #lo id of an position\n\
00108 cop_descriptor[] models           #list of all models assigned to the returned object\n\
00109 ================================================================================\n\
00110 MSG: vision_msgs/cop_descriptor\n\
00111 #Descriptors of models used in cop, U. Klank klank@in.tum.de\n\
00112 uint64  object_id          # unique id that could be used for a query\n\
00113 string  sem_class          # connected semantic concept\n\
00114 string  type               # Class name that was used to generate the corresponding cop descriptor plugin, \n\
00115                            # example are: ShapeModel, ColorClass, DeformShapeModel\n\
00116 float64 quality            # the current quality assinged to this descriptor\n\
00117 \n\
00118 \n\
00119 \n\
00120 \n\
00121 ";
00122   }
00123 
00124   static const char* value(const  ::vision_msgs::aposteriori_position_<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< ::vision_msgs::aposteriori_position_<ContainerAllocator> >
00136 {
00137   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00138   {
00139     stream.next(m.objectId);
00140     stream.next(m.probability);
00141     stream.next(m.position);
00142     stream.next(m.models);
00143   }
00144 
00145   ROS_DECLARE_ALLINONE_SERIALIZER;
00146 }; // struct aposteriori_position_
00147 } // namespace serialization
00148 } // namespace ros
00149 
00150 namespace ros
00151 {
00152 namespace message_operations
00153 {
00154 
00155 template<class ContainerAllocator>
00156 struct Printer< ::vision_msgs::aposteriori_position_<ContainerAllocator> >
00157 {
00158   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::vision_msgs::aposteriori_position_<ContainerAllocator> & v) 
00159   {
00160     s << indent << "objectId: ";
00161     Printer<uint64_t>::stream(s, indent + "  ", v.objectId);
00162     s << indent << "probability: ";
00163     Printer<double>::stream(s, indent + "  ", v.probability);
00164     s << indent << "position: ";
00165     Printer<uint64_t>::stream(s, indent + "  ", v.position);
00166     s << indent << "models[]" << std::endl;
00167     for (size_t i = 0; i < v.models.size(); ++i)
00168     {
00169       s << indent << "  models[" << i << "]: ";
00170       s << std::endl;
00171       s << indent;
00172       Printer< ::vision_msgs::cop_descriptor_<ContainerAllocator> >::stream(s, indent + "    ", v.models[i]);
00173     }
00174   }
00175 };
00176 
00177 
00178 } // namespace message_operations
00179 } // namespace ros
00180 
00181 #endif // VISION_MSGS_MESSAGE_APOSTERIORI_POSITION_H
00182 


vision_msgs
Author(s): Ulrich F Klank
autogenerated on Thu Jan 2 2014 11:21:43