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