VO_Data.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-gt-ros-pkg/doc_stacks/2013-11-27_11-23-35.692702/hrl-lib/hrl_lib/msg/VO_Data.msg */
00002 #ifndef HRL_LIB_MESSAGE_VO_DATA_H
00003 #define HRL_LIB_MESSAGE_VO_DATA_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 "std_msgs/Header.h"
00018 
00019 namespace hrl_lib
00020 {
00021 template <class ContainerAllocator>
00022 struct VO_Data_ {
00023   typedef VO_Data_<ContainerAllocator> Type;
00024 
00025   VO_Data_()
00026   : header()
00027   , x_error()
00028   , y_error()
00029   , x_feat_1()
00030   , y_feat_1()
00031   , x_feat_2()
00032   , y_feat_2()
00033   , focal(0.0)
00034   , dt(0.0)
00035   , im_height(0.0)
00036   , im_width(0.0)
00037   , time(0.0)
00038   {
00039   }
00040 
00041   VO_Data_(const ContainerAllocator& _alloc)
00042   : header(_alloc)
00043   , x_error(_alloc)
00044   , y_error(_alloc)
00045   , x_feat_1(_alloc)
00046   , y_feat_1(_alloc)
00047   , x_feat_2(_alloc)
00048   , y_feat_2(_alloc)
00049   , focal(0.0)
00050   , dt(0.0)
00051   , im_height(0.0)
00052   , im_width(0.0)
00053   , time(0.0)
00054   {
00055   }
00056 
00057   typedef  ::std_msgs::Header_<ContainerAllocator>  _header_type;
00058    ::std_msgs::Header_<ContainerAllocator>  header;
00059 
00060   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _x_error_type;
00061   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  x_error;
00062 
00063   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _y_error_type;
00064   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  y_error;
00065 
00066   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _x_feat_1_type;
00067   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  x_feat_1;
00068 
00069   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _y_feat_1_type;
00070   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  y_feat_1;
00071 
00072   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _x_feat_2_type;
00073   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  x_feat_2;
00074 
00075   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _y_feat_2_type;
00076   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  y_feat_2;
00077 
00078   typedef double _focal_type;
00079   double focal;
00080 
00081   typedef double _dt_type;
00082   double dt;
00083 
00084   typedef double _im_height_type;
00085   double im_height;
00086 
00087   typedef double _im_width_type;
00088   double im_width;
00089 
00090   typedef double _time_type;
00091   double time;
00092 
00093 
00094   typedef boost::shared_ptr< ::hrl_lib::VO_Data_<ContainerAllocator> > Ptr;
00095   typedef boost::shared_ptr< ::hrl_lib::VO_Data_<ContainerAllocator>  const> ConstPtr;
00096   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00097 }; // struct VO_Data
00098 typedef  ::hrl_lib::VO_Data_<std::allocator<void> > VO_Data;
00099 
00100 typedef boost::shared_ptr< ::hrl_lib::VO_Data> VO_DataPtr;
00101 typedef boost::shared_ptr< ::hrl_lib::VO_Data const> VO_DataConstPtr;
00102 
00103 
00104 template<typename ContainerAllocator>
00105 std::ostream& operator<<(std::ostream& s, const  ::hrl_lib::VO_Data_<ContainerAllocator> & v)
00106 {
00107   ros::message_operations::Printer< ::hrl_lib::VO_Data_<ContainerAllocator> >::stream(s, "", v);
00108   return s;}
00109 
00110 } // namespace hrl_lib
00111 
00112 namespace ros
00113 {
00114 namespace message_traits
00115 {
00116 template<class ContainerAllocator> struct IsMessage< ::hrl_lib::VO_Data_<ContainerAllocator> > : public TrueType {};
00117 template<class ContainerAllocator> struct IsMessage< ::hrl_lib::VO_Data_<ContainerAllocator>  const> : public TrueType {};
00118 template<class ContainerAllocator>
00119 struct MD5Sum< ::hrl_lib::VO_Data_<ContainerAllocator> > {
00120   static const char* value() 
00121   {
00122     return "68f198b42a714abe05a8e1625896ffa1";
00123   }
00124 
00125   static const char* value(const  ::hrl_lib::VO_Data_<ContainerAllocator> &) { return value(); } 
00126   static const uint64_t static_value1 = 0x68f198b42a714abeULL;
00127   static const uint64_t static_value2 = 0x05a8e1625896ffa1ULL;
00128 };
00129 
00130 template<class ContainerAllocator>
00131 struct DataType< ::hrl_lib::VO_Data_<ContainerAllocator> > {
00132   static const char* value() 
00133   {
00134     return "hrl_lib/VO_Data";
00135   }
00136 
00137   static const char* value(const  ::hrl_lib::VO_Data_<ContainerAllocator> &) { return value(); } 
00138 };
00139 
00140 template<class ContainerAllocator>
00141 struct Definition< ::hrl_lib::VO_Data_<ContainerAllocator> > {
00142   static const char* value() 
00143   {
00144     return "Header header\n\
00145 float64[] x_error\n\
00146 float64[] y_error\n\
00147 float64[] x_feat_1\n\
00148 float64[] y_feat_1\n\
00149 float64[] x_feat_2\n\
00150 float64[] y_feat_2\n\
00151 float64 focal\n\
00152 float64 dt\n\
00153 float64 im_height\n\
00154 float64 im_width\n\
00155 float64 time\n\
00156 \n\
00157 \n\
00158 \n\
00159 ================================================================================\n\
00160 MSG: std_msgs/Header\n\
00161 # Standard metadata for higher-level stamped data types.\n\
00162 # This is generally used to communicate timestamped data \n\
00163 # in a particular coordinate frame.\n\
00164 # \n\
00165 # sequence ID: consecutively increasing ID \n\
00166 uint32 seq\n\
00167 #Two-integer timestamp that is expressed as:\n\
00168 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00169 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00170 # time-handling sugar is provided by the client library\n\
00171 time stamp\n\
00172 #Frame this data is associated with\n\
00173 # 0: no frame\n\
00174 # 1: global frame\n\
00175 string frame_id\n\
00176 \n\
00177 ";
00178   }
00179 
00180   static const char* value(const  ::hrl_lib::VO_Data_<ContainerAllocator> &) { return value(); } 
00181 };
00182 
00183 template<class ContainerAllocator> struct HasHeader< ::hrl_lib::VO_Data_<ContainerAllocator> > : public TrueType {};
00184 template<class ContainerAllocator> struct HasHeader< const ::hrl_lib::VO_Data_<ContainerAllocator> > : public TrueType {};
00185 } // namespace message_traits
00186 } // namespace ros
00187 
00188 namespace ros
00189 {
00190 namespace serialization
00191 {
00192 
00193 template<class ContainerAllocator> struct Serializer< ::hrl_lib::VO_Data_<ContainerAllocator> >
00194 {
00195   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00196   {
00197     stream.next(m.header);
00198     stream.next(m.x_error);
00199     stream.next(m.y_error);
00200     stream.next(m.x_feat_1);
00201     stream.next(m.y_feat_1);
00202     stream.next(m.x_feat_2);
00203     stream.next(m.y_feat_2);
00204     stream.next(m.focal);
00205     stream.next(m.dt);
00206     stream.next(m.im_height);
00207     stream.next(m.im_width);
00208     stream.next(m.time);
00209   }
00210 
00211   ROS_DECLARE_ALLINONE_SERIALIZER;
00212 }; // struct VO_Data_
00213 } // namespace serialization
00214 } // namespace ros
00215 
00216 namespace ros
00217 {
00218 namespace message_operations
00219 {
00220 
00221 template<class ContainerAllocator>
00222 struct Printer< ::hrl_lib::VO_Data_<ContainerAllocator> >
00223 {
00224   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::hrl_lib::VO_Data_<ContainerAllocator> & v) 
00225   {
00226     s << indent << "header: ";
00227 s << std::endl;
00228     Printer< ::std_msgs::Header_<ContainerAllocator> >::stream(s, indent + "  ", v.header);
00229     s << indent << "x_error[]" << std::endl;
00230     for (size_t i = 0; i < v.x_error.size(); ++i)
00231     {
00232       s << indent << "  x_error[" << i << "]: ";
00233       Printer<double>::stream(s, indent + "  ", v.x_error[i]);
00234     }
00235     s << indent << "y_error[]" << std::endl;
00236     for (size_t i = 0; i < v.y_error.size(); ++i)
00237     {
00238       s << indent << "  y_error[" << i << "]: ";
00239       Printer<double>::stream(s, indent + "  ", v.y_error[i]);
00240     }
00241     s << indent << "x_feat_1[]" << std::endl;
00242     for (size_t i = 0; i < v.x_feat_1.size(); ++i)
00243     {
00244       s << indent << "  x_feat_1[" << i << "]: ";
00245       Printer<double>::stream(s, indent + "  ", v.x_feat_1[i]);
00246     }
00247     s << indent << "y_feat_1[]" << std::endl;
00248     for (size_t i = 0; i < v.y_feat_1.size(); ++i)
00249     {
00250       s << indent << "  y_feat_1[" << i << "]: ";
00251       Printer<double>::stream(s, indent + "  ", v.y_feat_1[i]);
00252     }
00253     s << indent << "x_feat_2[]" << std::endl;
00254     for (size_t i = 0; i < v.x_feat_2.size(); ++i)
00255     {
00256       s << indent << "  x_feat_2[" << i << "]: ";
00257       Printer<double>::stream(s, indent + "  ", v.x_feat_2[i]);
00258     }
00259     s << indent << "y_feat_2[]" << std::endl;
00260     for (size_t i = 0; i < v.y_feat_2.size(); ++i)
00261     {
00262       s << indent << "  y_feat_2[" << i << "]: ";
00263       Printer<double>::stream(s, indent + "  ", v.y_feat_2[i]);
00264     }
00265     s << indent << "focal: ";
00266     Printer<double>::stream(s, indent + "  ", v.focal);
00267     s << indent << "dt: ";
00268     Printer<double>::stream(s, indent + "  ", v.dt);
00269     s << indent << "im_height: ";
00270     Printer<double>::stream(s, indent + "  ", v.im_height);
00271     s << indent << "im_width: ";
00272     Printer<double>::stream(s, indent + "  ", v.im_width);
00273     s << indent << "time: ";
00274     Printer<double>::stream(s, indent + "  ", v.time);
00275   }
00276 };
00277 
00278 
00279 } // namespace message_operations
00280 } // namespace ros
00281 
00282 #endif // HRL_LIB_MESSAGE_VO_DATA_H
00283 


hrl_lib
Author(s): Cressel Anderson, Travis Deyle, Advait Jain, Hai Nguyen, Advisor: Prof. Charlie Kemp, Lab: Healthcare Robotics Lab at Georgia Tech
autogenerated on Wed Nov 27 2013 11:34:06