KltPoint.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-vision_visp/doc_stacks/2013-12-28_17-43-01.443180/vision_visp/visp_tracker/msg/KltPoint.msg */
00002 #ifndef VISP_TRACKER_MESSAGE_KLTPOINT_H
00003 #define VISP_TRACKER_MESSAGE_KLTPOINT_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 
00018 namespace visp_tracker
00019 {
00020 template <class ContainerAllocator>
00021 struct KltPoint_ {
00022   typedef KltPoint_<ContainerAllocator> Type;
00023 
00024   KltPoint_()
00025   : i(0.0)
00026   , j(0.0)
00027   , id(0)
00028   {
00029   }
00030 
00031   KltPoint_(const ContainerAllocator& _alloc)
00032   : i(0.0)
00033   , j(0.0)
00034   , id(0)
00035   {
00036   }
00037 
00038   typedef double _i_type;
00039   double i;
00040 
00041   typedef double _j_type;
00042   double j;
00043 
00044   typedef int32_t _id_type;
00045   int32_t id;
00046 
00047 
00048   typedef boost::shared_ptr< ::visp_tracker::KltPoint_<ContainerAllocator> > Ptr;
00049   typedef boost::shared_ptr< ::visp_tracker::KltPoint_<ContainerAllocator>  const> ConstPtr;
00050   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 }; // struct KltPoint
00052 typedef  ::visp_tracker::KltPoint_<std::allocator<void> > KltPoint;
00053 
00054 typedef boost::shared_ptr< ::visp_tracker::KltPoint> KltPointPtr;
00055 typedef boost::shared_ptr< ::visp_tracker::KltPoint const> KltPointConstPtr;
00056 
00057 
00058 template<typename ContainerAllocator>
00059 std::ostream& operator<<(std::ostream& s, const  ::visp_tracker::KltPoint_<ContainerAllocator> & v)
00060 {
00061   ros::message_operations::Printer< ::visp_tracker::KltPoint_<ContainerAllocator> >::stream(s, "", v);
00062   return s;}
00063 
00064 } // namespace visp_tracker
00065 
00066 namespace ros
00067 {
00068 namespace message_traits
00069 {
00070 template<class ContainerAllocator> struct IsMessage< ::visp_tracker::KltPoint_<ContainerAllocator> > : public TrueType {};
00071 template<class ContainerAllocator> struct IsMessage< ::visp_tracker::KltPoint_<ContainerAllocator>  const> : public TrueType {};
00072 template<class ContainerAllocator>
00073 struct MD5Sum< ::visp_tracker::KltPoint_<ContainerAllocator> > {
00074   static const char* value() 
00075   {
00076     return "6014cf727908e3e35d0048962e94796f";
00077   }
00078 
00079   static const char* value(const  ::visp_tracker::KltPoint_<ContainerAllocator> &) { return value(); } 
00080   static const uint64_t static_value1 = 0x6014cf727908e3e3ULL;
00081   static const uint64_t static_value2 = 0x5d0048962e94796fULL;
00082 };
00083 
00084 template<class ContainerAllocator>
00085 struct DataType< ::visp_tracker::KltPoint_<ContainerAllocator> > {
00086   static const char* value() 
00087   {
00088     return "visp_tracker/KltPoint";
00089   }
00090 
00091   static const char* value(const  ::visp_tracker::KltPoint_<ContainerAllocator> &) { return value(); } 
00092 };
00093 
00094 template<class ContainerAllocator>
00095 struct Definition< ::visp_tracker::KltPoint_<ContainerAllocator> > {
00096   static const char* value() 
00097   {
00098     return "# KLT point position.\n\
00099 \n\
00100 float64 i      # i position in the image\n\
00101 float64 j      # j position in the image\n\
00102 int32   id     # Point id\n\
00103 \n\
00104 ";
00105   }
00106 
00107   static const char* value(const  ::visp_tracker::KltPoint_<ContainerAllocator> &) { return value(); } 
00108 };
00109 
00110 template<class ContainerAllocator> struct IsFixedSize< ::visp_tracker::KltPoint_<ContainerAllocator> > : public TrueType {};
00111 } // namespace message_traits
00112 } // namespace ros
00113 
00114 namespace ros
00115 {
00116 namespace serialization
00117 {
00118 
00119 template<class ContainerAllocator> struct Serializer< ::visp_tracker::KltPoint_<ContainerAllocator> >
00120 {
00121   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00122   {
00123     stream.next(m.i);
00124     stream.next(m.j);
00125     stream.next(m.id);
00126   }
00127 
00128   ROS_DECLARE_ALLINONE_SERIALIZER;
00129 }; // struct KltPoint_
00130 } // namespace serialization
00131 } // namespace ros
00132 
00133 namespace ros
00134 {
00135 namespace message_operations
00136 {
00137 
00138 template<class ContainerAllocator>
00139 struct Printer< ::visp_tracker::KltPoint_<ContainerAllocator> >
00140 {
00141   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::visp_tracker::KltPoint_<ContainerAllocator> & v) 
00142   {
00143     s << indent << "i: ";
00144     Printer<double>::stream(s, indent + "  ", v.i);
00145     s << indent << "j: ";
00146     Printer<double>::stream(s, indent + "  ", v.j);
00147     s << indent << "id: ";
00148     Printer<int32_t>::stream(s, indent + "  ", v.id);
00149   }
00150 };
00151 
00152 
00153 } // namespace message_operations
00154 } // namespace ros
00155 
00156 #endif // VISP_TRACKER_MESSAGE_KLTPOINT_H
00157 


visp_tracker
Author(s): Thomas Moulard/thomas.moulard@gmail.com
autogenerated on Sat Dec 28 2013 17:46:03