classification_point.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-lfd/doc_stacks/2014-01-02_11-22-41.721040/lfd/lfd_common/msg/classification_point.msg */
00002 #ifndef LFD_COMMON_MESSAGE_CLASSIFICATION_POINT_H
00003 #define LFD_COMMON_MESSAGE_CLASSIFICATION_POINT_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 "lfd_common/state.h"
00018 
00019 namespace lfd_common
00020 {
00021 template <class ContainerAllocator>
00022 struct classification_point_ {
00023   typedef classification_point_<ContainerAllocator> Type;
00024 
00025   classification_point_()
00026   : s()
00027   , l(0)
00028   {
00029   }
00030 
00031   classification_point_(const ContainerAllocator& _alloc)
00032   : s(_alloc)
00033   , l(0)
00034   {
00035   }
00036 
00037   typedef  ::lfd_common::state_<ContainerAllocator>  _s_type;
00038    ::lfd_common::state_<ContainerAllocator>  s;
00039 
00040   typedef int32_t _l_type;
00041   int32_t l;
00042 
00043 
00044   typedef boost::shared_ptr< ::lfd_common::classification_point_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::lfd_common::classification_point_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct classification_point
00048 typedef  ::lfd_common::classification_point_<std::allocator<void> > classification_point;
00049 
00050 typedef boost::shared_ptr< ::lfd_common::classification_point> classification_pointPtr;
00051 typedef boost::shared_ptr< ::lfd_common::classification_point const> classification_pointConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::lfd_common::classification_point_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::lfd_common::classification_point_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace lfd_common
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::lfd_common::classification_point_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::lfd_common::classification_point_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::lfd_common::classification_point_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "3bdd828e2a27174a2c1b8499df259193";
00073   }
00074 
00075   static const char* value(const  ::lfd_common::classification_point_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0x3bdd828e2a27174aULL;
00077   static const uint64_t static_value2 = 0x2c1b8499df259193ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::lfd_common::classification_point_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "lfd_common/classification_point";
00085   }
00086 
00087   static const char* value(const  ::lfd_common::classification_point_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::lfd_common::classification_point_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "# The state vector for the given data point\n\
00095 state s\n\
00096 # The classification label for the given vector\n\
00097 int32 l\n\
00098 \n\
00099 ================================================================================\n\
00100 MSG: lfd_common/state\n\
00101 # The state vector\n\
00102 float32[] state_vector\n\
00103 \n\
00104 ";
00105   }
00106 
00107   static const char* value(const  ::lfd_common::classification_point_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 } // namespace message_traits
00111 } // namespace ros
00112 
00113 namespace ros
00114 {
00115 namespace serialization
00116 {
00117 
00118 template<class ContainerAllocator> struct Serializer< ::lfd_common::classification_point_<ContainerAllocator> >
00119 {
00120   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00121   {
00122     stream.next(m.s);
00123     stream.next(m.l);
00124   }
00125 
00126   ROS_DECLARE_ALLINONE_SERIALIZER;
00127 }; // struct classification_point_
00128 } // namespace serialization
00129 } // namespace ros
00130 
00131 namespace ros
00132 {
00133 namespace message_operations
00134 {
00135 
00136 template<class ContainerAllocator>
00137 struct Printer< ::lfd_common::classification_point_<ContainerAllocator> >
00138 {
00139   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::lfd_common::classification_point_<ContainerAllocator> & v) 
00140   {
00141     s << indent << "s: ";
00142 s << std::endl;
00143     Printer< ::lfd_common::state_<ContainerAllocator> >::stream(s, indent + "  ", v.s);
00144     s << indent << "l: ";
00145     Printer<int32_t>::stream(s, indent + "  ", v.l);
00146   }
00147 };
00148 
00149 
00150 } // namespace message_operations
00151 } // namespace ros
00152 
00153 #endif // LFD_COMMON_MESSAGE_CLASSIFICATION_POINT_H
00154 


lfd_common
Author(s): Russell Toris
autogenerated on Thu Jan 2 2014 11:23:52