$search
00001 /* Auto-generated by genmsg_cpp for file /home/rosbuild/hudson/workspace/doc-electric-pr2_object_manipulation/doc_stacks/2013-03-05_12-10-38.333207/pr2_object_manipulation/manipulation/pr2_object_manipulation_msgs/msg/CameraFocus.msg */ 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 private: 00040 static const char* __s_getDataType_() { return "pr2_object_manipulation_msgs/CameraFocus"; } 00041 public: 00042 ROS_DEPRECATED static const std::string __s_getDataType() { return __s_getDataType_(); } 00043 00044 ROS_DEPRECATED const std::string __getDataType() const { return __s_getDataType_(); } 00045 00046 private: 00047 static const char* __s_getMD5Sum_() { return "1f24a2adf05af0b5a976acfd3e0afc07"; } 00048 public: 00049 ROS_DEPRECATED static const std::string __s_getMD5Sum() { return __s_getMD5Sum_(); } 00050 00051 ROS_DEPRECATED const std::string __getMD5Sum() const { return __s_getMD5Sum_(); } 00052 00053 private: 00054 static const char* __s_getMessageDefinition_() { return "# Requests that the RViz 3D camera be focused at this point\n\ 00055 # still under construction\n\ 00056 \n\ 00057 geometry_msgs/PointStamped focal_point\n\ 00058 ================================================================================\n\ 00059 MSG: geometry_msgs/PointStamped\n\ 00060 # This represents a Point with reference coordinate frame and timestamp\n\ 00061 Header header\n\ 00062 Point point\n\ 00063 \n\ 00064 ================================================================================\n\ 00065 MSG: std_msgs/Header\n\ 00066 # Standard metadata for higher-level stamped data types.\n\ 00067 # This is generally used to communicate timestamped data \n\ 00068 # in a particular coordinate frame.\n\ 00069 # \n\ 00070 # sequence ID: consecutively increasing ID \n\ 00071 uint32 seq\n\ 00072 #Two-integer timestamp that is expressed as:\n\ 00073 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00074 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00075 # time-handling sugar is provided by the client library\n\ 00076 time stamp\n\ 00077 #Frame this data is associated with\n\ 00078 # 0: no frame\n\ 00079 # 1: global frame\n\ 00080 string frame_id\n\ 00081 \n\ 00082 ================================================================================\n\ 00083 MSG: geometry_msgs/Point\n\ 00084 # This contains the position of a point in free space\n\ 00085 float64 x\n\ 00086 float64 y\n\ 00087 float64 z\n\ 00088 \n\ 00089 "; } 00090 public: 00091 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00092 00093 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00094 00095 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00096 { 00097 ros::serialization::OStream stream(write_ptr, 1000000000); 00098 ros::serialization::serialize(stream, focal_point); 00099 return stream.getData(); 00100 } 00101 00102 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00103 { 00104 ros::serialization::IStream stream(read_ptr, 1000000000); 00105 ros::serialization::deserialize(stream, focal_point); 00106 return stream.getData(); 00107 } 00108 00109 ROS_DEPRECATED virtual uint32_t serializationLength() const 00110 { 00111 uint32_t size = 0; 00112 size += ros::serialization::serializationLength(focal_point); 00113 return size; 00114 } 00115 00116 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > Ptr; 00117 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> const> ConstPtr; 00118 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00119 }; // struct CameraFocus 00120 typedef ::pr2_object_manipulation_msgs::CameraFocus_<std::allocator<void> > CameraFocus; 00121 00122 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::CameraFocus> CameraFocusPtr; 00123 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::CameraFocus const> CameraFocusConstPtr; 00124 00125 00126 template<typename ContainerAllocator> 00127 std::ostream& operator<<(std::ostream& s, const ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> & v) 00128 { 00129 ros::message_operations::Printer< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> >::stream(s, "", v); 00130 return s;} 00131 00132 } // namespace pr2_object_manipulation_msgs 00133 00134 namespace ros 00135 { 00136 namespace message_traits 00137 { 00138 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > : public TrueType {}; 00139 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> const> : public TrueType {}; 00140 template<class ContainerAllocator> 00141 struct MD5Sum< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > { 00142 static const char* value() 00143 { 00144 return "1f24a2adf05af0b5a976acfd3e0afc07"; 00145 } 00146 00147 static const char* value(const ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> &) { return value(); } 00148 static const uint64_t static_value1 = 0x1f24a2adf05af0b5ULL; 00149 static const uint64_t static_value2 = 0xa976acfd3e0afc07ULL; 00150 }; 00151 00152 template<class ContainerAllocator> 00153 struct DataType< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > { 00154 static const char* value() 00155 { 00156 return "pr2_object_manipulation_msgs/CameraFocus"; 00157 } 00158 00159 static const char* value(const ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> &) { return value(); } 00160 }; 00161 00162 template<class ContainerAllocator> 00163 struct Definition< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > { 00164 static const char* value() 00165 { 00166 return "# Requests that the RViz 3D camera be focused at this point\n\ 00167 # still under construction\n\ 00168 \n\ 00169 geometry_msgs/PointStamped focal_point\n\ 00170 ================================================================================\n\ 00171 MSG: geometry_msgs/PointStamped\n\ 00172 # This represents a Point with reference coordinate frame and timestamp\n\ 00173 Header header\n\ 00174 Point point\n\ 00175 \n\ 00176 ================================================================================\n\ 00177 MSG: std_msgs/Header\n\ 00178 # Standard metadata for higher-level stamped data types.\n\ 00179 # This is generally used to communicate timestamped data \n\ 00180 # in a particular coordinate frame.\n\ 00181 # \n\ 00182 # sequence ID: consecutively increasing ID \n\ 00183 uint32 seq\n\ 00184 #Two-integer timestamp that is expressed as:\n\ 00185 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00186 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00187 # time-handling sugar is provided by the client library\n\ 00188 time stamp\n\ 00189 #Frame this data is associated with\n\ 00190 # 0: no frame\n\ 00191 # 1: global frame\n\ 00192 string frame_id\n\ 00193 \n\ 00194 ================================================================================\n\ 00195 MSG: geometry_msgs/Point\n\ 00196 # This contains the position of a point in free space\n\ 00197 float64 x\n\ 00198 float64 y\n\ 00199 float64 z\n\ 00200 \n\ 00201 "; 00202 } 00203 00204 static const char* value(const ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> &) { return value(); } 00205 }; 00206 00207 } // namespace message_traits 00208 } // namespace ros 00209 00210 namespace ros 00211 { 00212 namespace serialization 00213 { 00214 00215 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > 00216 { 00217 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00218 { 00219 stream.next(m.focal_point); 00220 } 00221 00222 ROS_DECLARE_ALLINONE_SERIALIZER; 00223 }; // struct CameraFocus_ 00224 } // namespace serialization 00225 } // namespace ros 00226 00227 namespace ros 00228 { 00229 namespace message_operations 00230 { 00231 00232 template<class ContainerAllocator> 00233 struct Printer< ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> > 00234 { 00235 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_object_manipulation_msgs::CameraFocus_<ContainerAllocator> & v) 00236 { 00237 s << indent << "focal_point: "; 00238 s << std::endl; 00239 Printer< ::geometry_msgs::PointStamped_<ContainerAllocator> >::stream(s, indent + " ", v.focal_point); 00240 } 00241 }; 00242 00243 00244 } // namespace message_operations 00245 } // namespace ros 00246 00247 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_CAMERAFOCUS_H 00248