ImageClick.h
Go to the documentation of this file.
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-fuerte-pr2_object_manipulation/doc_stacks/2014-01-03_11-39-44.427894/pr2_object_manipulation/manipulation/pr2_object_manipulation_msgs/msg/ImageClick.msg */
00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMAGECLICK_H
00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMAGECLICK_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 "pr2_object_manipulation_msgs/Ray.h"
00018 
00019 namespace pr2_object_manipulation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct ImageClick_ {
00023   typedef ImageClick_<ContainerAllocator> Type;
00024 
00025   ImageClick_()
00026   : ray()
00027   , camera_frame_id()
00028   {
00029   }
00030 
00031   ImageClick_(const ContainerAllocator& _alloc)
00032   : ray(_alloc)
00033   , camera_frame_id(_alloc)
00034   {
00035   }
00036 
00037   typedef  ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator>  _ray_type;
00038    ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator>  ray;
00039 
00040   typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  _camera_frame_id_type;
00041   std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other >  camera_frame_id;
00042 
00043 
00044   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> > Ptr;
00045   typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator>  const> ConstPtr;
00046   boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00047 }; // struct ImageClick
00048 typedef  ::pr2_object_manipulation_msgs::ImageClick_<std::allocator<void> > ImageClick;
00049 
00050 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ImageClick> ImageClickPtr;
00051 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::ImageClick const> ImageClickConstPtr;
00052 
00053 
00054 template<typename ContainerAllocator>
00055 std::ostream& operator<<(std::ostream& s, const  ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> & v)
00056 {
00057   ros::message_operations::Printer< ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> >::stream(s, "", v);
00058   return s;}
00059 
00060 } // namespace pr2_object_manipulation_msgs
00061 
00062 namespace ros
00063 {
00064 namespace message_traits
00065 {
00066 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> > : public TrueType {};
00067 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator>  const> : public TrueType {};
00068 template<class ContainerAllocator>
00069 struct MD5Sum< ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> > {
00070   static const char* value() 
00071   {
00072     return "6549d856fa5d392f2ffbeaf0a2f80931";
00073   }
00074 
00075   static const char* value(const  ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> &) { return value(); } 
00076   static const uint64_t static_value1 = 0x6549d856fa5d392fULL;
00077   static const uint64_t static_value2 = 0x2ffbeaf0a2f80931ULL;
00078 };
00079 
00080 template<class ContainerAllocator>
00081 struct DataType< ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> > {
00082   static const char* value() 
00083   {
00084     return "pr2_object_manipulation_msgs/ImageClick";
00085   }
00086 
00087   static const char* value(const  ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> &) { return value(); } 
00088 };
00089 
00090 template<class ContainerAllocator>
00091 struct Definition< ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> > {
00092   static const char* value() 
00093   {
00094     return "# Info about a user click on an image\n\
00095 \n\
00096 # The ray in 3d space resulting from the click\n\
00097 Ray ray\n\
00098 \n\
00099 # The frame_if of the camera that the click was in\n\
00100 string camera_frame_id\n\
00101 ================================================================================\n\
00102 MSG: pr2_object_manipulation_msgs/Ray\n\
00103 # Represents a ray through space.\n\
00104 # Could probably move to a more general location\n\
00105 \n\
00106 Header header\n\
00107 \n\
00108 # the origin of the ray\n\
00109 geometry_msgs/Point origin\n\
00110 \n\
00111 # the direction of the ray\n\
00112 geometry_msgs/Vector3 direction\n\
00113 ================================================================================\n\
00114 MSG: std_msgs/Header\n\
00115 # Standard metadata for higher-level stamped data types.\n\
00116 # This is generally used to communicate timestamped data \n\
00117 # in a particular coordinate frame.\n\
00118 # \n\
00119 # sequence ID: consecutively increasing ID \n\
00120 uint32 seq\n\
00121 #Two-integer timestamp that is expressed as:\n\
00122 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00123 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00124 # time-handling sugar is provided by the client library\n\
00125 time stamp\n\
00126 #Frame this data is associated with\n\
00127 # 0: no frame\n\
00128 # 1: global frame\n\
00129 string frame_id\n\
00130 \n\
00131 ================================================================================\n\
00132 MSG: geometry_msgs/Point\n\
00133 # This contains the position of a point in free space\n\
00134 float64 x\n\
00135 float64 y\n\
00136 float64 z\n\
00137 \n\
00138 ================================================================================\n\
00139 MSG: geometry_msgs/Vector3\n\
00140 # This represents a vector in free space. \n\
00141 \n\
00142 float64 x\n\
00143 float64 y\n\
00144 float64 z\n\
00145 ";
00146   }
00147 
00148   static const char* value(const  ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> &) { return value(); } 
00149 };
00150 
00151 } // namespace message_traits
00152 } // namespace ros
00153 
00154 namespace ros
00155 {
00156 namespace serialization
00157 {
00158 
00159 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> >
00160 {
00161   template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00162   {
00163     stream.next(m.ray);
00164     stream.next(m.camera_frame_id);
00165   }
00166 
00167   ROS_DECLARE_ALLINONE_SERIALIZER;
00168 }; // struct ImageClick_
00169 } // namespace serialization
00170 } // namespace ros
00171 
00172 namespace ros
00173 {
00174 namespace message_operations
00175 {
00176 
00177 template<class ContainerAllocator>
00178 struct Printer< ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> >
00179 {
00180   template<typename Stream> static void stream(Stream& s, const std::string& indent, const  ::pr2_object_manipulation_msgs::ImageClick_<ContainerAllocator> & v) 
00181   {
00182     s << indent << "ray: ";
00183 s << std::endl;
00184     Printer< ::pr2_object_manipulation_msgs::Ray_<ContainerAllocator> >::stream(s, indent + "  ", v.ray);
00185     s << indent << "camera_frame_id: ";
00186     Printer<std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > >::stream(s, indent + "  ", v.camera_frame_id);
00187   }
00188 };
00189 
00190 
00191 } // namespace message_operations
00192 } // namespace ros
00193 
00194 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_IMAGECLICK_H
00195 


pr2_object_manipulation_msgs
Author(s): Matei Ciocarlie
autogenerated on Fri Jan 3 2014 11:59:13