algorithm_evaluation.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-groovy-ias_common/doc_stacks/2014-10-06_00-40-46.541507/ias_common/vision_msgs/msg/algorithm_evaluation.msg */
00002 #ifndef VISION_MSGS_MESSAGE_ALGORITHM_EVALUATION_H
00003 #define VISION_MSGS_MESSAGE_ALGORITHM_EVALUATION_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/object_algorithm_relation.h"
00018 
00019 namespace vision_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct algorithm_evaluation_ {
00023   typedef algorithm_evaluation_<ContainerAllocator> Type;
00024 
00025   algorithm_evaluation_()
00026   : plugin_name()
00027   , basic_evaluation(0.0)
00028   , objects()
00029   {
00030   }
00031 
00032   algorithm_evaluation_(const ContainerAllocator& _alloc)
00033   : plugin_name(_alloc)
00034   , basic_evaluation(0.0)
00035   , objects(_alloc)
00036   {
00037   }
00038 
00039   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _plugin_name_type;
00040   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  plugin_name;
00041 
00042   typedef double _basic_evaluation_type;
00043   double basic_evaluation;
00044 
00045   typedef std::vector< ::vision_msgs::object_algorithm_relation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::object_algorithm_relation_<ContainerAllocator> >::other >  _objects_type;
00046   std::vector< ::vision_msgs::object_algorithm_relation_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::vision_msgs::object_algorithm_relation_<ContainerAllocator> >::other >  objects;
00047 
00048 
00049   typedef boost::shared_ptr< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::vision_msgs::algorithm_evaluation_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct algorithm_evaluation
00053 typedef  ::vision_msgs::algorithm_evaluation_<std::allocator<void> > algorithm_evaluation;
00054 
00055 typedef boost::shared_ptr< ::vision_msgs::algorithm_evaluation> algorithm_evaluationPtr;
00056 typedef boost::shared_ptr< ::vision_msgs::algorithm_evaluation const> algorithm_evaluationConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::vision_msgs::algorithm_evaluation_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::vision_msgs::algorithm_evaluation_<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::algorithm_evaluation_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::vision_msgs::algorithm_evaluation_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "e07475feaa79c93a297b4d8386124d13";
00078   }
00079 
00080   static const char* value(const  ::vision_msgs::algorithm_evaluation_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0xe07475feaa79c93aULL;
00082   static const uint64_t static_value2 = 0x297b4d8386124d13ULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "vision_msgs/algorithm_evaluation";
00090   }
00091 
00092   static const char* value(const  ::vision_msgs::algorithm_evaluation_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "#Message that contains basic information regarding an algorithm  U. Klank klank@in.tum.de\n\
00100 string                      plugin_name                  # Perception primitive that caused this answer\n\
00101 float64                     basic_evaluation             # A score describing the basic score of this algorithm, should reflect the significance of the results\n\
00102 object_algorithm_relation[] objects                      # All objects that were executed with this algotihm and their results\n\
00103 \n\
00104 ================================================================================\n\
00105 MSG: vision_msgs/object_algorithm_relation\n\
00106 #Message that contains basic information regarding the evaluation of an algorithm and its objects  U. Klank klank@in.tum.de\n\
00107 uint64                      object_id\n\
00108 float64                     basic_evaluation     \n\
00109 \n\
00110 ";
00111   }
00112 
00113   static const char* value(const  ::vision_msgs::algorithm_evaluation_<ContainerAllocator> &) { return value(); } 
00114 };
00115 
00116 } // namespace message_traits
00117 } // namespace ros
00118 
00119 namespace ros
00120 {
00121 namespace serialization
00122 {
00123 
00124 template<class ContainerAllocator> struct Serializer< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> >
00125 {
00126   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00127   {
00128     stream.next(m.plugin_name);
00129     stream.next(m.basic_evaluation);
00130     stream.next(m.objects);
00131   }
00132 
00133   ROS_DECLARE_ALLINONE_SERIALIZER;
00134 }; // struct algorithm_evaluation_
00135 } // namespace serialization
00136 } // namespace ros
00137 
00138 namespace ros
00139 {
00140 namespace message_operations
00141 {
00142 
00143 template<class ContainerAllocator>
00144 struct Printer< ::vision_msgs::algorithm_evaluation_<ContainerAllocator> >
00145 {
00146   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::vision_msgs::algorithm_evaluation_<ContainerAllocator> & v) 
00147   {
00148     s << indent << "plugin_name: ";
00149     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.plugin_name);
00150     s << indent << "basic_evaluation: ";
00151     Printer<double>::stream(s, indent + "  ", v.basic_evaluation);
00152     s << indent << "objects[]" << std::endl;
00153     for (size_t i = 0; i < v.objects.size(); ++i)
00154     {
00155       s << indent << "  objects[" << i << "]: ";
00156       s << std::endl;
00157       s << indent;
00158       Printer< ::vision_msgs::object_algorithm_relation_<ContainerAllocator> >::stream(s, indent + "    ", v.objects[i]);
00159     }
00160   }
00161 };
00162 
00163 
00164 } // namespace message_operations
00165 } // namespace ros
00166 
00167 #endif // VISION_MSGS_MESSAGE_ALGORITHM_EVALUATION_H
00168 


vision_msgs
Author(s): Ulrich F Klank
autogenerated on Mon Oct 6 2014 00:47:37