Go to the documentation of this file.00001
00002 #ifndef SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSETATTACHED_H
00003 #define SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSETATTACHED_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
00020
00021
00022 namespace srs_assisted_arm_navigation_msgs
00023 {
00024 template <class ContainerAllocator>
00025 struct ArmNavSetAttachedRequest_ {
00026 typedef ArmNavSetAttachedRequest_<ContainerAllocator> Type;
00027
00028 ArmNavSetAttachedRequest_()
00029 : object_name()
00030 , attached(false)
00031 {
00032 }
00033
00034 ArmNavSetAttachedRequest_(const ContainerAllocator& _alloc)
00035 : object_name(_alloc)
00036 , attached(false)
00037 {
00038 }
00039
00040 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _object_name_type;
00041 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > object_name;
00042
00043 typedef uint8_t _attached_type;
00044 uint8_t attached;
00045
00046
00047 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > Ptr;
00048 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> const> ConstPtr;
00049 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00050 };
00051 typedef ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<std::allocator<void> > ArmNavSetAttachedRequest;
00052
00053 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest> ArmNavSetAttachedRequestPtr;
00054 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest const> ArmNavSetAttachedRequestConstPtr;
00055
00056
00057
00058 template <class ContainerAllocator>
00059 struct ArmNavSetAttachedResponse_ {
00060 typedef ArmNavSetAttachedResponse_<ContainerAllocator> Type;
00061
00062 ArmNavSetAttachedResponse_()
00063 : completed(false)
00064 , msg()
00065 {
00066 }
00067
00068 ArmNavSetAttachedResponse_(const ContainerAllocator& _alloc)
00069 : completed(false)
00070 , msg(_alloc)
00071 {
00072 }
00073
00074 typedef uint8_t _completed_type;
00075 uint8_t completed;
00076
00077 typedef std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > _msg_type;
00078 std::basic_string<char, std::char_traits<char>, typename ContainerAllocator::template rebind<char>::other > msg;
00079
00080
00081 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > Ptr;
00082 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> const> ConstPtr;
00083 boost::shared_ptr<std::map<std::string, std::string> > __connection_header;
00084 };
00085 typedef ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<std::allocator<void> > ArmNavSetAttachedResponse;
00086
00087 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse> ArmNavSetAttachedResponsePtr;
00088 typedef boost::shared_ptr< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse const> ArmNavSetAttachedResponseConstPtr;
00089
00090
00091 struct ArmNavSetAttached
00092 {
00093
00094 typedef ArmNavSetAttachedRequest Request;
00095 typedef ArmNavSetAttachedResponse Response;
00096 Request request;
00097 Response response;
00098
00099 typedef Request RequestType;
00100 typedef Response ResponseType;
00101 };
00102 }
00103
00104 namespace ros
00105 {
00106 namespace message_traits
00107 {
00108 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > : public TrueType {};
00109 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> const> : public TrueType {};
00110 template<class ContainerAllocator>
00111 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > {
00112 static const char* value()
00113 {
00114 return "949ff577f796198bba988756d700222d";
00115 }
00116
00117 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> &) { return value(); }
00118 static const uint64_t static_value1 = 0x949ff577f796198bULL;
00119 static const uint64_t static_value2 = 0xba988756d700222dULL;
00120 };
00121
00122 template<class ContainerAllocator>
00123 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > {
00124 static const char* value()
00125 {
00126 return "srs_assisted_arm_navigation_msgs/ArmNavSetAttachedRequest";
00127 }
00128
00129 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> &) { return value(); }
00130 };
00131
00132 template<class ContainerAllocator>
00133 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > {
00134 static const char* value()
00135 {
00136 return "string object_name\n\
00137 bool attached\n\
00138 \n\
00139 ";
00140 }
00141
00142 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> &) { return value(); }
00143 };
00144
00145 }
00146 }
00147
00148
00149 namespace ros
00150 {
00151 namespace message_traits
00152 {
00153 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > : public TrueType {};
00154 template<class ContainerAllocator> struct IsMessage< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> const> : public TrueType {};
00155 template<class ContainerAllocator>
00156 struct MD5Sum< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > {
00157 static const char* value()
00158 {
00159 return "7de7f4695a268566c2ce9ae9e3a34e73";
00160 }
00161
00162 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> &) { return value(); }
00163 static const uint64_t static_value1 = 0x7de7f4695a268566ULL;
00164 static const uint64_t static_value2 = 0xc2ce9ae9e3a34e73ULL;
00165 };
00166
00167 template<class ContainerAllocator>
00168 struct DataType< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > {
00169 static const char* value()
00170 {
00171 return "srs_assisted_arm_navigation_msgs/ArmNavSetAttachedResponse";
00172 }
00173
00174 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> &) { return value(); }
00175 };
00176
00177 template<class ContainerAllocator>
00178 struct Definition< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > {
00179 static const char* value()
00180 {
00181 return "bool completed\n\
00182 string msg\n\
00183 \n\
00184 \n\
00185 ";
00186 }
00187
00188 static const char* value(const ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> &) { return value(); }
00189 };
00190
00191 }
00192 }
00193
00194 namespace ros
00195 {
00196 namespace serialization
00197 {
00198
00199 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> >
00200 {
00201 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00202 {
00203 stream.next(m.object_name);
00204 stream.next(m.attached);
00205 }
00206
00207 ROS_DECLARE_ALLINONE_SERIALIZER;
00208 };
00209 }
00210 }
00211
00212
00213 namespace ros
00214 {
00215 namespace serialization
00216 {
00217
00218 template<class ContainerAllocator> struct Serializer< ::srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> >
00219 {
00220 template<typename Stream, typename T> inline static void allInOne(Stream& stream, T m)
00221 {
00222 stream.next(m.completed);
00223 stream.next(m.msg);
00224 }
00225
00226 ROS_DECLARE_ALLINONE_SERIALIZER;
00227 };
00228 }
00229 }
00230
00231 namespace ros
00232 {
00233 namespace service_traits
00234 {
00235 template<>
00236 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavSetAttached> {
00237 static const char* value()
00238 {
00239 return "a032bb669ab7592b282ce054d7d2ea6d";
00240 }
00241
00242 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttached&) { return value(); }
00243 };
00244
00245 template<>
00246 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavSetAttached> {
00247 static const char* value()
00248 {
00249 return "srs_assisted_arm_navigation_msgs/ArmNavSetAttached";
00250 }
00251
00252 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttached&) { return value(); }
00253 };
00254
00255 template<class ContainerAllocator>
00256 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > {
00257 static const char* value()
00258 {
00259 return "a032bb669ab7592b282ce054d7d2ea6d";
00260 }
00261
00262 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> &) { return value(); }
00263 };
00264
00265 template<class ContainerAllocator>
00266 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> > {
00267 static const char* value()
00268 {
00269 return "srs_assisted_arm_navigation_msgs/ArmNavSetAttached";
00270 }
00271
00272 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttachedRequest_<ContainerAllocator> &) { return value(); }
00273 };
00274
00275 template<class ContainerAllocator>
00276 struct MD5Sum<srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > {
00277 static const char* value()
00278 {
00279 return "a032bb669ab7592b282ce054d7d2ea6d";
00280 }
00281
00282 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> &) { return value(); }
00283 };
00284
00285 template<class ContainerAllocator>
00286 struct DataType<srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> > {
00287 static const char* value()
00288 {
00289 return "srs_assisted_arm_navigation_msgs/ArmNavSetAttached";
00290 }
00291
00292 static const char* value(const srs_assisted_arm_navigation_msgs::ArmNavSetAttachedResponse_<ContainerAllocator> &) { return value(); }
00293 };
00294
00295 }
00296 }
00297
00298 #endif // SRS_ASSISTED_ARM_NAVIGATION_MSGS_SERVICE_ARMNAVSETATTACHED_H
00299