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