Go to the documentation of this file.00001
00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_CAMERAFOCUS_H
00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_CAMERAFOCUS_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/PointStamped.h"
00018
00019 namespace pr2_object_manipulation_msgs
00020 {
00021 template <class ContainerAllocator>
00022 struct CameraFocus_ {
00023 typedef CameraFocus_<ContainerAllocator> Type;
00024
00025 CameraFocus_()
00026 : focal_point()
00027 {
00028 }
00029
00030 CameraFocus_(const ContainerAllocator& _alloc)
00031 : focal_point(_alloc)
00032 {
00033 }
00034
00035 typedef ::geometry_msgs::PointStamped_<ContainerAllocator> _focal_point_type;
00036 ::geometry_msgs::PointStamped_<ContainerAllocator> focal_point;
00037
00038
00039 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > Ptr;
00040 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> const> ConstPtr;
00041 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00042 };
00043 typedef ::pr2_object_manipulation_msgs::CameraFocus_<std::allocator<void> > CameraFocus;
00044
00045 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::CameraFocus> CameraFocusPtr;
00046 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::CameraFocus const> CameraFocusConstPtr;
00047
00048
00049 template<typename ContainerAllocator>
00050 std::ostream& operator<<(std::ostream& s, const ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> & v)
00051 {
00052 ros::message_operations::Printer< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> >::stream(s, "", v);
00053 return s;}
00054
00055 }
00056
00057 namespace ros
00058 {
00059 namespace message_traits
00060 {
00061 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > : public TrueType {};
00062 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> const> : public TrueType {};
00063 template<class ContainerAllocator>
00064 struct MD5Sum< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > {
00065 static const char* value()
00066 {
00067 return "1f24a2adf05af0b5a976acfd3e0afc07";
00068 }
00069
00070 static const char* value(const ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> &) { return value(); }
00071 static const uint64_t static_value1 = 0x1f24a2adf05af0b5ULL;
00072 static const uint64_t static_value2 = 0xa976acfd3e0afc07ULL;
00073 };
00074
00075 template<class ContainerAllocator>
00076 struct DataType< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > {
00077 static const char* value()
00078 {
00079 return "pr2_object_manipulation_msgs/CameraFocus";
00080 }
00081
00082 static const char* value(const ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> &) { return value(); }
00083 };
00084
00085 template<class ContainerAllocator>
00086 struct Definition< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > {
00087 static const char* value()
00088 {
00089 return "# Requests that the RViz 3D camera be focused at this point\n\
00090 # still under construction\n\
00091 \n\
00092 geometry_msgs/PointStamped focal_point\n\
00093 ================================================================================\n\
00094 MSG: geometry_msgs/PointStamped\n\
00095 # This represents a Point with reference coordinate frame and timestamp\n\
00096 Header header\n\
00097 Point point\n\
00098 \n\
00099 ================================================================================\n\
00100 MSG: std_msgs/Header\n\
00101 # Standard metadata for higher-level stamped data types.\n\
00102 # This is generally used to communicate timestamped data \n\
00103 # in a particular coordinate frame.\n\
00104 # \n\
00105 # sequence ID: consecutively increasing ID \n\
00106 uint32 seq\n\
00107 #Two-integer timestamp that is expressed as:\n\
00108 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00109 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00110 # time-handling sugar is provided by the client library\n\
00111 time stamp\n\
00112 #Frame this data is associated with\n\
00113 # 0: no frame\n\
00114 # 1: global frame\n\
00115 string frame_id\n\
00116 \n\
00117 ================================================================================\n\
00118 MSG: geometry_msgs/Point\n\
00119 # This contains the position of a point in free space\n\
00120 float64 x\n\
00121 float64 y\n\
00122 float64 z\n\
00123 \n\
00124 ";
00125 }
00126
00127 static const char* value(const ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> &) { return value(); }
00128 };
00129
00130 }
00131 }
00132
00133 namespace ros
00134 {
00135 namespace serialization
00136 {
00137
00138 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> >
00139 {
00140 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00141 {
00142 stream.next(m.focal_point);
00143 }
00144
00145 ROS_DECLARE_ALLINONE_SERIALIZER;
00146 };
00147 }
00148 }
00149
00150 namespace ros
00151 {
00152 namespace message_operations
00153 {
00154
00155 template<class ContainerAllocator>
00156 struct Printer< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> >
00157 {
00158 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> & v)
00159 {
00160 s << indent << "focal_point: ";
00161 s << std::endl;
00162 Printer< ::geometry_msgs::PointStamped_<ContainerAllocator> >::stream(s, indent + " ", v.focal_point);
00163 }
00164 };
00165
00166
00167 }
00168 }
00169
00170 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_CAMERAFOCUS_H
00171