SeenObject.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-roboearth/doc_stacks/2014-01-05_11-23-46.303839/roboearth/re_msgs/msg/SeenObject.msg */
00002 #ifndef RE_MSGS_MESSAGE_SEENOBJECT_H
00003 #define RE_MSGS_MESSAGE_SEENOBJECT_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/Pose.h"
00018 
00019 namespace re_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct SeenObject_ {
00023   typedef SeenObject_<ContainerAllocator> Type;
00024 
00025   SeenObject_()
00026   : stamp()
00027   , name()
00028   , pose()
00029   {
00030   }
00031 
00032   SeenObject_(const ContainerAllocator& _alloc)
00033   : stamp()
00034   , name(_alloc)
00035   , pose(_alloc)
00036   {
00037   }
00038 
00039   typedef ros::Time _stamp_type;
00040   ros::Time stamp;
00041 
00042   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _name_type;
00043   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  name;
00044 
00045   typedef  ::geometry_msgs::Pose_<ContainerAllocator>  _pose_type;
00046    ::geometry_msgs::Pose_<ContainerAllocator>  pose;
00047 
00048 
00049   typedef boost::shared_ptr< ::re_msgs::SeenObject_<ContainerAllocator> > Ptr;
00050   typedef boost::shared_ptr< ::re_msgs::SeenObject_<ContainerAllocator>  const> ConstPtr;
00051   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00052 }; // struct SeenObject
00053 typedef  ::re_msgs::SeenObject_<std::allocator<void> > SeenObject;
00054 
00055 typedef boost::shared_ptr< ::re_msgs::SeenObject> SeenObjectPtr;
00056 typedef boost::shared_ptr< ::re_msgs::SeenObject const> SeenObjectConstPtr;
00057 
00058 
00059 template<typename ContainerAllocator>
00060 std::ostream& operator<<(std::ostream& s, const  ::re_msgs::SeenObject_<ContainerAllocator> & v)
00061 {
00062   ros::message_operations::Printer< ::re_msgs::SeenObject_<ContainerAllocator> >::stream(s, "", v);
00063   return s;}
00064 
00065 } // namespace re_msgs
00066 
00067 namespace ros
00068 {
00069 namespace message_traits
00070 {
00071 template<class ContainerAllocator> struct IsMessage< ::re_msgs::SeenObject_<ContainerAllocator> > : public TrueType {};
00072 template<class ContainerAllocator> struct IsMessage< ::re_msgs::SeenObject_<ContainerAllocator>  const> : public TrueType {};
00073 template<class ContainerAllocator>
00074 struct MD5Sum< ::re_msgs::SeenObject_<ContainerAllocator> > {
00075   static const char* value() 
00076   {
00077     return "9d793db59f53f1c133df1a2136f9483a";
00078   }
00079 
00080   static const char* value(const  ::re_msgs::SeenObject_<ContainerAllocator> &) { return value(); } 
00081   static const uint64_t static_value1 = 0x9d793db59f53f1c1ULL;
00082   static const uint64_t static_value2 = 0x33df1a2136f9483aULL;
00083 };
00084 
00085 template<class ContainerAllocator>
00086 struct DataType< ::re_msgs::SeenObject_<ContainerAllocator> > {
00087   static const char* value() 
00088   {
00089     return "re_msgs/SeenObject";
00090   }
00091 
00092   static const char* value(const  ::re_msgs::SeenObject_<ContainerAllocator> &) { return value(); } 
00093 };
00094 
00095 template<class ContainerAllocator>
00096 struct Definition< ::re_msgs::SeenObject_<ContainerAllocator> > {
00097   static const char* value() 
00098   {
00099     return "#This represents a Object\n\
00100 time stamp\n\
00101 string name\n\
00102 geometry_msgs/Pose pose\n\
00103 \n\
00104 ================================================================================\n\
00105 MSG: geometry_msgs/Pose\n\
00106 # A representation of pose in free space, composed of postion and orientation. \n\
00107 Point position\n\
00108 Quaternion orientation\n\
00109 \n\
00110 ================================================================================\n\
00111 MSG: geometry_msgs/Point\n\
00112 # This contains the position of a point in free space\n\
00113 float64 x\n\
00114 float64 y\n\
00115 float64 z\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: geometry_msgs/Quaternion\n\
00119 # This represents an orientation in free space in quaternion form.\n\
00120 \n\
00121 float64 x\n\
00122 float64 y\n\
00123 float64 z\n\
00124 float64 w\n\
00125 \n\
00126 ";
00127   }
00128 
00129   static const char* value(const  ::re_msgs::SeenObject_<ContainerAllocator> &) { return value(); } 
00130 };
00131 
00132 } // namespace message_traits
00133 } // namespace ros
00134 
00135 namespace ros
00136 {
00137 namespace serialization
00138 {
00139 
00140 template<class ContainerAllocator> struct Serializer< ::re_msgs::SeenObject_<ContainerAllocator> >
00141 {
00142   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00143   {
00144     stream.next(m.stamp);
00145     stream.next(m.name);
00146     stream.next(m.pose);
00147   }
00148 
00149   ROS_DECLARE_ALLINONE_SERIALIZER;
00150 }; // struct SeenObject_
00151 } // namespace serialization
00152 } // namespace ros
00153 
00154 namespace ros
00155 {
00156 namespace message_operations
00157 {
00158 
00159 template<class ContainerAllocator>
00160 struct Printer< ::re_msgs::SeenObject_<ContainerAllocator> >
00161 {
00162   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::re_msgs::SeenObject_<ContainerAllocator> & v) 
00163   {
00164     s << indent << "stamp: ";
00165     Printer<ros::Time>::stream(s, indent + "  ", v.stamp);
00166     s << indent << "name: ";
00167     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.name);
00168     s << indent << "pose: ";
00169 s << std::endl;
00170     Printer< ::geometry_msgs::Pose_<ContainerAllocator> >::stream(s, indent + "  ", v.pose);
00171   }
00172 };
00173 
00174 
00175 } // namespace message_operations
00176 } // namespace ros
00177 
00178 #endif // RE_MSGS_MESSAGE_SEENOBJECT_H
00179 


re_msgs
Author(s): Alexander Perzylo
autogenerated on Sun Jan 5 2014 11:27:54