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