PrologReturn.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-ias_common/doc_stacks/2014-01-02_11-18-36.813960/ias_common/ias_table_msgs/msg/PrologReturn.msg */
00002 #ifndef IAS_TABLE_MSGS_MESSAGE_PROLOGRETURN_H
00003 #define IAS_TABLE_MSGS_MESSAGE_PROLOGRETURN_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 "geometry_msgs/Point32.h"
00018 #include "geometry_msgs/Point32.h"
00019 
00020 namespace ias_table_msgs
00021 {
00022 template <class ContainerAllocator>
00023 struct PrologReturn_ {
00024   typedef PrologReturn_<ContainerAllocator> Type;
00025 
00026   PrologReturn_()
00027   : table_id(0)
00028   , coeff()
00029   , table_center()
00030   , stamp()
00031   , object_center()
00032   , object_id(0)
00033   , object_type()
00034   , object_color()
00035   , object_geometric_type()
00036   , perception_method()
00037   , sensor_type()
00038   , lo_id(0)
00039   , object_cop_id(0)
00040   {
00041   }
00042 
00043   PrologReturn_(const ContainerAllocator& _alloc)
00044   : table_id(0)
00045   , coeff(_alloc)
00046   , table_center(_alloc)
00047   , stamp()
00048   , object_center(_alloc)
00049   , object_id(0)
00050   , object_type(_alloc)
00051   , object_color(_alloc)
00052   , object_geometric_type(_alloc)
00053   , perception_method(_alloc)
00054   , sensor_type(_alloc)
00055   , lo_id(0)
00056   , object_cop_id(0)
00057   {
00058   }
00059 
00060   typedef uint64_t _table_id_type;
00061   uint64_t table_id;
00062 
00063   typedef std::vector<double, typename ContainerAllocator::template rebind<double>::other >  _coeff_type;
00064   std::vector<double, typename ContainerAllocator::template rebind<double>::other >  coeff;
00065 
00066   typedef  ::geometry_msgs::Point32_<ContainerAllocator>  _table_center_type;
00067    ::geometry_msgs::Point32_<ContainerAllocator>  table_center;
00068 
00069   typedef ros::Time _stamp_type;
00070   ros::Time stamp;
00071 
00072   typedef  ::geometry_msgs::Point32_<ContainerAllocator>  _object_center_type;
00073    ::geometry_msgs::Point32_<ContainerAllocator>  object_center;
00074 
00075   typedef uint64_t _object_id_type;
00076   uint64_t object_id;
00077 
00078   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _object_type_type;
00079   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  object_type;
00080 
00081   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _object_color_type;
00082   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  object_color;
00083 
00084   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _object_geometric_type_type;
00085   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  object_geometric_type;
00086 
00087   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _perception_method_type;
00088   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  perception_method;
00089 
00090   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _sensor_type_type;
00091   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  sensor_type;
00092 
00093   typedef uint64_t _lo_id_type;
00094   uint64_t lo_id;
00095 
00096   typedef uint64_t _object_cop_id_type;
00097   uint64_t object_cop_id;
00098 
00099 
00100   typedef boost::shared_ptr< ::ias_table_msgs::PrologReturn_<ContainerAllocator> > Ptr;
00101   typedef boost::shared_ptr< ::ias_table_msgs::PrologReturn_<ContainerAllocator>  const> ConstPtr;
00102   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00103 }; // struct PrologReturn
00104 typedef  ::ias_table_msgs::PrologReturn_<std::allocator<void> > PrologReturn;
00105 
00106 typedef boost::shared_ptr< ::ias_table_msgs::PrologReturn> PrologReturnPtr;
00107 typedef boost::shared_ptr< ::ias_table_msgs::PrologReturn const> PrologReturnConstPtr;
00108 
00109 
00110 template<typename ContainerAllocator>
00111 std::ostream& operator<<(std::ostream& s, const  ::ias_table_msgs::PrologReturn_<ContainerAllocator> & v)
00112 {
00113   ros::message_operations::Printer< ::ias_table_msgs::PrologReturn_<ContainerAllocator> >::stream(s, "", v);
00114   return s;}
00115 
00116 } // namespace ias_table_msgs
00117 
00118 namespace ros
00119 {
00120 namespace message_traits
00121 {
00122 template<class ContainerAllocator> struct IsMessage< ::ias_table_msgs::PrologReturn_<ContainerAllocator> > : public TrueType {};
00123 template<class ContainerAllocator> struct IsMessage< ::ias_table_msgs::PrologReturn_<ContainerAllocator>  const> : public TrueType {};
00124 template<class ContainerAllocator>
00125 struct MD5Sum< ::ias_table_msgs::PrologReturn_<ContainerAllocator> > {
00126   static const char* value() 
00127   {
00128     return "36ba6a953c3efbbc3b8ac3da98942c78";
00129   }
00130 
00131   static const char* value(const  ::ias_table_msgs::PrologReturn_<ContainerAllocator> &) { return value(); } 
00132   static const uint64_t static_value1 = 0x36ba6a953c3efbbcULL;
00133   static const uint64_t static_value2 = 0x3b8ac3da98942c78ULL;
00134 };
00135 
00136 template<class ContainerAllocator>
00137 struct DataType< ::ias_table_msgs::PrologReturn_<ContainerAllocator> > {
00138   static const char* value() 
00139   {
00140     return "ias_table_msgs/PrologReturn";
00141   }
00142 
00143   static const char* value(const  ::ias_table_msgs::PrologReturn_<ContainerAllocator> &) { return value(); } 
00144 };
00145 
00146 template<class ContainerAllocator>
00147 struct Definition< ::ias_table_msgs::PrologReturn_<ContainerAllocator> > {
00148   static const char* value() 
00149   {
00150     return "uint64 table_id\n\
00151 float64[] coeff\n\
00152 geometry_msgs/Point32 table_center\n\
00153 time stamp\n\
00154 geometry_msgs/Point32 object_center\n\
00155 uint64 object_id\n\
00156 string object_type\n\
00157 string object_color\n\
00158 string object_geometric_type\n\
00159 string perception_method\n\
00160 string sensor_type\n\
00161 uint64 lo_id\n\
00162 uint64 object_cop_id\n\
00163 ================================================================================\n\
00164 MSG: geometry_msgs/Point32\n\
00165 # This contains the position of a point in free space(with 32 bits of precision).\n\
00166 # It is recommeded to use Point wherever possible instead of Point32.  \n\
00167 # \n\
00168 # This recommendation is to promote interoperability.  \n\
00169 #\n\
00170 # This message is designed to take up less space when sending\n\
00171 # lots of points at once, as in the case of a PointCloud.  \n\
00172 \n\
00173 float32 x\n\
00174 float32 y\n\
00175 float32 z\n\
00176 ";
00177   }
00178 
00179   static const char* value(const  ::ias_table_msgs::PrologReturn_<ContainerAllocator> &) { return value(); } 
00180 };
00181 
00182 } // namespace message_traits
00183 } // namespace ros
00184 
00185 namespace ros
00186 {
00187 namespace serialization
00188 {
00189 
00190 template<class ContainerAllocator> struct Serializer< ::ias_table_msgs::PrologReturn_<ContainerAllocator> >
00191 {
00192   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00193   {
00194     stream.next(m.table_id);
00195     stream.next(m.coeff);
00196     stream.next(m.table_center);
00197     stream.next(m.stamp);
00198     stream.next(m.object_center);
00199     stream.next(m.object_id);
00200     stream.next(m.object_type);
00201     stream.next(m.object_color);
00202     stream.next(m.object_geometric_type);
00203     stream.next(m.perception_method);
00204     stream.next(m.sensor_type);
00205     stream.next(m.lo_id);
00206     stream.next(m.object_cop_id);
00207   }
00208 
00209   ROS_DECLARE_ALLINONE_SERIALIZER;
00210 }; // struct PrologReturn_
00211 } // namespace serialization
00212 } // namespace ros
00213 
00214 namespace ros
00215 {
00216 namespace message_operations
00217 {
00218 
00219 template<class ContainerAllocator>
00220 struct Printer< ::ias_table_msgs::PrologReturn_<ContainerAllocator> >
00221 {
00222   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::ias_table_msgs::PrologReturn_<ContainerAllocator> & v) 
00223   {
00224     s << indent << "table_id: ";
00225     Printer<uint64_t>::stream(s, indent + "  ", v.table_id);
00226     s << indent << "coeff[]" << std::endl;
00227     for (size_t i = 0; i < v.coeff.size(); ++i)
00228     {
00229       s << indent << "  coeff[" << i << "]: ";
00230       Printer<double>::stream(s, indent + "  ", v.coeff[i]);
00231     }
00232     s << indent << "table_center: ";
00233 s << std::endl;
00234     Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + "  ", v.table_center);
00235     s << indent << "stamp: ";
00236     Printer<ros::Time>::stream(s, indent + "  ", v.stamp);
00237     s << indent << "object_center: ";
00238 s << std::endl;
00239     Printer< ::geometry_msgs::Point32_<ContainerAllocator> >::stream(s, indent + "  ", v.object_center);
00240     s << indent << "object_id: ";
00241     Printer<uint64_t>::stream(s, indent + "  ", v.object_id);
00242     s << indent << "object_type: ";
00243     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.object_type);
00244     s << indent << "object_color: ";
00245     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.object_color);
00246     s << indent << "object_geometric_type: ";
00247     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.object_geometric_type);
00248     s << indent << "perception_method: ";
00249     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.perception_method);
00250     s << indent << "sensor_type: ";
00251     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.sensor_type);
00252     s << indent << "lo_id: ";
00253     Printer<uint64_t>::stream(s, indent + "  ", v.lo_id);
00254     s << indent << "object_cop_id: ";
00255     Printer<uint64_t>::stream(s, indent + "  ", v.object_cop_id);
00256   }
00257 };
00258 
00259 
00260 } // namespace message_operations
00261 } // namespace ros
00262 
00263 #endif // IAS_TABLE_MSGS_MESSAGE_PROLOGRETURN_H
00264 


ias_table_msgs
Author(s):
autogenerated on Thu Jan 2 2014 11:22:09