classifier_update.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-all-iri-ros.pub/doc_stacks/2013-12-06_19-37-16.229269/iri_learning/iri_publish_params/msg/classifier_update.msg */
00002 #ifndef IRI_PUBLISH_PARAMS_MESSAGE_CLASSIFIER_UPDATE_H
00003 #define IRI_PUBLISH_PARAMS_MESSAGE_CLASSIFIER_UPDATE_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 "iri_publish_params/classifier_params.h"
00018 
00019 namespace iri_publish_params
00020 {
00021 template <class ContainerAllocator>
00022 struct classifier_update_ {
00023   typedef classifier_update_<ContainerAllocator> Type;
00024 
00025   classifier_update_()
00026   : update_params()
00027   , selected_centroid(0)
00028   , filter_method(0)
00029   {
00030   }
00031 
00032   classifier_update_(const ContainerAllocator& _alloc)
00033   : update_params(_alloc)
00034   , selected_centroid(0)
00035   , filter_method(0)
00036   {
00037   }
00038 
00039   typedef std::vector< ::iri_publish_params::classifier_params_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::iri_publish_params::classifier_params_<ContainerAllocator> >::other >  _update_params_type;
00040   std::vector< ::iri_publish_params::classifier_params_<ContainerAllocator> , typename ContainerAllocator::template rebind< ::iri_publish_params::classifier_params_<ContainerAllocator> >::other >  update_params;
00041 
00042   typedef int32_t _selected_centroid_type;
00043   int32_t selected_centroid;
00044 
00045   typedef int32_t _filter_method_type;
00046   int32_t filter_method;
00047 
00048 
00049   typedef boost::shared_ptr< ::iri_publish_params::classifier_update_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::iri_publish_params::classifier_update_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct classifier_update
00053 typedef  ::iri_publish_params::classifier_update_<std::allocator<void> > classifier_update;
00054 
00055 typedef boost::shared_ptr< ::iri_publish_params::classifier_update> classifier_updatePtr;
00056 typedef boost::shared_ptr< ::iri_publish_params::classifier_update const> classifier_updateConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::iri_publish_params::classifier_update_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::iri_publish_params::classifier_update_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace iri_publish_params
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::iri_publish_params::classifier_update_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::iri_publish_params::classifier_update_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::iri_publish_params::classifier_update_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "a27aec3298bbdcd2bd8ad5da8e997b16";
00078   }
00079 
00080   static const char* value(const  ::iri_publish_params::classifier_update_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0xa27aec3298bbdcd2ULL;
00082   static const uint64_t static_value2 = 0xbd8ad5da8e997b16ULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::iri_publish_params::classifier_update_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "iri_publish_params/classifier_update";
00090   }
00091 
00092   static const char* value(const  ::iri_publish_params::classifier_update_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::iri_publish_params::classifier_update_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "classifier_params[] update_params\n\
00100 int32 selected_centroid\n\
00101 int32 filter_method\n\
00102 \n\
00103 ================================================================================\n\
00104 MSG: iri_publish_params/classifier_params\n\
00105 float32[] params\n\
00106 \n\
00107 ";
00108   }
00109 
00110   static const char* value(const  ::iri_publish_params::classifier_update_<ContainerAllocator> &) { return value(); } 
00111 };
00112 
00113 } // namespace message_traits
00114 } // namespace ros
00115 
00116 namespace ros
00117 {
00118 namespace serialization
00119 {
00120 
00121 template<class ContainerAllocator> struct Serializer< ::iri_publish_params::classifier_update_<ContainerAllocator> >
00122 {
00123   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00124   {
00125     stream.next(m.update_params);
00126     stream.next(m.selected_centroid);
00127     stream.next(m.filter_method);
00128   }
00129 
00130   ROS_DECLARE_ALLINONE_SERIALIZER;
00131 }; // struct classifier_update_
00132 } // namespace serialization
00133 } // namespace ros
00134 
00135 namespace ros
00136 {
00137 namespace message_operations
00138 {
00139 
00140 template<class ContainerAllocator>
00141 struct Printer< ::iri_publish_params::classifier_update_<ContainerAllocator> >
00142 {
00143   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::iri_publish_params::classifier_update_<ContainerAllocator> & v) 
00144   {
00145     s << indent << "update_params[]" << std::endl;
00146     for (size_t i = 0; i < v.update_params.size(); ++i)
00147     {
00148       s << indent << "  update_params[" << i << "]: ";
00149       s << std::endl;
00150       s << indent;
00151       Printer< ::iri_publish_params::classifier_params_<ContainerAllocator> >::stream(s, indent + "    ", v.update_params[i]);
00152     }
00153     s << indent << "selected_centroid: ";
00154     Printer<int32_t>::stream(s, indent + "  ", v.selected_centroid);
00155     s << indent << "filter_method: ";
00156     Printer<int32_t>::stream(s, indent + "  ", v.filter_method);
00157   }
00158 };
00159 
00160 
00161 } // namespace message_operations
00162 } // namespace ros
00163 
00164 #endif // IRI_PUBLISH_PARAMS_MESSAGE_CLASSIFIER_UPDATE_H
00165 


iri_publish_params
Author(s): Arnau Ramisa
autogenerated on Fri Dec 6 2013 21:13:34