$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/GetPoseResult.msg */ 00002 #ifndef PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_GETPOSERESULT_H 00003 #define PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_GETPOSERESULT_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/PoseStamped.h" 00018 00019 namespace pr2_object_manipulation_msgs 00020 { 00021 template <class ContainerAllocator> 00022 struct GetPoseResult_ { 00023 typedef GetPoseResult_<ContainerAllocator> Type; 00024 00025 GetPoseResult_() 00026 : pose() 00027 { 00028 } 00029 00030 GetPoseResult_(const ContainerAllocator& _alloc) 00031 : pose(_alloc) 00032 { 00033 } 00034 00035 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type; 00036 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose; 00037 00038 00039 private: 00040 static const char* __s_getDataType_() { return "pr2_object_manipulation_msgs/GetPoseResult"; } 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 "3f8930d968a3e84d471dff917bb1cdae"; } 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 "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00055 # the returned pose, assuming the user has clicked \"accept\"\n\ 00056 # if the user clicks \"cancel\" the action aborts\n\ 00057 geometry_msgs/PoseStamped pose\n\ 00058 \n\ 00059 \n\ 00060 ================================================================================\n\ 00061 MSG: geometry_msgs/PoseStamped\n\ 00062 # A Pose with reference coordinate frame and timestamp\n\ 00063 Header header\n\ 00064 Pose pose\n\ 00065 \n\ 00066 ================================================================================\n\ 00067 MSG: std_msgs/Header\n\ 00068 # Standard metadata for higher-level stamped data types.\n\ 00069 # This is generally used to communicate timestamped data \n\ 00070 # in a particular coordinate frame.\n\ 00071 # \n\ 00072 # sequence ID: consecutively increasing ID \n\ 00073 uint32 seq\n\ 00074 #Two-integer timestamp that is expressed as:\n\ 00075 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00076 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00077 # time-handling sugar is provided by the client library\n\ 00078 time stamp\n\ 00079 #Frame this data is associated with\n\ 00080 # 0: no frame\n\ 00081 # 1: global frame\n\ 00082 string frame_id\n\ 00083 \n\ 00084 ================================================================================\n\ 00085 MSG: geometry_msgs/Pose\n\ 00086 # A representation of pose in free space, composed of postion and orientation. \n\ 00087 Point position\n\ 00088 Quaternion orientation\n\ 00089 \n\ 00090 ================================================================================\n\ 00091 MSG: geometry_msgs/Point\n\ 00092 # This contains the position of a point in free space\n\ 00093 float64 x\n\ 00094 float64 y\n\ 00095 float64 z\n\ 00096 \n\ 00097 ================================================================================\n\ 00098 MSG: geometry_msgs/Quaternion\n\ 00099 # This represents an orientation in free space in quaternion form.\n\ 00100 \n\ 00101 float64 x\n\ 00102 float64 y\n\ 00103 float64 z\n\ 00104 float64 w\n\ 00105 \n\ 00106 "; } 00107 public: 00108 ROS_DEPRECATED static const std::string __s_getMessageDefinition() { return __s_getMessageDefinition_(); } 00109 00110 ROS_DEPRECATED const std::string __getMessageDefinition() const { return __s_getMessageDefinition_(); } 00111 00112 ROS_DEPRECATED virtual uint8_t *serialize(uint8_t *write_ptr, uint32_t seq) const 00113 { 00114 ros::serialization::OStream stream(write_ptr, 1000000000); 00115 ros::serialization::serialize(stream, pose); 00116 return stream.getData(); 00117 } 00118 00119 ROS_DEPRECATED virtual uint8_t *deserialize(uint8_t *read_ptr) 00120 { 00121 ros::serialization::IStream stream(read_ptr, 1000000000); 00122 ros::serialization::deserialize(stream, pose); 00123 return stream.getData(); 00124 } 00125 00126 ROS_DEPRECATED virtual uint32_t serializationLength() const 00127 { 00128 uint32_t size = 0; 00129 size += ros::serialization::serializationLength(pose); 00130 return size; 00131 } 00132 00133 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> > Ptr; 00134 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> const> ConstPtr; 00135 boost::shared_ptr<std::map<std::string, std::string> > __connection_header; 00136 }; // struct GetPoseResult 00137 typedef ::pr2_object_manipulation_msgs::GetPoseResult_<std::allocator<void> > GetPoseResult; 00138 00139 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetPoseResult> GetPoseResultPtr; 00140 typedef boost::shared_ptr< ::pr2_object_manipulation_msgs::GetPoseResult const> GetPoseResultConstPtr; 00141 00142 00143 template<typename ContainerAllocator> 00144 std::ostream& operator<<(std::ostream& s, const ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> & v) 00145 { 00146 ros::message_operations::Printer< ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> >::stream(s, "", v); 00147 return s;} 00148 00149 } // namespace pr2_object_manipulation_msgs 00150 00151 namespace ros 00152 { 00153 namespace message_traits 00154 { 00155 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> > : public TrueType {}; 00156 template<class ContainerAllocator> struct IsMessage< ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> const> : public TrueType {}; 00157 template<class ContainerAllocator> 00158 struct MD5Sum< ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> > { 00159 static const char* value() 00160 { 00161 return "3f8930d968a3e84d471dff917bb1cdae"; 00162 } 00163 00164 static const char* value(const ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> &) { return value(); } 00165 static const uint64_t static_value1 = 0x3f8930d968a3e84dULL; 00166 static const uint64_t static_value2 = 0x471dff917bb1cdaeULL; 00167 }; 00168 00169 template<class ContainerAllocator> 00170 struct DataType< ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> > { 00171 static const char* value() 00172 { 00173 return "pr2_object_manipulation_msgs/GetPoseResult"; 00174 } 00175 00176 static const char* value(const ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> &) { return value(); } 00177 }; 00178 00179 template<class ContainerAllocator> 00180 struct Definition< ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> > { 00181 static const char* value() 00182 { 00183 return "# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======\n\ 00184 # the returned pose, assuming the user has clicked \"accept\"\n\ 00185 # if the user clicks \"cancel\" the action aborts\n\ 00186 geometry_msgs/PoseStamped pose\n\ 00187 \n\ 00188 \n\ 00189 ================================================================================\n\ 00190 MSG: geometry_msgs/PoseStamped\n\ 00191 # A Pose with reference coordinate frame and timestamp\n\ 00192 Header header\n\ 00193 Pose pose\n\ 00194 \n\ 00195 ================================================================================\n\ 00196 MSG: std_msgs/Header\n\ 00197 # Standard metadata for higher-level stamped data types.\n\ 00198 # This is generally used to communicate timestamped data \n\ 00199 # in a particular coordinate frame.\n\ 00200 # \n\ 00201 # sequence ID: consecutively increasing ID \n\ 00202 uint32 seq\n\ 00203 #Two-integer timestamp that is expressed as:\n\ 00204 # * stamp.secs: seconds (stamp_secs) since epoch\n\ 00205 # * stamp.nsecs: nanoseconds since stamp_secs\n\ 00206 # time-handling sugar is provided by the client library\n\ 00207 time stamp\n\ 00208 #Frame this data is associated with\n\ 00209 # 0: no frame\n\ 00210 # 1: global frame\n\ 00211 string frame_id\n\ 00212 \n\ 00213 ================================================================================\n\ 00214 MSG: geometry_msgs/Pose\n\ 00215 # A representation of pose in free space, composed of postion and orientation. \n\ 00216 Point position\n\ 00217 Quaternion orientation\n\ 00218 \n\ 00219 ================================================================================\n\ 00220 MSG: geometry_msgs/Point\n\ 00221 # This contains the position of a point in free space\n\ 00222 float64 x\n\ 00223 float64 y\n\ 00224 float64 z\n\ 00225 \n\ 00226 ================================================================================\n\ 00227 MSG: geometry_msgs/Quaternion\n\ 00228 # This represents an orientation in free space in quaternion form.\n\ 00229 \n\ 00230 float64 x\n\ 00231 float64 y\n\ 00232 float64 z\n\ 00233 float64 w\n\ 00234 \n\ 00235 "; 00236 } 00237 00238 static const char* value(const ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> &) { return value(); } 00239 }; 00240 00241 } // namespace message_traits 00242 } // namespace ros 00243 00244 namespace ros 00245 { 00246 namespace serialization 00247 { 00248 00249 template<class ContainerAllocator> struct Serializer< ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> > 00250 { 00251 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m) 00252 { 00253 stream.next(m.pose); 00254 } 00255 00256 ROS_DECLARE_ALLINONE_SERIALIZER; 00257 }; // struct GetPoseResult_ 00258 } // namespace serialization 00259 } // namespace ros 00260 00261 namespace ros 00262 { 00263 namespace message_operations 00264 { 00265 00266 template<class ContainerAllocator> 00267 struct Printer< ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> > 00268 { 00269 template<typename Stream> static void stream(Stream& s, const std::string& indent, const ::pr2_object_manipulation_msgs::GetPoseResult_<ContainerAllocator> & v) 00270 { 00271 s << indent << "pose: "; 00272 s << std::endl; 00273 Printer< ::geometry_msgs::PoseStamped_<ContainerAllocator> >::stream(s, indent + " ", v.pose); 00274 } 00275 }; 00276 00277 00278 } // namespace message_operations 00279 } // namespace ros 00280 00281 #endif // PR2_OBJECT_MANIPULATION_MSGS_MESSAGE_GETPOSERESULT_H 00282