cop_answer.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/cop_answer.msg */
00002 #ifndef VISION_MSGS_MESSAGE_COP_ANSWER_H
00003 #define VISION_MSGS_MESSAGE_COP_ANSWER_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/aposteriori_position.h"
00018 
00019 namespace vision_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct cop_answer_ {
00023   typedef cop_answer_<ContainerAllocator> Type;
00024 
00025   cop_answer_()
00026   : perception_primitive(0)
00027   , error()
00028   , found_poses()
00029   {
00030   }
00031 
00032   cop_answer_(const ContainerAllocator& _alloc)
00033   : perception_primitive(0)
00034   , error(_alloc)
00035   , found_poses(_alloc)
00036   {
00037   }
00038 
00039   typedef uint64_t _perception_primitive_type;
00040   uint64_t perception_primitive;
00041 
00042   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _error_type;
00043   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  error;
00044 
00045   typedef std::vector< ::vision_msgs::aposteriori_position_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::aposteriori_position_<ContainerAllocator> >::other >  _found_poses_type;
00046   std::vector< ::vision_msgs::aposteriori_position_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::aposteriori_position_<ContainerAllocator> >::other >  found_poses;
00047 
00048 
00049   typedef boost::shared_ptr< ::vision_msgs::cop_answer_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::vision_msgs::cop_answer_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct cop_answer
00053 typedef  ::vision_msgs::cop_answer_<std::allocator<void> > cop_answer;
00054 
00055 typedef boost::shared_ptr< ::vision_msgs::cop_answer> cop_answerPtr;
00056 typedef boost::shared_ptr< ::vision_msgs::cop_answer const> cop_answerConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::vision_msgs::cop_answer_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::vision_msgs::cop_answer_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace vision_msgs
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::cop_answer_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::cop_answer_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::vision_msgs::cop_answer_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "1f3f6145b8086e5dd7885136dd895de4";
00078   }
00079 
00080   static const char* value(const  ::vision_msgs::cop_answer_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0x1f3f6145b8086e5dULL;
00082   static const uint64_t static_value2 = 0xd7885136dd895de4ULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::vision_msgs::cop_answer_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "vision_msgs/cop_answer";
00090   }
00091 
00092   static const char* value(const  ::vision_msgs::cop_answer_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::vision_msgs::cop_answer_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "#Message that cop uses to  answer on specified topics, U. Klank klank@in.tum.de\n\
00100 uint64 perception_primitive         # Perception primitive that caused this answer\n\
00101 string error                        # eventuelly there are errors like no object found\n\
00102 aposteriori_position[] found_poses  # list od found pose candidate for a certain query\n\
00103 \n\
00104 ================================================================================\n\
00105 MSG: vision_msgs/aposteriori_position\n\
00106 #objects a posteriori position, U. Klank klank@in.tum.de\n\
00107 uint64 objectId                  #id of an cop object\n\
00108 float64 probability              #approximated a posteriori probability of the object beeing at the position\n\
00109 uint64 position                  #lo id of an position\n\
00110 cop_descriptor[] models           #list of all models assigned to the returned object\n\
00111 ================================================================================\n\
00112 MSG: vision_msgs/cop_descriptor\n\
00113 #Descriptors of models used in cop, U. Klank klank@in.tum.de\n\
00114 uint64  object_id          # unique id that could be used for a query\n\
00115 string  sem_class          # connected semantic concept\n\
00116 string  type               # Class name that was used to generate the corresponding cop descriptor plugin, \n\
00117                            # example are: ShapeModel, ColorClass, DeformShapeModel\n\
00118 float64 quality            # the current quality assinged to this descriptor\n\
00119 \n\
00120 \n\
00121 \n\
00122 \n\
00123 ";
00124   }
00125 
00126   static const char* value(const  ::vision_msgs::cop_answer_<ContainerAllocator> &) { return value(); } 
00127 };
00128 
00129 } // namespace message_traits
00130 } // namespace ros
00131 
00132 namespace ros
00133 {
00134 namespace serialization
00135 {
00136 
00137 template<class ContainerAllocator> struct Serializer< ::vision_msgs::cop_answer_<ContainerAllocator> >
00138 {
00139   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00140   {
00141     stream.next(m.perception_primitive);
00142     stream.next(m.error);
00143     stream.next(m.found_poses);
00144   }
00145 
00146   ROS_DECLARE_ALLINONE_SERIALIZER;
00147 }; // struct cop_answer_
00148 } // namespace serialization
00149 } // namespace ros
00150 
00151 namespace ros
00152 {
00153 namespace message_operations
00154 {
00155 
00156 template<class ContainerAllocator>
00157 struct Printer< ::vision_msgs::cop_answer_<ContainerAllocator> >
00158 {
00159   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::vision_msgs::cop_answer_<ContainerAllocator> & v) 
00160   {
00161     s << indent << "perception_primitive: ";
00162     Printer<uint64_t>::stream(s, indent + "  ", v.perception_primitive);
00163     s << indent << "error: ";
00164     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.error);
00165     s << indent << "found_poses[]" << std::endl;
00166     for (size_t i = 0; i < v.found_poses.size(); ++i)
00167     {
00168       s << indent << "  found_poses[" << i << "]: ";
00169       s << std::endl;
00170       s << indent;
00171       Printer< ::vision_msgs::aposteriori_position_<ContainerAllocator> >::stream(s, indent + "    ", v.found_poses[i]);
00172     }
00173   }
00174 };
00175 
00176 
00177 } // namespace message_operations
00178 } // namespace ros
00179 
00180 #endif // VISION_MSGS_MESSAGE_COP_ANSWER_H
00181 


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