Go to the documentation of this file.00001
00002 #ifndef RE_SRVS_SERVICE_ADDWORLDMODELOBJECT_H
00003 #define RE_SRVS_SERVICE_ADDWORLDMODELOBJECT_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 "ros/service_traits.h"
00018
00019 #include "geometry_msgs/PoseStamped.h"
00020
00021
00022
00023 namespace re_srvs
00024 {
00025 template <class ContainerAllocator>
00026 struct AddWorldModelObjectRequest_ {
00027 typedef AddWorldModelObjectRequest_<ContainerAllocator> Type;
00028
00029 AddWorldModelObjectRequest_()
00030 : class_label()
00031 , pose()
00032 {
00033 }
00034
00035 AddWorldModelObjectRequest_(const ContainerAllocator& _alloc)
00036 : class_label(_alloc)
00037 , pose(_alloc)
00038 {
00039 }
00040
00041 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _class_label_type;
00042 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > class_label;
00043
00044 typedef ::geometry_msgs::PoseStamped_<ContainerAllocator> _pose_type;
00045 ::geometry_msgs::PoseStamped_<ContainerAllocator> pose;
00046
00047
00048 typedef boost::shared_ptr< ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> > Ptr;
00049 typedef boost::shared_ptr< ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> const> ConstPtr;
00050 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00051 };
00052 typedef ::re_srvs::AddWorldModelObjectRequest_<std::allocator<void> > AddWorldModelObjectRequest;
00053
00054 typedef boost::shared_ptr< ::re_srvs::AddWorldModelObjectRequest> AddWorldModelObjectRequestPtr;
00055 typedef boost::shared_ptr< ::re_srvs::AddWorldModelObjectRequest const> AddWorldModelObjectRequestConstPtr;
00056
00057
00058 template <class ContainerAllocator>
00059 struct AddWorldModelObjectResponse_ {
00060 typedef AddWorldModelObjectResponse_<ContainerAllocator> Type;
00061
00062 AddWorldModelObjectResponse_()
00063 : ID(0)
00064 {
00065 }
00066
00067 AddWorldModelObjectResponse_(const ContainerAllocator& _alloc)
00068 : ID(0)
00069 {
00070 }
00071
00072 typedef uint32_t _ID_type;
00073 uint32_t ID;
00074
00075
00076 typedef boost::shared_ptr< ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> > Ptr;
00077 typedef boost::shared_ptr< ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> const> ConstPtr;
00078 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00079 };
00080 typedef ::re_srvs::AddWorldModelObjectResponse_<std::allocator<void> > AddWorldModelObjectResponse;
00081
00082 typedef boost::shared_ptr< ::re_srvs::AddWorldModelObjectResponse> AddWorldModelObjectResponsePtr;
00083 typedef boost::shared_ptr< ::re_srvs::AddWorldModelObjectResponse const> AddWorldModelObjectResponseConstPtr;
00084
00085 struct AddWorldModelObject
00086 {
00087
00088 typedef AddWorldModelObjectRequest Request;
00089 typedef AddWorldModelObjectResponse Response;
00090 Request request;
00091 Response response;
00092
00093 typedef Request RequestType;
00094 typedef Response ResponseType;
00095 };
00096 }
00097
00098 namespace ros
00099 {
00100 namespace message_traits
00101 {
00102 template<class ContainerAllocator> struct IsMessage< ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> > : public TrueType {};
00103 template<class ContainerAllocator> struct IsMessage< ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> const> : public TrueType {};
00104 template<class ContainerAllocator>
00105 struct MD5Sum< ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> > {
00106 static const char* value()
00107 {
00108 return "399a32aaf4cf327390deb43aba853d9a";
00109 }
00110
00111 static const char* value(const ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> &) { return value(); }
00112 static const uint64_t static_value1 = 0x399a32aaf4cf3273ULL;
00113 static const uint64_t static_value2 = 0x90deb43aba853d9aULL;
00114 };
00115
00116 template<class ContainerAllocator>
00117 struct DataType< ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> > {
00118 static const char* value()
00119 {
00120 return "re_srvs/AddWorldModelObjectRequest";
00121 }
00122
00123 static const char* value(const ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> &) { return value(); }
00124 };
00125
00126 template<class ContainerAllocator>
00127 struct Definition< ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> > {
00128 static const char* value()
00129 {
00130 return "string class_label\n\
00131 geometry_msgs/PoseStamped pose\n\
00132 \n\
00133 ================================================================================\n\
00134 MSG: geometry_msgs/PoseStamped\n\
00135 # A Pose with reference coordinate frame and timestamp\n\
00136 Header header\n\
00137 Pose pose\n\
00138 \n\
00139 ================================================================================\n\
00140 MSG: std_msgs/Header\n\
00141 # Standard metadata for higher-level stamped data types.\n\
00142 # This is generally used to communicate timestamped data \n\
00143 # in a particular coordinate frame.\n\
00144 # \n\
00145 # sequence ID: consecutively increasing ID \n\
00146 uint32 seq\n\
00147 #Two-integer timestamp that is expressed as:\n\
00148 # * stamp.secs: seconds (stamp_secs) since epoch\n\
00149 # * stamp.nsecs: nanoseconds since stamp_secs\n\
00150 # time-handling sugar is provided by the client library\n\
00151 time stamp\n\
00152 #Frame this data is associated with\n\
00153 # 0: no frame\n\
00154 # 1: global frame\n\
00155 string frame_id\n\
00156 \n\
00157 ================================================================================\n\
00158 MSG: geometry_msgs/Pose\n\
00159 # A representation of pose in free space, composed of postion and orientation. \n\
00160 Point position\n\
00161 Quaternion orientation\n\
00162 \n\
00163 ================================================================================\n\
00164 MSG: geometry_msgs/Point\n\
00165 # This contains the position of a point in free space\n\
00166 float64 x\n\
00167 float64 y\n\
00168 float64 z\n\
00169 \n\
00170 ================================================================================\n\
00171 MSG: geometry_msgs/Quaternion\n\
00172 # This represents an orientation in free space in quaternion form.\n\
00173 \n\
00174 float64 x\n\
00175 float64 y\n\
00176 float64 z\n\
00177 float64 w\n\
00178 \n\
00179 ";
00180 }
00181
00182 static const char* value(const ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> &) { return value(); }
00183 };
00184
00185 }
00186 }
00187
00188
00189 namespace ros
00190 {
00191 namespace message_traits
00192 {
00193 template<class ContainerAllocator> struct IsMessage< ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> > : public TrueType {};
00194 template<class ContainerAllocator> struct IsMessage< ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> const> : public TrueType {};
00195 template<class ContainerAllocator>
00196 struct MD5Sum< ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> > {
00197 static const char* value()
00198 {
00199 return "2a52e1b267b1658389df7f773a4119c6";
00200 }
00201
00202 static const char* value(const ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> &) { return value(); }
00203 static const uint64_t static_value1 = 0x2a52e1b267b16583ULL;
00204 static const uint64_t static_value2 = 0x89df7f773a4119c6ULL;
00205 };
00206
00207 template<class ContainerAllocator>
00208 struct DataType< ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> > {
00209 static const char* value()
00210 {
00211 return "re_srvs/AddWorldModelObjectResponse";
00212 }
00213
00214 static const char* value(const ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> &) { return value(); }
00215 };
00216
00217 template<class ContainerAllocator>
00218 struct Definition< ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> > {
00219 static const char* value()
00220 {
00221 return "uint32 ID\n\
00222 \n\
00223 \n\
00224 ";
00225 }
00226
00227 static const char* value(const ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> &) { return value(); }
00228 };
00229
00230 template<class ContainerAllocator> struct IsFixedSize< ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> > : public TrueType {};
00231 }
00232 }
00233
00234 namespace ros
00235 {
00236 namespace serialization
00237 {
00238
00239 template<class ContainerAllocator> struct Serializer< ::re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> >
00240 {
00241 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00242 {
00243 stream.next(m.class_label);
00244 stream.next(m.pose);
00245 }
00246
00247 ROS_DECLARE_ALLINONE_SERIALIZER;
00248 };
00249 }
00250 }
00251
00252
00253 namespace ros
00254 {
00255 namespace serialization
00256 {
00257
00258 template<class ContainerAllocator> struct Serializer< ::re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> >
00259 {
00260 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00261 {
00262 stream.next(m.ID);
00263 }
00264
00265 ROS_DECLARE_ALLINONE_SERIALIZER;
00266 };
00267 }
00268 }
00269
00270 namespace ros
00271 {
00272 namespace service_traits
00273 {
00274 template<>
00275 struct MD5Sum<re_srvs::AddWorldModelObject> {
00276 static const char* value()
00277 {
00278 return "411afd1e2f89d68762aa3bff8f0f33f8";
00279 }
00280
00281 static const char* value(const re_srvs::AddWorldModelObject&) { return value(); }
00282 };
00283
00284 template<>
00285 struct DataType<re_srvs::AddWorldModelObject> {
00286 static const char* value()
00287 {
00288 return "re_srvs/AddWorldModelObject";
00289 }
00290
00291 static const char* value(const re_srvs::AddWorldModelObject&) { return value(); }
00292 };
00293
00294 template<class ContainerAllocator>
00295 struct MD5Sum<re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> > {
00296 static const char* value()
00297 {
00298 return "411afd1e2f89d68762aa3bff8f0f33f8";
00299 }
00300
00301 static const char* value(const re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> &) { return value(); }
00302 };
00303
00304 template<class ContainerAllocator>
00305 struct DataType<re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> > {
00306 static const char* value()
00307 {
00308 return "re_srvs/AddWorldModelObject";
00309 }
00310
00311 static const char* value(const re_srvs::AddWorldModelObjectRequest_<ContainerAllocator> &) { return value(); }
00312 };
00313
00314 template<class ContainerAllocator>
00315 struct MD5Sum<re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> > {
00316 static const char* value()
00317 {
00318 return "411afd1e2f89d68762aa3bff8f0f33f8";
00319 }
00320
00321 static const char* value(const re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> &) { return value(); }
00322 };
00323
00324 template<class ContainerAllocator>
00325 struct DataType<re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> > {
00326 static const char* value()
00327 {
00328 return "re_srvs/AddWorldModelObject";
00329 }
00330
00331 static const char* value(const re_srvs::AddWorldModelObjectResponse_<ContainerAllocator> &) { return value(); }
00332 };
00333
00334 }
00335 }
00336
00337 #endif // RE_SRVS_SERVICE_ADDWORLDMODELOBJECT_H
00338